-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
296 lines (248 loc) · 12 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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fresh Bar</title>
<link rel="preload" href="fonts/mulish-v12-cyrillic_latin-600.woff2" as="font"
type="font/woff2" crossorigin>
<link rel="preload" href="fonts/mulish-v12-cyrillic_latin-900.woff2" as="font"
type="font/woff2" crossorigin>
<link rel="preload" href="fonts/mulish-v12-cyrillic_latin-regular.woff2"
as="font" type="font/woff2" crossorigin>
<link rel="icon" type="image/svg+xml" href="favicon.svg">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
<script src="js/script.js" type="module"></script>
</head>
<body>
<header class="header">
<h1 class="visually-hidden">Fresh Bar - Свежие, Летние и Вкусные Коктейли
</h1>
<div class="container header__container">
<img class="header__logo" src="img/logo.svg" alt="Логотип Freshy Bar">
<div class="header__btns">
<button class="header__btn-order" data-count="0">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none"
xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M8.24999 7.013V6C8.24999 5.00544 8.64508 4.05161 9.34834 3.34835C10.0516 2.64509 11.0054 2.25 12 2.25C12.9946 2.25 13.9484 2.64509 14.6516 3.34835C15.3549 4.05161 15.75 5.00544 15.75 6V7.013C17.047 7.05 17.837 7.183 18.442 7.68C19.272 8.36 19.502 9.514 19.965 11.823L20.565 14.823C21.229 18.143 21.561 19.803 20.661 20.902C19.76 22 18.067 22 14.68 22H9.31999C5.93399 22 4.23999 22 3.33999 20.902C2.43999 19.804 2.77199 18.144 3.43599 14.823L4.03599 11.823C4.49799 9.514 4.72899 8.36 5.55799 7.68C6.16399 7.184 6.954 7.05 8.251 7.013H8.24999ZM9.74999 6C9.74999 5.40326 9.98705 4.83097 10.409 4.40901C10.831 3.98705 11.4033 3.75 12 3.75C12.5967 3.75 13.169 3.98705 13.591 4.40901C14.0129 4.83097 14.25 5.40326 14.25 6V7H9.74999V6ZM15 11C15.2652 11 15.5196 10.8946 15.7071 10.7071C15.8946 10.5196 16 10.2652 16 10C16 9.73478 15.8946 9.48043 15.7071 9.29289C15.5196 9.10536 15.2652 9 15 9C14.7348 9 14.4804 9.10536 14.2929 9.29289C14.1054 9.48043 14 9.73478 14 10C14 10.2652 14.1054 10.5196 14.2929 10.7071C14.4804 10.8946 14.7348 11 15 11ZM9.99999 10C9.99999 10.2652 9.89464 10.5196 9.7071 10.7071C9.51957 10.8946 9.26521 11 8.99999 11C8.73478 11 8.48042 10.8946 8.29289 10.7071C8.10535 10.5196 7.99999 10.2652 7.99999 10C7.99999 9.73478 8.10535 9.48043 8.29289 9.29289C8.48042 9.10536 8.73478 9 8.99999 9C9.26521 9 9.51957 9.10536 9.7071 9.29289C9.89464 9.48043 9.99999 9.73478 9.99999 10Z"
fill="black" />
</svg>
</button>
<a href="#goods" class="btn header__btn">Заказать</a>
</div>
</div>
</header>
<main>
<section class="hero">
<div class="container hero__container">
<h2 class="hero__title">Выбери свой
<span class="text-red">освежающий</span> фреш
</h2>
<div class="hero__cups">
<div class="hero__cup hero__cup_pink">
<img class="hero__img" src="img/pink.png"
alt="Стакан с розовым коктейлем">
</div>
<div class="hero__cup hero__cup_orange">
<img class="hero__img" src="img/green.png"
alt="Стакан с зеленым коктейлем">
</div>
<div class="hero__cup hero__cup_green">
<img class="hero__img" src="img/orange.png"
alt="Стакан с оранжевым коктейлем">
</div>
</div>
<div class="decor">
<div class="decor__img decor__img_01"></div>
<div class="decor__img decor__img_02"></div>
<div class="decor__img decor__img_03"></div>
<div class="decor__img decor__img_04"></div>
<div class="decor__img decor__img_05"></div>
<div class="decor__img decor__img_06"></div>
</div>
</div>
</section>
<section class="goods" id="goods">
<div class="container">
<h2 class="goods__title">Меню</h2>
<ul class="goods__list">
<li class="goods__item">
<article class="cocktail">
<img class="cocktail__img" src="img/make-your-own.jpg"
alt="Коктейл собери сам">
<div class="cocktail__content">
<div class="cocktail__text">
<h3 class="cocktail__title">Собери сам</h3>
<p class="cocktail__price text-red">260 ₽</p>
<p class="cocktail__size">300мл</p>
</div>
<button
class="btn cocktail__btn cocktail__btn_make">Добавить</button>
</div>
</article>
</li>
</ul>
</div>
</section>
</main>
<footer class="footer">
<div class="container footer__container">
<img class="footer__logo" src="img/logo.svg" alt="Логотип Freshy Bar">
<p class="footer__copyright">© Fresh Bar, 2024</p>
</div>
</footer>
<div class="modal modal_order">
<div class="modal__main modal__main_order">
<div class="order">
<h2 class="order__title">Корзина<sup
class="text-red order__count">(2)</sup>
</h2>
<ul class="order__list">
</ul>
<div class="order__price">
<p class="order__price-title">Итого:</p>
<p class="order__total-price text-red">950 ₽</p>
</div>
<form class="order__form">
<label class="order__label">
<input class="order__input" type="text" required name="name"
placeholder="Ваше имя">
</label>
<label class="order__label">
<input class="order__input" type="text" required name="phone"
placeholder="Телефон">
</label>
<button class="order__submit btn">Заказать</button>
</form>
</div>
</div>
</div>
<div class="modal modal_make-your-own">
<div class="modal__main modal__main_make">
<div class="make">
<h3 class="make__title">Собери
<span class="text-red">свой</span> смузи
</h3>
<form class="make__form make__form_make-your-own">
<input class="make__input-title" type="hidden" name="title">
<fieldset class="make__fieldset make__fieldset_ingredients">
<label class="make__label checkbox">
<input class="checkbox__input" type="checkbox" name="ingredients"
value="Клубника">Клубника
</label>
<label class="make__label checkbox">
<input class="checkbox__input" type="checkbox" name="ingredients"
value="Банан">Банан
</label>
<label class="make__label checkbox">
<input class="checkbox__input" type="checkbox" name="ingredients"
value="Манго">Манго
</label>
<label class="make__label checkbox">
<input class="checkbox__input" type="checkbox" name="ingredients"
value="Киви">Киви
</label>
<label class="make__label checkbox">
<input class="checkbox__input" type="checkbox" name="ingredients"
value="Маракуйя">Маракуйя
</label>
<label class="make__label checkbox">
<input class="checkbox__input" type="checkbox" name="ingredients"
value="Яблоко">Яблоко
</label>
</fieldset>
<div class="make__wrap-add">
<fieldset class="make__fieldset make__fieldset_topping">
<legend class="make__legend">Дополнительно:</legend>
<label class="make__label checkbox">
<input class="checkbox__input" type="checkbox" name="topping"
value="Мята">Мята
<span class="make__upsale">(+50 ₽)</span>
</label>
<label class="make__label checkbox">
<input class="checkbox__input" type="checkbox" name="topping"
value="Лед">Лед
<span class="make__upsale">(+10 ₽)</span>
</label>
</fieldset>
<fieldset class="make__fieldset make__fieldset_cup">
<legend class="make__legend">Стакан:</legend>
<label class="make__label radio">
<input class="radio__input" type="radio" name="cup"
value="Биоразлагаемый">Биоразлагаемый
<span class="make__upsale">(+20 ₽)</span>
</label>
<label class="make__label radio">
<input class="radio__input" type="radio" checked name="cup"
value="Пластиковый">Пластиковый
<span class="make__upsale">(+0 ₽)</span>
</label>
</fieldset>
</div>
<div class="make__footer">
<button class="btn make__add-btn" type="submit">Добавить</button>
<div class="make__total">
<input class="make__input make__input_price" type="hidden"
name="price" value="150">
<p class="make__total-price text-red">150 ₽</p>
<input class="make__input make__input_size" type="hidden"
name="size" value="300">
<p class="make__total-size">300мл</p>
</div>
</div>
</form>
</div>
</div>
</div>
<div class="modal modal_add">
<div class="modal__main modal__main_make">
<div class="make">
<h3 class="make__title">Банановый смузи</h3>
<form class="make__form make__form_add">
<input class="make__input-title" type="hidden" name="title">
<div class="make__wrap-add">
<fieldset class="make__fieldset make__fieldset_topping">
<legend class="make__legend">Дополнительно:</legend>
<label class="make__label checkbox">
<input class="checkbox__input" type="checkbox" name="topping"
value="Мята">Мята
<span class="make__upsale">(+50 ₽)</span>
</label>
<label class="make__label checkbox">
<input class="checkbox__input" type="checkbox" name="topping"
value="Лед">Лед
<span class="make__upsale">(+10 ₽)</span>
</label>
</fieldset>
<fieldset class="make__fieldset make__fieldset_cup">
<legend class="make__legend">Стакан:</legend>
<label class="make__label radio">
<input class="radio__input" type="radio" name="cup"
value="Биоразлагаемый">Биоразлагаемый
<span class="make__upsale">(+20 ₽)</span>
</label>
<label class="make__label radio">
<input class="radio__input" type="radio" checked name="cup"
value="Пластиковый">Пластиковый
<span class="make__upsale">(+0 ₽)</span>
</label>
</fieldset>
</div>
<div class="make__footer">
<button class="btn make__add-btn" type="submit">Добавить</button>
<div class="make__total">
<input class="make__input-start-price" type="hidden">
<p class="make__total-price text-red">340 ₽</p>
<input class="make__input-price" type="hidden" name="price">
<p class="make__total-size">300мл</p>
<input class="make__input-size" type="hidden" name="size">
</div>
</div>
</form>
</div>
</div>
</div>
</body>
</html>