Spaces:
Running
Running
Upload 4 files
Browse files- index.html +65 -12
- styles.css +50 -2
index.html
CHANGED
|
@@ -59,11 +59,45 @@
|
|
| 59 |
}
|
| 60 |
|
| 61 |
.landing-nav {
|
| 62 |
-
display:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
}
|
| 64 |
|
| 65 |
.auth-buttons {
|
| 66 |
-
display:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
}
|
| 68 |
|
| 69 |
.landing-main {
|
|
@@ -193,6 +227,20 @@
|
|
| 193 |
color: white;
|
| 194 |
}
|
| 195 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 196 |
@media (min-width: 768px) {
|
| 197 |
.landing-container {
|
| 198 |
max-width: 500px;
|
|
@@ -230,7 +278,7 @@
|
|
| 230 |
<a href="#" class="nav-link">Privacy Policy</a>
|
| 231 |
<div class="auth-buttons">
|
| 232 |
<button class="btn-login" onclick="switchToLogin()">Login</button>
|
| 233 |
-
<button class="btn-signup" onclick="switchToRegister()">Sign up</button>
|
| 234 |
</div>
|
| 235 |
</nav>
|
| 236 |
</header>
|
|
@@ -247,19 +295,19 @@
|
|
| 247 |
</div>
|
| 248 |
|
| 249 |
<div class="auth-section">
|
| 250 |
-
<!-- Registration Form -->
|
| 251 |
<div id="registerForm" class="auth-container form-section active">
|
| 252 |
-
<h2>Create Account</h2>
|
| 253 |
-
<p class="subtitle">Join
|
| 254 |
|
| 255 |
<form id="registerFormElement">
|
| 256 |
<div class="input-group">
|
| 257 |
<label>EMAIL ADDRESS</label>
|
| 258 |
-
<input type="email" id="registerEmail" placeholder="Enter your email" required>
|
| 259 |
</div>
|
| 260 |
<div class="input-group">
|
| 261 |
<label>PASSWORD</label>
|
| 262 |
-
<input type="password" id="registerPassword" placeholder="Create a password" required>
|
| 263 |
</div>
|
| 264 |
<div class="input-group">
|
| 265 |
<label>CONFIRM PASSWORD</label>
|
|
@@ -268,14 +316,16 @@
|
|
| 268 |
<div class="checkbox-group">
|
| 269 |
<input type="checkbox" id="termsCheck" required>
|
| 270 |
<label for="termsCheck">
|
| 271 |
-
I agree
|
|
|
|
|
|
|
| 272 |
</label>
|
| 273 |
</div>
|
| 274 |
<button type="submit" class="btn-primary">Create Account</button>
|
| 275 |
</form>
|
| 276 |
|
| 277 |
<div class="switch-form">
|
| 278 |
-
Already have an account? <span onclick="switchToLogin()">Sign in</span>
|
| 279 |
</div>
|
| 280 |
</div>
|
| 281 |
|
|
@@ -287,17 +337,20 @@
|
|
| 287 |
<form id="loginFormElement">
|
| 288 |
<div class="input-group">
|
| 289 |
<label>EMAIL ADDRESS</label>
|
| 290 |
-
<input type="email" id="loginEmail" placeholder="Enter your email" required>
|
| 291 |
</div>
|
| 292 |
<div class="input-group">
|
| 293 |
<label>PASSWORD</label>
|
| 294 |
<input type="password" id="loginPassword" placeholder="Enter your password" required>
|
| 295 |
</div>
|
|
|
|
|
|
|
|
|
|
| 296 |
<button type="submit" class="btn-primary">Sign In</button>
|
| 297 |
</form>
|
| 298 |
|
| 299 |
<div class="switch-form">
|
| 300 |
-
Don't have an account? <span onclick="switchToRegister()">Create one</span>
|
| 301 |
</div>
|
| 302 |
</div>
|
| 303 |
</div>
|
|
|
|
| 59 |
}
|
| 60 |
|
| 61 |
.landing-nav {
|
| 62 |
+
display: flex;
|
| 63 |
+
align-items: center;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
.nav-link {
|
| 67 |
+
color: #e0e0e0;
|
| 68 |
+
text-decoration: none;
|
| 69 |
+
margin-right: 20px;
|
| 70 |
+
font-size: 16px;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
.nav-link:hover {
|
| 74 |
+
color: #4fc3f7;
|
| 75 |
}
|
| 76 |
|
| 77 |
.auth-buttons {
|
| 78 |
+
display: flex;
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
.btn-login, .btn-signup {
|
| 82 |
+
padding: 10px 20px;
|
| 83 |
+
background-color: #2d2d2d;
|
| 84 |
+
color: #e0e0e0;
|
| 85 |
+
border: 1px solid #333;
|
| 86 |
+
border-radius: 6px;
|
| 87 |
+
font-weight: bold;
|
| 88 |
+
font-size: 14px;
|
| 89 |
+
cursor: pointer;
|
| 90 |
+
transition: background 0.3s;
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
.btn-login:hover, .btn-signup:hover {
|
| 94 |
+
background-color: #333;
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
.btn-signup.active {
|
| 98 |
+
background-color: #4fc3f7;
|
| 99 |
+
color: #121212;
|
| 100 |
+
border-color: #4fc3f7;
|
| 101 |
}
|
| 102 |
|
| 103 |
.landing-main {
|
|
|
|
| 227 |
color: white;
|
| 228 |
}
|
| 229 |
|
| 230 |
+
.forgot-password {
|
| 231 |
+
margin-bottom: 20px;
|
| 232 |
+
text-align: right;
|
| 233 |
+
}
|
| 234 |
+
|
| 235 |
+
.link-text {
|
| 236 |
+
color: #4fc3f7;
|
| 237 |
+
text-decoration: none;
|
| 238 |
+
}
|
| 239 |
+
|
| 240 |
+
.link-text:hover {
|
| 241 |
+
text-decoration: underline;
|
| 242 |
+
}
|
| 243 |
+
|
| 244 |
@media (min-width: 768px) {
|
| 245 |
.landing-container {
|
| 246 |
max-width: 500px;
|
|
|
|
| 278 |
<a href="#" class="nav-link">Privacy Policy</a>
|
| 279 |
<div class="auth-buttons">
|
| 280 |
<button class="btn-login" onclick="switchToLogin()">Login</button>
|
| 281 |
+
<button class="btn-signup active" onclick="switchToRegister()">Sign up</button>
|
| 282 |
</div>
|
| 283 |
</nav>
|
| 284 |
</header>
|
|
|
|
| 295 |
</div>
|
| 296 |
|
| 297 |
<div class="auth-section">
|
| 298 |
+
<!-- Registration/Signup Form -->
|
| 299 |
<div id="registerForm" class="auth-container form-section active">
|
| 300 |
+
<h2>Create Your Account</h2>
|
| 301 |
+
<p class="subtitle">Join thousands of traders on Byweo</p>
|
| 302 |
|
| 303 |
<form id="registerFormElement">
|
| 304 |
<div class="input-group">
|
| 305 |
<label>EMAIL ADDRESS</label>
|
| 306 |
+
<input type="email" id="registerEmail" placeholder="Enter your email address" required>
|
| 307 |
</div>
|
| 308 |
<div class="input-group">
|
| 309 |
<label>PASSWORD</label>
|
| 310 |
+
<input type="password" id="registerPassword" placeholder="Create a strong password" required>
|
| 311 |
</div>
|
| 312 |
<div class="input-group">
|
| 313 |
<label>CONFIRM PASSWORD</label>
|
|
|
|
| 316 |
<div class="checkbox-group">
|
| 317 |
<input type="checkbox" id="termsCheck" required>
|
| 318 |
<label for="termsCheck">
|
| 319 |
+
By signing up I agree that I'm 18 years of age or older, to the
|
| 320 |
+
<a href="#" class="link-text">Terms of Use</a>,
|
| 321 |
+
<a href="#" class="link-text">Privacy Policy</a>
|
| 322 |
</label>
|
| 323 |
</div>
|
| 324 |
<button type="submit" class="btn-primary">Create Account</button>
|
| 325 |
</form>
|
| 326 |
|
| 327 |
<div class="switch-form">
|
| 328 |
+
Already have an account? <span onclick="switchToLogin()">Sign in here</span>
|
| 329 |
</div>
|
| 330 |
</div>
|
| 331 |
|
|
|
|
| 337 |
<form id="loginFormElement">
|
| 338 |
<div class="input-group">
|
| 339 |
<label>EMAIL ADDRESS</label>
|
| 340 |
+
<input type="email" id="loginEmail" placeholder="Enter your email address" required>
|
| 341 |
</div>
|
| 342 |
<div class="input-group">
|
| 343 |
<label>PASSWORD</label>
|
| 344 |
<input type="password" id="loginPassword" placeholder="Enter your password" required>
|
| 345 |
</div>
|
| 346 |
+
<div class="forgot-password">
|
| 347 |
+
<a href="#" class="link-text">Forgot your password?</a>
|
| 348 |
+
</div>
|
| 349 |
<button type="submit" class="btn-primary">Sign In</button>
|
| 350 |
</form>
|
| 351 |
|
| 352 |
<div class="switch-form">
|
| 353 |
+
Don't have an account? <span onclick="switchToRegister()">Create one here</span>
|
| 354 |
</div>
|
| 355 |
</div>
|
| 356 |
</div>
|
styles.css
CHANGED
|
@@ -100,6 +100,15 @@ body {
|
|
| 100 |
color: #00d4ff;
|
| 101 |
}
|
| 102 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
.landing-main {
|
| 104 |
flex: 1;
|
| 105 |
display: flex;
|
|
@@ -192,6 +201,11 @@ body {
|
|
| 192 |
border-radius: 16px;
|
| 193 |
padding: 40px;
|
| 194 |
backdrop-filter: blur(10px);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 195 |
}
|
| 196 |
|
| 197 |
.auth-container h2 {
|
|
@@ -199,12 +213,14 @@ body {
|
|
| 199 |
font-weight: 600;
|
| 200 |
color: #ffffff;
|
| 201 |
margin-bottom: 8px;
|
|
|
|
| 202 |
}
|
| 203 |
|
| 204 |
.auth-container .subtitle {
|
| 205 |
color: #8892b0;
|
| 206 |
margin-bottom: 32px;
|
| 207 |
font-size: 14px;
|
|
|
|
| 208 |
}
|
| 209 |
|
| 210 |
.form-section {
|
|
@@ -252,7 +268,7 @@ body {
|
|
| 252 |
|
| 253 |
.checkbox-group {
|
| 254 |
display: flex;
|
| 255 |
-
align-items:
|
| 256 |
gap: 12px;
|
| 257 |
margin-bottom: 24px;
|
| 258 |
}
|
|
@@ -261,6 +277,8 @@ body {
|
|
| 261 |
width: 18px;
|
| 262 |
height: 18px;
|
| 263 |
accent-color: #00d4ff;
|
|
|
|
|
|
|
| 264 |
}
|
| 265 |
|
| 266 |
.checkbox-group label {
|
|
@@ -269,13 +287,35 @@ body {
|
|
| 269 |
margin: 0;
|
| 270 |
text-transform: none;
|
| 271 |
letter-spacing: normal;
|
|
|
|
| 272 |
}
|
| 273 |
|
| 274 |
-
.checkbox-group a
|
|
|
|
| 275 |
color: #00d4ff;
|
| 276 |
text-decoration: none;
|
| 277 |
}
|
| 278 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 279 |
.btn-primary {
|
| 280 |
width: 100%;
|
| 281 |
padding: 16px;
|
|
@@ -295,6 +335,10 @@ body {
|
|
| 295 |
transform: translateY(-1px);
|
| 296 |
}
|
| 297 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 298 |
.switch-form {
|
| 299 |
text-align: center;
|
| 300 |
margin-top: 24px;
|
|
@@ -308,6 +352,10 @@ body {
|
|
| 308 |
text-decoration: underline;
|
| 309 |
}
|
| 310 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 311 |
/* Dashboard Styles */
|
| 312 |
.dashboard-layout {
|
| 313 |
min-height: 100vh;
|
|
|
|
| 100 |
color: #00d4ff;
|
| 101 |
}
|
| 102 |
|
| 103 |
+
.btn-signup.active {
|
| 104 |
+
background: #0099cc;
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
.btn-login.active {
|
| 108 |
+
border-color: #00d4ff;
|
| 109 |
+
color: #00d4ff;
|
| 110 |
+
}
|
| 111 |
+
|
| 112 |
.landing-main {
|
| 113 |
flex: 1;
|
| 114 |
display: flex;
|
|
|
|
| 201 |
border-radius: 16px;
|
| 202 |
padding: 40px;
|
| 203 |
backdrop-filter: blur(10px);
|
| 204 |
+
display: none;
|
| 205 |
+
}
|
| 206 |
+
|
| 207 |
+
.auth-container.active {
|
| 208 |
+
display: block;
|
| 209 |
}
|
| 210 |
|
| 211 |
.auth-container h2 {
|
|
|
|
| 213 |
font-weight: 600;
|
| 214 |
color: #ffffff;
|
| 215 |
margin-bottom: 8px;
|
| 216 |
+
text-align: center;
|
| 217 |
}
|
| 218 |
|
| 219 |
.auth-container .subtitle {
|
| 220 |
color: #8892b0;
|
| 221 |
margin-bottom: 32px;
|
| 222 |
font-size: 14px;
|
| 223 |
+
text-align: center;
|
| 224 |
}
|
| 225 |
|
| 226 |
.form-section {
|
|
|
|
| 268 |
|
| 269 |
.checkbox-group {
|
| 270 |
display: flex;
|
| 271 |
+
align-items: flex-start;
|
| 272 |
gap: 12px;
|
| 273 |
margin-bottom: 24px;
|
| 274 |
}
|
|
|
|
| 277 |
width: 18px;
|
| 278 |
height: 18px;
|
| 279 |
accent-color: #00d4ff;
|
| 280 |
+
margin-top: 2px;
|
| 281 |
+
flex-shrink: 0;
|
| 282 |
}
|
| 283 |
|
| 284 |
.checkbox-group label {
|
|
|
|
| 287 |
margin: 0;
|
| 288 |
text-transform: none;
|
| 289 |
letter-spacing: normal;
|
| 290 |
+
line-height: 1.4;
|
| 291 |
}
|
| 292 |
|
| 293 |
+
.checkbox-group a,
|
| 294 |
+
.link-text {
|
| 295 |
color: #00d4ff;
|
| 296 |
text-decoration: none;
|
| 297 |
}
|
| 298 |
|
| 299 |
+
.checkbox-group a:hover,
|
| 300 |
+
.link-text:hover {
|
| 301 |
+
text-decoration: underline;
|
| 302 |
+
}
|
| 303 |
+
|
| 304 |
+
.forgot-password {
|
| 305 |
+
text-align: right;
|
| 306 |
+
margin-bottom: 24px;
|
| 307 |
+
}
|
| 308 |
+
|
| 309 |
+
.forgot-password a {
|
| 310 |
+
color: #00d4ff;
|
| 311 |
+
text-decoration: none;
|
| 312 |
+
font-size: 14px;
|
| 313 |
+
}
|
| 314 |
+
|
| 315 |
+
.forgot-password a:hover {
|
| 316 |
+
text-decoration: underline;
|
| 317 |
+
}
|
| 318 |
+
|
| 319 |
.btn-primary {
|
| 320 |
width: 100%;
|
| 321 |
padding: 16px;
|
|
|
|
| 335 |
transform: translateY(-1px);
|
| 336 |
}
|
| 337 |
|
| 338 |
+
.btn-primary:active {
|
| 339 |
+
transform: translateY(0);
|
| 340 |
+
}
|
| 341 |
+
|
| 342 |
.switch-form {
|
| 343 |
text-align: center;
|
| 344 |
margin-top: 24px;
|
|
|
|
| 352 |
text-decoration: underline;
|
| 353 |
}
|
| 354 |
|
| 355 |
+
.switch-form span:hover {
|
| 356 |
+
color: #0099cc;
|
| 357 |
+
}
|
| 358 |
+
|
| 359 |
/* Dashboard Styles */
|
| 360 |
.dashboard-layout {
|
| 361 |
min-height: 100vh;
|