-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
340 lines (251 loc) · 10.3 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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="icon" type="image/png" href="assets/icon-salad.png">
<link href="https://fonts.googleapis.com/css?family=Passion+One|Questrial|Raleway:400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Satisfy" rel="stylesheet">
<script defer src="https://use.fontawesome.com/releases/v5.0.12/js/all.js" integrity="sha384-Voup2lBiiyZYkRto2XWqbzxHXwzcm4A5RfdfG6466bu5LqjwwrjXCMBQBLMWh7qR"
crossorigin="anonymous"></script>
<link rel="stylesheet" href="styles/styles.css">
<link rel="scripts" href="scripts/scripts.js">
<title>SALAD CLUB!</title>
</head>
<body>
<div class="wrapper">
<!-- SALAD SECTION -->
<header class="salad">
<!-- SALAD IMAGE DISPLAY -->
<section class="salad__display">
<!-- images go here -->
<div class="salad-bowl">
<img class="img-bowl" src="assets/bowl.png" alt="Empty Salad Bowl">
<img data-base="greens" class="img-salad-base" src="assets/ingredients/spring-greens.png" alt="spring greens">
<img data-base="kale" class="img-salad-base" src="assets/ingredients/baby-kale.png" alt="baby kale">
<div class="salad-ingredients">
</div>
</div>
</section>
<section class="salad__header">
<div class="header__main ">
<h1 class="header__main-text">Salad Club</h1>
</div>
<h2 class="header__sub">Salad Generator</h2>
<div class="salad__generator">
<div class="salad__base__buttons">
<button type="button" data-base="greens" class=" btn-greens btn-base">
<span class="btn-text btn--cursive">make mine</span>
<span class="btn-text btn-sans">Spring Greens</span>
</button>
<button type="button" data-base="kale" class="btn-base btn-kale">
<span class="btn-text btn--cursive">make mine</span>
<span class="btn-text btn-sans">Baby Kale</span></button>
</div>
<div class="salad__header__mix">
<button type ="button" class="btn--generate">Generate My Salad!</button>
</div>
</div>
</section>
</header>
<!-- YOUR SALAD INFO -->
<section class="saladInfo">
<div class="saladInfo__nutrition">
<div class="nutrition__display">
<h3 class="nutrition__headline">Nutrition Facts</h3>
<p class="nutrient__line thickBorder">
<span>Serving size: 1 Salad</span>
</p>
<p class="nutrient__line">Amount Per Serving</p>
<p class="nutrient__line medBorder">
<span>Calories</span>
<span>
<span class="input__calories">0</span>
</span>
</p>
<p class="nutrient__line">
<span class="nutrient">Protein</span>
<span>
<span class="input__protein">0</span>
<span>g</span>
</span>
</p>
<p class="nutrient__line">
<span class="nutrient">Carbohydrates</span>
<span>
<span class="input__carbs">0</span>
<span>g</span>
</span>
</p>
<p class="nutrient__line">
<span class="nutrient">Total Fat</span>
<span>
<span class="input__fat">0</span>
<span>g</span>
</span>
</p>
<p class="nutrient__line">
<span class="nutrient">Dietary Fiber</span>
<span>
<span class="input__fiber">0</span>
<span>g</span>
</span>
</p>
<p class="nutrient__line">
<span class="nutrient">Sugar</span>
<span>
<span class="input__sugar">0</span>
<span>g</span>
</span>
</p>
<p class="nutrient__line">
<span class="nutrient">Sodium</span>
<span>
<span class="input__sodium">0</span>
<span>mg</span>
</span>
</p>
<p class="nutrient__line thickBorder">
<span class="nutrient">Potassium</span>
<span>
<span class="input__potassium">0</span>
<span>mg</span>
</span>
</p>
<p class="dv">% DV*</p>
<p class="nutrient__line">
<span class="nutrient">Vitamin A</span>
<span>
<span class="input__vitaminA">0</span>
<span>%</span>
</span>
</p>
<p>
<p class="nutrient__line">
<span class="nutrient">Vitamin C</span>
<span>
<span class="input__vitaminC">0</span>
<span>%</span>
</span>
</p>
<p class="nutrient__line">
<span class="nutrient">Calcium</span>
<span>
<span class="input__calcium">0</span>
<span>%</span>
</span>
</p>
<p class="nutrient__line medBorder">
<span class="nutrient">Iron</span>
<span>
<span class="input__iron">0</span>
<span>%</span>
</span>
</p>
<p class="nutrient__disclaimer">* Daily Values are based on a 2000 calorie diet. Your daily values may be higher or lower depending on your calorie
needs.</p>
</div>
</div>
<div class="saladInfo__ingreds">
<h2 class="section__header">What's In Your Salad?</h2>
<div class="saladInfo--ingreds--container">
<!-- PROTEIN-->
<div class="ingreds__item ingreds--protein">
<div class="ingreds__img ">
<img class="ingreds__img--protein" src="" alt="????">
</div>
<div class="ingreds__info--text ingreds__info--text--protein">
<p class="ingreds__info--title ingreds__info--title">Protein</p>
<p class="ingreds__info--name ingreds__info--name--protein">
</p>
</div>
</div>
<!-- VEGETABLE ONE -->
<div class="ingreds__item ingreds--veg1">
<div class="ingreds__img">
<img class="ingreds__img--veg1" src="????" alt="????">
</div>
<div class="ingreds__info--text ingreds__info--text--veg1">
<p class="ingreds__info--title ingreds__info--title--veg1">Vegetable</p>
<p class="ingreds__info--name ingreds__info--name--veg1"></p>
</div>
</div>
<!-- VEGETABLE TWO -->
<div class="ingreds__item ingreds--veg2">
<div class="ingreds__img">
<img class="ingreds__img--veg2" src="????" alt="????">
</div>
<div class="ingreds__info--text ingreds__info--veg2">
<p class="ingreds__info--title ingreds__info--title--veg2">Vegetable</p>
<p class="ingreds__info--name ingreds__info--name--veg2"></p>
</div>
</div>
<!-- VEGETABLE THREE -->
<div class="ingreds__item ingreds--veg3">
<div class="ingreds__img ">
<img class="ingreds__img--veg3" src="????" alt="????">
</div>
<div class="ingreds__info--text ingreds__info--text--veg3">
<p class="ingreds__info--title ngreds__info--title--veg3">Vegetable</p>
<p class="ingreds__info--name ingreds__info--name--veg3"></p>
</div>
</div>
<!-- CRUNCH -->
<div class="ingreds__item ingreds--crunch">
<div class="ingreds__img">
<img class="ingreds__img--crunch" src="????" alt="????">
</div>
<div class="ingreds__info--text ingreds__info--text--crunch">
<p class="ingreds__info--title">Crunch</p>
<p class="ingreds__info--name ingreds__info--name--crunch"></p>
</div>
</div>
<!-- DRESSING -->
<div class="ingreds__item ingreds--dressing">
<div class="ingreds__img">
<img class="ingreds__img--dressing" src="????" alt="????">
</div>
<div class="ingreds__info--text ingreds__info--text--dressing">
<p class="ingreds__info--title">Dressing</p>
<p class="ingreds__info--name ingreds__info--name--dressing"></p>
</div>
</div>
</div>
<!-- ingredientsContainer ends -->
</div>
</section>
<!-- ABOUT SALAD CLUB -->
<section class="about">
<div class="about__content">
<h2 class="section__header">About Salad Club</h2>
<p>Salad Club generates healthy salads with the click of a button!</p>
<p>Salad Club was created by <a href="http://lauraloui.se">Laura-Louise Tobin</a> as a project for the Full-Time Front-End Development Bootcamp at <a href="http://hackeryou.com">Hacker You</a>. Salad Club was built using JavaScript and Jquery, and SCSS.</p>
<p>Salad ingredient graphics were designed by yours truly in Adobe Illustrator and Photoshop. Salad leaf graphics are from
<a href="https://stock.adobe.com/contributor/205507654/ssstocker?load_type=author%26prev_url=detail">Adobe Stock</a>.</p>
</div>
<div class="about__tweet">
<h2 class="section__header">Tweet My Salad!</h2>
<p>Food always tastes better when you share!</p
><p> Click to share what's in your salad via Twitter!</p>
<form class="tweet-form" action="">
<button class="btn--tweet"type="submit">Tweet your Salad!</button>
</form>
</div>
</section>
<footer>
<span>Built by Laura-Louise, 2018</span>
<ul class="footer-nav">
<li>
<a href="mailto: [email protected]"><i class="far fa-envelope"></i></a>
</li>
<li><a href="https://twitter.com/FakeLauraLouise"><i class="fab fa-twitter"></i></a></li>
<li><a href="https://www.linkedin.com/in/laura-louise-tobin/"><i class="fab fa-linkedin-in"></i></a></li>
</ul>
</footer>
</div> <!-- wrapper end -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="scripts/salad-object.js"></script>
<script src="scripts/scripts.js"></script>
</body>
</html>