-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
125 lines (114 loc) · 5.59 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
<!DOCTYPE html>
<html>
<head>
<!-- Bootstrap CSS file -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" />
<!-- TODO: Include Font Awesome file here -->
<script src="https://use.fontawesome.com/f499a276b4.js"></script>
<!-- TODO: Include Google Fonts file here -->
<link href="https://fonts.googleapis.com/css?family=Montez&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./styles/index.css">
<link rel="stylesheet" href="./styles/common.css">
</head>
<body>
<!-- TODO: Include all your code for the header and home page here -->
<div id="header">
<div id="headerText">
<div id="scribblerText"><h1>ScriBBler</h1></div>
<div id="tagLine"><h4>Explore, Imagine, Create</h4></div>
</div>
<div id="signingButtonsContainer">
<button id="signUpBtn" class="headerButton homepageButton">Sign Up</button>
<button id="signInBtn" class="headerButton homepageButton">Sign In</button>
</div>
</div>
<div id=postButtonsContainer>
<button class="postButton homepageButton" id="allPostsBtn">All Posts</button>
<button class="postButton homepageButton" id="createPostBtn" >Create Post</button>
</div>
<!-- Sign Up modal -->
<div id="signUpModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<div class="modal-header">
<h3><span class="closeIcon" id="closeSignUp"><i>×</i></span></h3>
<h3 class="modal-heading">Get Started</h3>
</div>
<div class="modal-body">
<form action="">
<div class="form-group">
<label for="name">Name</label>
<input type="text" class="form-control" id="name" placeholder="Enter your name" required="true" />
</div>
<div class="form-group">
<label for="new-username">Username</label>
<input type="text" class="form-control" id="new-username" placeholder="Enter your username" required="true" />
</div>
<div class="form-group">
<label for="new-password">Password</label>
<input type="password" class="form-control" id="new-password" placeholder="Enter your password" required="true" />
</div>
<div class="form-group">
<label for="confirm-password">Confirm Password</label>
<input type="password" class="form-control" id="confirm-password" placeholder="Re-enter your password" required="true" />
</div>
<button type="submit" class="btn btn-block btn-success">Sign Up</button>
</form>
</div>
</div>
</div>
<!-- Sign In Modal -->
<div id="signInModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<div class="modal-header">
<h3><span class="closeIcon" id="closeSignIn"><i>×</i></span></h3>
<h3 class="modal-heading">Welcome Back!</h3>
</div>
<div class="modal-body">
<form action="">
<div class="form-group">
<label for="username">Username</label>
<input type="text" class="form-control" id="username" placeholder="Enter your username" required="true" />
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control" id="password" placeholder="Enter your password" required="true" />
</div>
<button type="submit" class="btn btn-block btn-success">Sign In</button>
<br>
<p class="nonMember">Not a member? <a id="signUpLink">Sign Up</a></p>
</form>
</div>
</div>
</div>
<!-- Create Post Modal -->
<div id="createPostModal" class="modal">
<!-- Modal content -->
<div class="modal-content modal-lg" id="createPostModalContent">
<div class="modal-header">
<h3><span class="closeIcon" id="closeCreatePost"><i>×</i></span></h3>
<h3 class="modal-heading">Pen Your Post</h3>
</div>
<div class="modal-body">
<form action="">
<div class="form-group">
<label for="title">Title</label>
<input type="text" class="form-control" id="title" placeholder="Enter title of your post" required="true" />
</div>
<div class="form-group" class="contentContainer">
<label for="contents">Contents</label>
<textarea type="text" class="form-control" id="contents" rows="15" placeholder="Enter the contents of your post" required="true" ></textarea>
</div>
<div class="createPostSubmitContainer">
<button type="submit" class="btn btn-success" id="createPostSubmit">Create</button>
</div>
</form>
</div>
</div>
</div>
<script src="scripts/common.js"></script>
<script src="scripts/index.js"></script>
</body>
</html>