-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
185 lines (146 loc) · 8.19 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-us">
<head>
<meta charset="utf-8">
<title>Home</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Animate -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css">
<!-- Bootstrap -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.1.3/lux/bootstrap.min.css">
<!-- Firebase UI -->
<link type="text/css" rel="stylesheet" href="https://cdn.firebase.com/libs/firebaseui/3.1.1/firebaseui.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU"
crossorigin="anonymous">
<!--CSS-->
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a href="index.html">
<img src="assets/images/byod.png" class="d-inline-block align-top" alt="BYOD Logo Food Stand" id="logo">
</a>
</nav>
<!-- Splash page contents-->
<main class="position-relative">
<div id="splash-page" class="row position-absolute w-100 text-center mx-auto">
<div class="col-1 col-lg-3"></div>
<div class="col p-2 m-auto" id="splash-box">
<h1 id="splash-title" class="animated zoomInDown delay-1s">Bring Your Own Diet</h1>
<p id="splash-subtitle" class="animated fadeInLeft">Recipe Inspirations for All Types of Food Lovers</p>
<h2 id="splash-time" class="animated fadeInRight"></h2>
<a href="map.html" class="btn btn-outline-dark">Map</a>
<a href="search.html" class="btn btn-outline-dark">Search</a>
</div>
<div class="col-1 col-lg-3"></div>
</div>
<div class="row position-absolute w-100 p-3" id="favorites-page">
<div class="col-12 col-md-9">
<h2 class="text-center">Favorite Recipes</h2>
<p class="text-center" id="favorites-none">No favorite recipes yet</p>
<div class="row p-2" id="favorite-recipes"></div>
<div class="w-100" id="recipeSpace">
<div class="card">
<div class="card-header">
<i class="fas fa-info-circle"></i> Recipe Details
</div>
<div class="card-body" id="recipeIns">
<h3>Recipe Name</h3>
<hr class="my-4">
<img alt="recipe picture" src="assets/images/basic-ingredients.jpg">
<p>Servings: <span id="servings">0</span></p>
<div id="nutrition">
<div class="card">
<div class="card-header" id="nutritionalValueHeading">
Nutritional Value
</div>
<div id="nutritionalValue">
<div class="card-body">
<ul>
<li>Calories: <span id='calories'>0</span></li>
<li>Fat: <span id='fat'>0</span>g</li>
<li>Sodium: <span id='sodium'>0</span>mg</li>
<li>Sugar: <span id='sugar'>0</span>g</li>
<li>Protein: <span id='protein'>0</span>g</li>
</ul>
</div>
</div>
</div>
</div>
<div id="ingredients">
<div class="card">
<div class="card-header" id="ingredientsHeading">
<p>Ingredients:</p>
</div>
<div class="card-body">
<div id="recipeIngredients"></div>
</div>
</div>
</div>
<p id="recipeCtg">This recipe is <span id="categories"></span>.</p>
<p>For more information <a href="#"><i class="fas fa-external-link-alt"></i></a></p>
<button class="btn" id="recipeRemove">
<i class="fas fa-star"></i> Remove from Favorite Recipes
</button>
<button type="button" class="btn btn-outline-dark" id="closeRecipe">Close</button>
</div>
</div>
</div>
</div>
<div class="col-12 col-md-3">
<h2 class="text-center">Favorite Restaurants</h2>
<p id="places-none">No favorite restaurants yet.</p>
<ul id="favorite-places"></ul>
<div class="card w-100" id="restSpace">
<div class="card-header">
<i class="fas fa-info-circle"></i> Restaurant Details
</div>
<div class="card-body" id="placeInfo">
<h3>Restaurant</h3>
<hr class="my-4">
<img alt="Restaurant pic" src="#">
<p>
<strong>Address:</strong>
<span id="address"></span>
</p>
<p>
<strong>Phone:</strong>
<span id="phone"></span>
</p>
<p>
<strong>Price Range:</strong>
<span id="range"></span>
</p>
<p>*Price Range is 1-4, 1 being lowest and 4 being the highest</p>
<button class="btn" id="restRemove">
<i class="fas fa-star"></i> Remove from Favorite Restaurants
</button>
<button type="button" class="btn btn-outline-dark" id="restClose">Close</button>
</div>
</div>
</div>
</div>
<!-- Firebase UI for sign-in -->
<div id="firebaseui-auth-container" class="modal" role="dialog"></div>
</main>
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Popper.js Link Needed for Bootstrap -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<!-- Bootstrap Js Link Needed -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin="anonymous"></script>
<!-- Firebase -->
<script src="https://www.gstatic.com/firebasejs/5.5.8/firebase.js"></script>
<script src="https://cdn.firebase.com/libs/firebaseui/3.1.1/firebaseui.js"></script>
<!--JQVMap Links -->
<script src="assets/javascript/jquery.vmap.js"></script>
<script src="assets/javascript/jquery.vmap.usa.js"></script>
<!-- Moment.js for timer -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.2/moment.min.js"></script>
<!-- Custom JS -->
<script src="assets/javascript/app.js"></script>
</body>
</html>