-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
135 lines (110 loc) · 5.34 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
<!DOCTYPE html>
<html>
<head>
<!-- inclusions of the common css file -->
<link rel="stylesheet" href="./styles/common.css">
<!-- TODO: Include Font Awesome file here -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css">
<link rel="stylesheet" href="./styles/index.css">
<!-- TODO: Include Google Fonts file here -->
<link href="https://fonts.googleapis.com/css?family=Montez&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap" rel="stylesheet">
</head>
<body>
<!-- TODO: Include all your code for the header and home page here -->
<div class="header">
<div class="logo-details">
<span class="centralText">Explore, Imagine, Create</span>
<a id="pageLogo" class="logo-title">ScriBBler</a>
</div>
<div class="user-login-signup">
<button id="signinButton" class="logButtons">Sign In</button>
<button id="signupButton" class="logButtons">Sign Up</button>
</div>
</div>
<div class="main">
<div class="container">
<div class="posts">
<button id="allPosts-btn" class="postButtons">All Posts</button>
<button id="createPost-btn" class="postButtons">Create Post</button>
</div>
</div>
</div>
<!-- Signup Modal -->
<div id="modal-signup" class="modal gray-overlay">
<div class="modal-content">
<form>
<div class="form-group">
<h3>Get Started <span id="signUpModalClose" class="fa fa-times float-right" aria-hidden="true"></span></h3>
<hr>
</div>
<div class="form-group">
<label for="name">Name</label>
<input type="text" class="form-control" id="name" aria-describedby="name" placeholder="Enter your name" required>
</div>
<div class="form-group">
<label for="userName">Username</label>
<input type="text" class="form-control" id="userName" aria-describedby="userName" placeholder="Enter your username" required>
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control" id="password" aria-describedby="password" placeholder="Enter your password" required>
</div>
<div class="form-group">
<label for="password2">Confirm Password</label>
<input type="password" class="form-control" id="password2" aria-describedby="password2" placeholder="Re-enter your password" required>
</div>
<button type="submit" class="btn btn-primary">Sign Up</button>
</form>
</div>
</div>
<!-- Sign In Modal -->
<div id="modal-signin" class="modal gray-overlay">
<div class="modal-content">
<form>
<div class="form-group">
<h3>Welcome Back! <span id="signInModalClose" class="fa fa-times float-right" aria-hidden="true"></span></h3>
<hr>
</div>
<div class="form-group">
<label for="username">Username</label>
<input type="text" class="form-control" id="username" aria-describedby="username" placeholder="Enter your username" required>
</div>
<div class="form-group">
<label for="passWord">Password</label>
<input type="password" class="form-control" id="passWord" aria-describedby="passWord" placeholder="Enter your password" required>
</div>
<button type="submit" class="btn btn-primary">Sign In</button>
</form>
<div class="form-group">
<small>
Not a member? <a href="#" id="redirectSignUp">sign Up</a>
</small>
</div>
</div>
</div>
<!--Create Post Modal-->
<div id="modal-createPost" class="modal gray-overlay">
<div class="modal-content">
<form>
<div class="form-group">
<h3>Pen Your Post<span id="createPostClose" class="fa fa-times float-right" aria-hidden="true"></span></h3>
<hr>
</div>
<div class="form-group">
<label for="title">Title</label>
<input type="text" class="form-control" id="title" aria-describedby="title" placeholder="Enter title of your post" required>
</div>
<div class="form-group">
<label for="conents">Contents</label>
<textarea name="contents" id="contents" cols="30" rows="10" placeholder="Enter the contents of your post" required></textarea>
</div>
<button type="submit" class="btn btn-primary">Create</button>
</form>
</div>
</div>
<script src="./scripts/common.js"></script>
<script src="./scripts/index.js"></script>
</body>
</html>