-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
213 lines (196 loc) · 8.13 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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<!DOCTYPE html>
<html lang="en">
<head>
<title>Accountability Buds</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="index.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script src="./register.js"></script>
<script src="./createUser.js"></script>
</head>
<body id="myPage" data-spy="scroll" data-target=".navbar" data-offset="60">
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">accountabilitybuds</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav navbar-right">
<li><a href="#create">CREATE ACCOUNT</a></li>
<li><a href="./login.html">LOGIN</a></li>
<li><a href="#contact">CONTACT</a></li>
</ul>
</div>
</div>
</nav>
<div class="jumbotron text-center">
<br>
<h1>about us</h1><br>
<h4>Find a friend who can help you grow and stay on track with your goals, with an accountability buddy! <br>
Your buddy could be someone who shares the same goals and aspirations, or simply someone to chat to when you're feeling burnt out.<br>Most importantly, an accountability buddy is what you make of it!</h4><br>
</div>
<div class="col-sm-4">
</div>
<div class="col-sm-4">
<img src="accountabilitybuds1.png"></img>
</div>
<div class="col-sm-4">
</div>
</div>
<!-- Container (About Section) -->
<div id="create" class="container-fluid">
<div class="row">
<div class="col-sm-12">
<div class="create-form">
<h2 class="text-center">Create an Account</h2>
<div class="form-group">
<input id="email1" type="text" class="form-control" placeholder="Email address" required="required">
</div>
<div class="form-group">
<input id="password1" type="password" class="form-control" placeholder="Password" required="required">
</div>
<div class="form-group">
<input id="password2" type="password" class="form-control" placeholder="Repeat password" required="required">
</div>
<div class="form-group">
<input type="text" id="first" class="form-control" name="First Name" placeholder="First Name" required/>
</div>
<div class="form-group">
<input type = "text" id="last" class="form-control" name="Last Name" placeholder="Last Name" required/>
</div>
<div class="form-group">
<input type = "text" id="language" class="form-control" name="language" placeholder="Language" required/>
</div>
<!-- Dropdown -->
<div class="form-group">
<select class="form-control" id ="time-zone"name="time-zone" required>
<!-- The value attribute indicates what is sent when the form is submitted -->
<option value="Blank">Choose a timezone:</option>
<option value="ANAT">ANAT +12</option>
<option value="SBT">SBT +11</option>
<option value="AEST">AEST +10</option>
<option value="JST">JST +9</option>
<option value="CST8">CST +8</option>
<option value="WIB">WIB +7</option>
<option value="BST6">BST +6</option>
<option value="UZT">UZT +5</option>
<option value="GST">GST +4</option>
<option value="MSK">MSK +3</option>
<option value="CEST">CEST +2</option>
<option value="BST1">BST +1</option>
<option value="WET">WET +0</option>
<option value="CVT">CVT -1</option>
<option value="WGST">WGST -2</option>
<option value="ART">ART -3</option>
<option value="EDT">EDT -4</option>
<option value="CDT">CDT -5</option>
<option value="CST6">CST -6</option>
<option value="PDT">PDT -7</option>
<option value="AKDT">AKDT -8</option>
<option value="HDT">HDT -9</option>
<option value="HST">HST -10</option>
<option value="NUT">NUT -11</option>
<option value="AoE">AoE -12</option>
<option value="LINT">LINT +14</option>
<option value="TOT">TOT +13</option>
<option value="LHST">LHST +10:30</option>
<option value="ACST">ACST +9:30</option>
<option value="MMT">MMT +6:30</option>
<option value="IST">IST +5:30</option>
<option value="IRDT">IRDT +4:30</option>
<option value="NDT">NDT -2:30</option>
<option value="MART">MART -9:30</option>
<option value="CHAST">+12:45</option>
<option value="ACWST">ACWST +8:45</option>
<option value="NPT">NPT +5:45</option>
</select>
</div>
<div class="form-group">
<select class="form-control" id ="why" name="why" required>
<!-- The value attribute indicates what is sent when the form is submitted -->
<option value="Blank">Choose what you want a bud for:</option>
<option value="school">School</option>
<option value="work">Work</option>
<option value="hobbies">Hobbies</option>
<option value="exercise">Exercise</option>
</select>
</div>
<div class="form-group">
<input type = "text" id="bio" class="form-control" name="bio" placeholder="Bio" />
</div>
<div class="form-group">
<button onclick="register()" class="btn btn-block">Create Account</button>
</div>
</form>
</div>
<br><br>
</div>
</div>
<!-- Container (Contact Section) -->
<div id="contact" class="container-fluid bg-grey">
<h2 class="text-center">CONTACT US</h2>
<div class="row">
<div class="col-sm-12">
<div class='contact'>
<p>Contact us and we'll get back to you ASAP.</p>
<p><span class="glyphicon glyphicon-envelope"></span> [email protected]</p>
</div>
</div>
</div>
</div>
<footer class="container-fluid text-center">
<a href="#myPage" title="To Top">
<span class="glyphicon glyphicon-chevron-up"></span>
</a>
</footer>
<script>
$(document).ready(function(){
// Add smooth scrolling to all links in navbar + footer link
$(".navbar a, footer a[href='#myPage']").on('click', function(event) {
// Make sure this.hash has a value before overriding default behavior
if (this.hash !== "") {
// Prevent default anchor click behavior
event.preventDefault();
// Store hash
var hash = this.hash;
// Using jQuery's animate() method to add smooth page scroll
// The optional number (900) specifies the number of milliseconds it takes to scroll to the specified area
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 900, function(){
// Add hash (#) to URL when done scrolling (default click behavior)
window.location.hash = hash;
});
} // End if
});
$(window).scroll(function() {
$(".slideanim").each(function(){
var pos = $(this).offset().top;
var winTop = $(window).scrollTop();
if (pos < winTop + 600) {
$(this).addClass("slide");
}
});
});
})
</script>
<script src="/__/firebase/8.3.0/firebase-app.js"></script>
<!-- If you enabled Analytics in your project, add the Firebase SDK for Analytics -->
<script src="/__/firebase/8.3.0/firebase-analytics.js"></script>
<!-- Add Firebase products that you want to use -->
<script src="/__/firebase/8.3.0/firebase-auth.js"></script>
<script src="/__/firebase/8.3.0/firebase-firestore.js"></script>
<!-- Initialize Firebase -->
<script src="/__/firebase/init.js"></script>
</body>
</html>