-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
185 lines (154 loc) · 5.84 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Internet Relay Food</title>
<!-- Oswald font -->
<link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Material Design Bootstrap -->
<link href="css/mdb.min.css" rel="stylesheet">
<!-- Your custom styles (optional) -->
<link href="css/style.css" rel="stylesheet">
</head>
<body>
<!-- Navbar -->
<nav class="navbar fixed-top navbar-expand-lg navbar-dark scrolling-navbar">
<div class="container">
<!-- Brand -->
<a class="navbar-brand" href="index.html">
<strong>Food Rescue</strong>
</a>
<!-- Collapse -->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<!-- Links -->
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<!-- Left -->
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="index.html">Home
<span class="sr-only">(current)</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="TheMarket.html">The Market</a>
</li>
<li class="nav-item" id="myposts-menu">
<a class="nav-link" href="MyPosts.html">My Posts</a>
</li>
<li class="nav-item">
<a class="nav-link" href="Contact.html">Contact</a>
</li>
<li class="nav-item">
<a class="nav-link" href="AboutUs.html">About Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="Help.html">Help</a>
</li>
</ul>
<!-- Right -->
<ul class="navbar-nav nav-flex-icons">
<li class="nav-item" id="signup-menu">
<a href="" class="nav-link border border-light rounded green-button"
target="_blank">
Sign Up
</a>
</li>
<li class="nav-item" id="login-menu">
<a href="" class="nav-link border border-light rounded"
target="_blank">
Login
</a>
</li>
<li class="nav-item" id="logout-menu">
<a class="nav-link border border-light rounded" id="logout-user" href="index.html">
Logout
</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- ////////// Navbar ////////////-->
<!--Carousel Wrapper-->
<div id="homepage-carousel" class="carousel slide carousel-fade" data-ride="carousel">
<!--Slides-->
<div class="carousel-inner" role="listbox">
<!--First slide-->
<div class="carousel-item active">
<div class="view" style="background-image: url('img/carrots1.jpg'); background-repeat: no-repeat; background-size: cover;">
<!-- Mask & flexbox options-->
<div class="mask rgba-black-light d-flex justify-content-center align-items-center">
<!-- Content -->
<div class="text-center white-text mx-5 wow fadeIn" id="carousel-content">
<h1 class="mb-4">
<strong>Put food on the table, not in the landfill</strong>
</h1>
<div class="row">
<div class="col-xs-6 col-md-3 offset-md-3">
<a id="login-button" class="btn btn-outline-white btn-lg">Log In
</a>
</div>
<div class="col-xs-6 col-md-3">
<a id="signup-button" class="btn btn-lg green-button">Sign Up
</a>
</div>
</div>
<div class="row food-stats">
<h1 class="mb-4 col-sm-12 col-lg-6 food-stat-div">
<p class="big-number">628</p>
<strong>Pounds of Food Saved</strong>
</h1>
<h1 class="mb-4 col-sm-12 col-lg-6 food-stat-div">
<p class="big-number">71</p>
<strong>Current Offerings</strong>
</h1>
</div>
</div>
<!-- Content -->
</div>
<!-- Mask & flexbox options-->
</div>
</div>
<!--/First slide-->
</div>
<!--/.Slides-->
</div>
<!--/.Carousel Wrapper-->
<!-- SCRIPTS -->
<!-- JQuery -->
<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
<!-- Bootstrap tooltips -->
<script type="text/javascript" src="js/popper.min.js"></script>
<!-- Bootstrap core JavaScript -->
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<!-- MDB core JavaScript -->
<script type="text/javascript" src="js/mdb.min.js"></script>
<script src="https://cdn.auth0.com/js/auth0/9.3.1/auth0.min.js"></script>
<!-- Initializations -->
<script type="text/javascript">
// Animations initialization
new WOW().init();
</script>
<script type="text/javascript" src="js/User.js"></script>
<script type="text/javascript">
$(document).ready( function () {
$("#login-button, #signup-button").click(() => {
LoginUser();
e.preventDefault();
});
LoadUser();
} );
</script>
</body>
</html>