-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
95 lines (79 loc) · 4.39 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
<!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">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<!-- Global CSS (CSS rules you want applied to all pages) -->
<link rel="stylesheet" href="css/global.css">
<!-- Page-specific CSS -->
<link rel="stylesheet" href="css/landing.css">
<title>Login to Code RARE!</title>
<!-- Run BEFORE page is finished loading (before window.onload): -->
<script src="scripts/auth.js"></script>
<script>
if (isLoggedIn() === true) window.location.replace("post.html");
</script>
</head>
<body>
<main>
<section class="h-100 gradient-form" style="background-color: #eee;">
<div class="container py-5 h-100">
<div class="row d-flex justify-content-center align-items-center h-100">
<div class="col-xl-10">
<div class="card rounded-5 text-black">
<div class="row g-0">
<div class="col-lg-6">
<div class="card-body p-md-5 mx-md-4">
<div class="text-center">
<img src="images/Free_Sample_By_Wix.jpeg"
style="width: 185px; border-radius: 50%;" class="mb-2" alt="logo">
<h4 class="mt-1 mb-5 pb-1 fw-bold">CODE: RARE BLOGS</h4>
</div>
<form id="login" autocomplete="off">
<div class="form-outline mb-4">
<label class="form-label" for="form2Example11">Username</label>
<input type="text" id="username" minlength="3" autocomplete="off" class="form-control"
placeholder="Enter your username..." />
</div>
<div class="form-outline mb-4">
<label class="form-label" for="form2Example22">Password</label>
<input type="password" id="password" class="form-control" autocomplete="off" placeholder="Enter your password..."/>
</div>
<div class="text-center pt-1 mb-5 pb-1">
<button class="btn btn-dark btn-block fa-lg mb-3" type="submit" id="loginButton">Log
in</button>
</div>
<div class="d-flex align-items-center justify-content-center pb-4">
<p class="mb-0 me-2">Don't have an account?</p>
<button type="button"
onclick="window.location.href='registration.html'"
class="btn btn-outline-dark">New Users</button>
</div>
</form>
</div>
</div>
<div class="col-lg-6 d-flex align-items-center gradient-custom-2">
<div class="text-white px-3 py-4 p-md-5 mx-md-4">
<h4 class="mb-4 fw-bolder">Welcome to Code: RARE</h4>
<p class="small mb-0">Spread misinformation, learn new tax loopholes,
and argue with people that you will never see in your life.
CODE: RARE is the perfect place to waste hours in a dopamine loop.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<footer></footer>
<!-- Bootstrap Bundle (including Popper for popovers) -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script>
<!-- Page-specific code -->
<script src="scripts/index.js"></script>
</body>
</html>