-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
347 lines (236 loc) · 11 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
341
342
343
344
345
346
347
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<title>Bucktown Cafe</title>
<link rel="stylesheet" href="app/default.css">
<link rel="stylesheet" href="app/color-palette.css">
<link rel="stylesheet" href="components/css/app-bar.css">
<link rel="stylesheet" href="components/css/buttons.css">
<link rel="stylesheet" href="components/css/inputs.css">
<link rel="stylesheet" href="components/css/nav-drawer.css">
<link rel="stylesheet" href="components/css/selection-controls.css">
<link rel="stylesheet" href="demo-page/demo-page.css">
<link rel="stylesheet" href="dialogs/css/dialogs.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
</head>
<body class="js-scroll">
<!-- app bar -->
<div class="app-bar app-bar--flex-end js-app-bar">
<!-- buttons inline right -->
<div class="buttons-inline--right">
<a href="dialogs/about.html">
<button class="btn--flat secondary-text">ABOUT</button>
</a>
<!-- notifications -->
<button class="btn--icon btn--cart" id="js-btn--cart">
<i class="material-icons dark">shopping_cart</i>
<div class="notifications__alert is-hidden js-notifications__alert">
<div class="notifications__count caption primary-text--light">0</div>
</div>
</button>
</div>
</div>
<!-- main content -->
<div class="demo-content">
<!-- app bar spacer -->
<div class="app-bar__spacer"></div>
<!-- section container -->
<div class="demo-content js-demo-content">
<!-- home -->
<section class="demo-section demo-section--home">
<div class="header--home">
<h1 class="header--home__title display-2" id="test4">bucktown diner</h1>
<h3 class="header--home__subheading display-1">fresh, local, fast food</h3>
</div>
<img class="img--hero" src="https://dl.dropboxusercontent.com/s/0qbgirz2f3itfqr/food-drink.jpg?raw=1" width="640"/>
<button class="js-btn--keyboard-arrow-down btn--fab accent">
<i class="material-icons light">keyboard_arrow_down</i>
</button>
</section>
<!--food menu-->
<section class="demo-section demo-section--food" id="js-demo-section--food">
<h3 class="header--food title">Lunch daily 11AM - 6PM</h3>
<!-- product grid -->
<ul class="grid" id="js-food-grid"></ul>
<!-- grid spacer -->
<div></div>
</section>
<!-- coffee & tea -->
<section class="demo-section demo-section--drinks">
<h3 class="title">Coffee and Tea</h3>
<!-- product grid -->
<ul class="grid" id="js-drink-grid"></ul>
<!-- grid spacer -->
<div></div>
</section>
<!-- find us -->
<section class="demo-section demo-section--find">
<!-- address -->
<div class="header--find">
<h3 class="header--coffee title">Bucktown, Chicago</h3>
<span class="header--find__subheading">555 North Ave. Chicago, IL. 60647</span>
<span class="header--find__subheading">Open daily 7am - 7pm</span>
</div>
<!-- map -->
<div class="map__holder">
<div id="map"></div>
</div>
<!-- back button -->
<button class="js-btn--keyboard-arrow-up btn--fab accent">
<i class="material-icons light">keyboard_arrow_up</i>
</button>
</section>
</div>
</div>
<!-- shopping cart -->
<div class="cart-background is-hidden " id="js-cart-background">
<!-- dialog card -->
<div class="cart-dialog bt card">
<div class="cart__header">
<h1 class="cart__title title">Cart</h1>
<button class="btn--icon btn--close" id="js-btn--close">
<i class="material-icons dark">close</i>
</button>
</div>
<button class="btn--checkout btn--raised accent primary-text--light js-btn--checkout" onclick="viewShipping()">CHECKOUT</button>
<ul class="cart-grid" id="js-cart-grid"></ul>
<button class="btn--checkout btn--raised accent primary-text--light js-btn--checkout" onclick="viewShipping()">CHECKOUT</button>
</div>
</div>
<!-- shipping page -->
<div class="checkout-background is-hidden js-checkout-background">
<form class="checkout-dialog js-checkout-form" id="js-checkout-form" novalidate>
<section class="checkout-details card">
<h1 class="checkout-details__title title">Checkout</h1>
<a class="body-2 accent-text" href="">Returning guest?</a>
<!-- contact info -->
<h2 class="subheading">Contact Info</h2>
<div class="text-field">
<input class="text-field__input text-field--floating-label" type="text" name="email" id="email" required>
<label class="text-field__label" for="email">Email</label>
<span class="js-input__helper"></span>
</div>
<div class="text-field">
<input class="text-field__input text-field--floating-label" type="text" name="phone" id="phone" required>
<label class="text-field__label" for="phone">Phone number</label>
<span class="js-input__helper"></span>
</div>
<!-- delivery address -->
<h2 class="subheading">Delivery address</h2>
<div class="text-field-group">
<div class="text-field flex-grid-halfs">
<input class="text-field__input text-field--floating-label" type="text" name="first" id="first" required>
<label class="text-field__label" for="first">First</label>
<span class="js-input__helper"></span>
</div>
<div class="text-field flex-grid-halfs">
<input class="text-field__input text-field--floating-label" type="text" name="last" id="last" required>
<label class="text-field__label" for="last">Last</label>
<span class="js-input__helper"></span>
</div>
<div class="text-field flex-grid-halfs">
<input class="text-field__input text-field--floating-label" type="text" name="address" id="address" required>
<label class="text-field__label" for="address">Address</label>
<span class="js-input__helper"></span>
</div>
<div class="text-field flex-grid-halfs">
<input class="text-field__input text-field--floating-label" type="text" name="address2" id="address2" required>
<label class="text-field__label" for="address2">Address 2</label>
<span class="js-input__helper"></span>
</div>
<div class="text-field flex-grid-thirds">
<input class="text-field__input text-field--floating-label" type="text" name="city" id="city" required>
<label class="text-field__label" for="city">City</label>
<span class="js-input__helper"></span>
</div>
<div class="text-field flex-grid-thirds">
<select class="text-field__input text-field--floating-label" name="state" id="state" required>
<option value="" disabled selected hidden></option>
</select>
<label class="text-field__label" for="state">State</label>
<i class="material-icons select_arrow">arrow_drop_down</i>
<span class="js-input__helper"></span>
</div>
<div class="text-field flex-grid-thirds">
<input class="text-field__input text-field--floating-label" type="text" name="zip" id="zip" required>
<label class="text-field__label" for="zip">Postal code</label>
<span class="js-input__helper"></span>
</div>
</div>
<!-- payment method -->
<h2 class="subheading">Payment Method</h2>
<div class="text-field-group">
<div class="text-field flex-grid-full">
<input class="text-field__input text-field--floating-label" type="text" name="name-on-card" id="name-on-card" required>
<label class="text-field__label" for="name-on-card">Name on card</label>
<span class="js-input__helper"></span>
</div>
<div class="text-field flex-grid-full">
<input class="text-field__input text-field--floating-label" type="text" name="card-number" id="card-number" required>
<label class="text-field__label" for="card-number">Card number</label>
<span class="js-input__helper"></span>
</div>
<div class="text-field flex-grid-thirds">
<input class="text-field__input text-field--floating-label" type="text" name="month" id="card-month" required>
<label class="text-field__label" for="month">MM</label>
<span class="js-input__helper"></span>
</div>
<div class="text-field flex-grid-thirds">
<input class="text-field__input text-field--floating-label" type="text" name="year" id="card-year" required>
<label class="text-field__label" for="year">YY</label>
<span class="js-input__helper"></span>
</div>
<div class="text-field flex-grid-thirds">
<input class="text-field__input text-field--floating-label" type="text" name="cvc" id="card-cvc" required>
<label class="text-field__label" for="cvc">CVC</label>
<span class="js-input__helper"></span>
</div>
</div>
<!-- store billing details -->
<div class="checkout__checkbox checkbox">
<input class="checkbox__input" id="billing" type="checkbox" name="billing" value="billing" checked>
<label class="checkbox__label" for="billing">Save billing method for next purchase?</label>
</div>
<!-- coupon code -->
<div class="icon-text-field text-field--coupon">
<input class="text-field__input text-field__icon text-field--single js-coupon-codes" type="text" name="promo" placeholder="Add promo code">
<i class="material-icons dark">loyalty</i>
<span class="js-input__helper"></span>
</div>
</section>
<!-- order confirm -->
<section class="order-confirm card">
<div class="order-confirm__header">
<h1 class="order-confirm__title title">Order</h1>
<button class="btn--icon btn--shipping--close js-btn--shipping--close" onclick="closeShippingForm()">
<i class="material-icons dark">close</i>
</div>
<ul class="menu body-1 js-order-confirm">
<li class="menu__item">
<span>Item(s)</span>
<span class="js-item-total"></span>
</li>
<li class="menu__item">
<span>Estimated tax</span>
<span class="js-estimated-tax"></span>
</li>
<li class="menu__item">
<span>Delivery</span>
<span class="js-shipping-cost">$5</span>
</li>
<li class="menu__item">
<span>Estimated total</span>
<span class="js-order-total"></span>
</li>
</ul>
<button type="submit" form="js-checkout-form" value="submit" class="btn--place-order btn--raised accent primary-text--light">PLACE ORDER</button>
</section>
</form>
</div>
<script src="dialogs/js/shipping.js" defer></script>
<script src="demo-page/demo-page.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyC89f5W97iiKZFMoi-KuI6beOEf7SMBViQ&callback=initMap" async defer></script>
</body>
</html>