forked from NoroffFEU/css-frameworks-ca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
170 lines (165 loc) · 10.6 KB
/
index.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<link rel="stylesheet" href="dist/css/index.css">
<script defer type="module" src="js/index.js"></script>
<title>ConnectSphere - Authorization</title>
</head>
<body>
<header class="fixed-top">
<nav class="navbar navbar-expand-lg bg-primary z-3" data-bs-theme="dark">
<div class="container-fluid">
<a class="navbar-brand navbar-brand-custom position-absolute text-wrap" href="#"> <img
src="images/ConnectSphere logo.png" alt="Logo" width="64" height="64"
class="d-inlince-block align-text-center">ConnectSphere</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav justify-content-center mx-auto my-2 my-lg-0">
<li class="nav-item px-lg-2">
<a class="nav-link" href="profile/index.html">Profile</a>
</li>
<li class="nav-item px-lg-2">
<a class="nav-link" href="feed/index.html">Feed</a>
</li>
<li class="nav-item px-lg-2">
<a class="nav-link" href="#">Logout</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main>
<div class="container-fluid d-flex justify-content-center">
<div class="card bg-white rounded-3 flex-grow-1 flex-sm-grow-0 card-custom">
<div class="card-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="authTab" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link active" id="signIn-tab" data-bs-toggle="tab"
data-bs-target="#signIn" type="button" role="tab" aria-controls="signIn"
aria-selected="true">Sign In</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link fw-medium" id="signUp-tab" data-bs-toggle="tab"
data-bs-target="#signUp" type="button" role="tab" aria-controls="signUp"
aria-selected="false">Sign Up</button>
</li>
</ul>
<!-- Tab panes -->
<!-- Login pane -->
<div class="tab-content">
<div class="tab-pane fade show active" id="signIn" role="tabpanel"
aria-labelledby="signIn-tab">
<form id="signInForm" class="needs-validation d-flex flex-column gap-3" novalidate>
<h2 class="fw-semibold">
<p class="h1">Sign in to your account</p>
</h2>
<div class="form-floating mb-3">
<input type="email" class="form-control" id="Email"
placeholder="name@example.com" aria-describedby="emailHelp" required>
<label for="Email" class="form-label">Email</label>
<div class="invalid-feedback">
Please enter a valid email address
</div>
</div>
<div class="form-floating mb-3">
<input type="password" class="form-control" id="Password" placeholder="password"
minlength="8" required>
<label for="Password" class="form-label">Password</label>
<div class="invalid-feedback">
Please enter your password with at least 8 characters
</div>
</div>
<div class="form-check-container d-flex">
<div class="mb-3 form-check">
<input type="checkbox" class="form-check-input" id="rememberme">
<label class="form-check-label" for="rememberme">Remember me</label>
</div>
<div class="mb-3 ms-3">
<a href="#" class="btn-link">Forgot password?</a>
</div>
</div>
<div class="mb-3">
<button type="submit" class="btn btn-custom w-100" id="signInButton">Sign
in</button>
</div>
<div class="mb-3">
<p>Don’t have an account yet?</p>
<a href="profile/index.html" class="btn-link" id="signUpLink">Sign up</a>
</div>
</form>
</div>
<!-- Sign up tab -->
<div class="tab-pane fade" id="signUp" role="tabpanel" aria-labelledby="signUp-tab">
<form id="signUpForm" class="needs-validation d-flex flex-column gap-3" novalidate>
<h2 class="fw-semibold">
<p class="h1">Create your account</p>
</h2>
<div class="form-floating mb-3">
<input type="text" class="form-control" id="firstName"
aria-describedby="nameHelp" placeholder="First name" required>
<label for="firstName" class="form-label">First name</label>
<div class="invalid-feedback">
Please enter your First name
</div>
</div>
<div class="form-floating mb-3">
<input type="email" class="form-control" id="signUpEmail"
aria-describedby="emailHelp" placeholder="Email" required>
<label for="signUpEmail" class="form-label">Email</label>
<div class="invalid-feedback">
Please enter a valid email address
</div>
</div>
<div class="form-floating mb-3">
<input type="password" class="form-control" id="signUpPassword"
placeholder="password" minlength="8" required>
<label for="signUpPassword" class="form-label">Password</label>
<div class="invalid-feedback">
Please enter a password with at least 8 characters
</div>
</div>
<div class="form-floating mb-3">
<input type="password" class="form-control" id="confirmPassword"
placeholder="password" minlength="8" required>
<label for="confirmPassword" class="form-label">Confirm Password</label>
<div class="invalid-feedback">
Please confirm your password
</div>
</div>
<div class="mb-3">
<button type="submit" class="btn btn-custom w-100" id="signUpButton">Sign
Up</button>
</div>
<div class="mb-3">
<p>Already have an account?</p>
<a href="#" class="btn-link" id="signInLink">Sign in</a>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</main>
<footer class="fixed-bottom">
<div class="container-fluid bg-primary">
<p class="text-light mt-3 text-wrap">© 2025 ConnectSphere. All rights reserved.</p>
</div>
</footer>
</body>
</html>