forked from PriyaGhosal/BuddyTrail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
68 lines (63 loc) · 2.57 KB
/
login.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Login</title>
<link rel="stylesheet" href="/style.css" />
<link rel="stylesheet" href="login.css" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
</head>
<body>
<header class="main-head">
<nav>
<h1 id="logo">BuddyTrail</h1>
<ul>
<li><a href="#locations" class='navhover'>Location</a></li>
<li><a href="#itineraries" class='navhover'>Travel Itineraries</a></li>
<li><a href="#reviews" class='navhover'>Reviews</a></li>
<li><a href="#benefits" class='navhover'>Benefits</a></li>
<li><a href="#contact" class='navhover'>Contact</a></li>
<li><a href="signIn.html" class='navhover'>Sign In</a></li>
</ul>
<!-- Toggle Button -->
<button class="mode-toggle" id="modeToggle">
<span class="sun-icon glow">☀️</span>
</button>
</nav>
</header>
<div class="container">
<div class="login-box">
<h2>Login</h2>
<!-- Google Login Option -->
<div class="google-login">
<a class="google-btn">
<img src="img/googleLogo.png" alt="Google Logo" />
Continue with Google
</a>
</div>
<p>Or login using your email:</p>
<form id="loginForm" action="book.html" method="POST">
<div class="input-field">
<label for="email">Email:</label>
<input type="email" id="email" name="email" required />
</div>
<div class="input-field">
<label for="password">Password:</label>
<input type="password" id="password" name="password" required />
</div>
<div class="input-field">
<button type="submit">Continue</button>
</div>
</form>
<div class="signUp-link">
<p>Don't have an account? <a href="signUp.html">Sign up</a></p>
</div>
</div>
</div>
<!-- Include Firebase SDKs before your custom script -->
<script src="https://www.gstatic.com/firebasejs/9.18.0/firebase-app-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.18.0/firebase-auth-compat.js"></script>
<script src="firebase.js"></script>
</body>
</html>