Created
September 28, 2021 09:04
-
-
Save hieptl/0f54996519f28a331dd7d3bf631dbcf9 to your computer and use it in GitHub Desktop.
login.html - Tinder Clone
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Login</title> | |
<link rel="stylesheet" href="/css/styles.css" /> | |
<script | |
defer | |
src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js" | |
></script> | |
<script | |
defer | |
type="text/javascript" | |
src="https://unpkg.com/@cometchat-pro/[email protected]/CometChat.js" | |
></script> | |
</head> | |
<body> | |
<div class="login__container"> | |
<div class="login__welcome"> | |
<div class="login__logo"> | |
<img src="../img/logo.svg" alt="Tinder Clone" /> | |
</div> | |
<p>Tinder Clone with CometChat JS SDK</p> | |
</div> | |
<div class="login__form-container"> | |
<div class="login__form"> | |
<input type="text" placeholder="Email" id="login__email" /> | |
<input type="password" placeholder="Password" id="login__password" /> | |
<button class="login__submit-btn" id="login__submit-btn"> | |
Login | |
</button> | |
<span class="login__forgot-password">Forgot password?</span> | |
<span class="login__signup" id="login__create-account-btn" | |
>Create New Account</span | |
> | |
</div> | |
</div> | |
</div> | |
<div id="signup" class="signup signup--hide"> | |
<div class="signup__content"> | |
<div class="signup__container"> | |
<div class="signup__title">Sign Up</div> | |
<div class="signup__close"> | |
<img | |
id="signup__close-btn" | |
alt="close" | |
src="https://static.xx.fbcdn.net/rsrc.php/v3/y2/r/__geKiQnSG-.png" | |
/> | |
</div> | |
</div> | |
<div class="signup__subtitle"></div> | |
<div class="signup__form"> | |
<div class="signup__avatar-container"> | |
<img | |
src="" | |
alt="selected avatar" | |
id="signup__selected-avatar" | |
class="hide" | |
/> | |
<img | |
src="https://static.xx.fbcdn.net/rsrc.php/v3/y2/r/__geKiQnSG-.png" | |
id="signup__avatar-close" | |
class="hide" | |
/> | |
</div> | |
<label for="signup__avatar" id="signup__avatar-label" | |
>Choose Avatar</label | |
> | |
<input | |
type="file" | |
id="signup__avatar" | |
name="avatar" | |
class="hide" | |
onchange="onAvatarSelected(this)" | |
/> | |
<input type="text" placeholder="Email" id="signup__email" /> | |
<input type="password" placeholder="Password" id="signup__password" /> | |
<input | |
type="password" | |
placeholder="Confirm Password" | |
id="signup__confirm-password" | |
/> | |
<input type="text" placeholder="Full Name" id="signup__fullname" /> | |
<input type="text" placeholder="Age" id="signup__age" /> | |
<select id="signup__gender"> | |
<option selected>Male</option> | |
<option>Female</option> | |
</select> | |
<button class="signup__btn" id="signup__btn">Sign Up</button> | |
</div> | |
</div> | |
</div> | |
<div id="loading" class="loading"> | |
<div class="lds-roller"> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
</div> | |
</div> | |
<script | |
src="https://cdnjs.cloudflare.com/ajax/libs/uuid/8.3.2/uuid.min.js" | |
integrity="sha512-UNM1njAgOFUa74Z0bADwAq8gbTcqZC8Ej4xPSzpnh0l6KMevwvkBvbldF9uR++qKeJ+MOZHRjV1HZjoRvjDfNQ==" | |
crossorigin="anonymous" | |
referrerpolicy="no-referrer" | |
></script> | |
<script | |
src="https://cdnjs.cloudflare.com/ajax/libs/validator/13.6.0/validator.min.js" | |
integrity="sha512-xYHcfaQeUiKHs9YsHqjpyLaHnh+q7y8kYuOGdh5FkJeK7Z+dZct7Yoa7h+PtsrKRh03t8eJZuSeCN7b0dkrFwA==" | |
crossorigin="anonymous" | |
referrerpolicy="no-referrer" | |
></script> | |
<script src="/js/config.js"></script> | |
<script src="/js/auth.js"></script> | |
<script src="/js/util.js"></script> | |
<script src="/js/login.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment