-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
553 lines (526 loc) · 21.5 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
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
<!-- Written by Süha Tanrıverdi, 2024 All Rights Reserved. -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Gülderen</title>
<!-- Import CSS files -->
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="style_mobile.css" />
<!-- Fav Icon -->
<link rel="icon" type="image/x-icon" href="./public/rose.ico" />
<!-- Arrow Icon -->
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200"
/>
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Nova+Flat&display=swap"
rel="stylesheet"
/>
<!-- Material Icons -->
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200"
/>
</head>
<body id="hero" class="flex j-c-cntr brown-color">
<nav id="blurred-nav" class="flex"></nav>
<nav class="nav-con flex">
<div class="nav-con-inner flex a-i-cntr">
<div class="logo-con flex">
<div class="logo-img">
<img src="./public/hero/rose.png" alt="Company logo" />
</div>
<div id="gulderen" class="text-cntr">
<p class="font-logo font-xxl line-h">Gülderen</p>
</div>
</div>
<input class="checkbox" type="checkbox" id="check" />
<div id="nav-links" class="flex font-light font-larger a-i-cntr">
<!-- Gülderen Logo, Visible on Mobile -->
<div id="gulderen-logo-side-menu" class="logo-con flex">
<div class="logo-img">
<img src="./public/hero/rose.png" alt="Company logo" />
</div>
<div class="text-cntr">
<p class="font-logo font-xxl line-h">Gülderen</p>
</div>
</div>
<label for="check">
<a href="#hero">Ana Sayfa</a>
</label>
<label for="check">
<a href="#order">Sipariş Ver</a>
</label>
<label for="check">
<a href="#preparation">Hazırlanış</a>
</label>
<label for="check">
<a href="#customers">Sizden Gelenler</a>
</label>
<label for="check">
<a href="#faq">SSS</a>
</label>
<label for="check">
<a href="#about-us">Hakkımızda</a>
</label>
</div>
<!-- Empty container just to be able to click on body and close navbar -->
<label id="body-check" for="check"></label>
<!-- Hamburger Button, Visible on Mobile -->
<label id="label" for="check">
<a id="open" class="menu-btn material-symbols-outlined">menu</a>
</label>
</div>
</nav>
<div class="content">
<!-- Hero Section -->
<section class="start-anim hero flex flex-wrap">
<div class="up-down-anim flex flex-col j-c-cntr a-i-cntr">
<div class="glow"></div>
<div class="e-big-con">
<img src="./public/hero/eriste-big.png" alt="Turkish pasta" />
<div class="e-sm-con">
<img src="./public/hero/eriste-small.png" alt="Turkish pasta" />
</div>
</div>
</div>
<div class="flex flex-col j-c-cntr a-i-cntr text-cntr">
<h1 class="m-b-m title-box">
Doğal, Sağlıklı ve Lezzetli Eriştenin Hası!
</h1>
<p class="font-light m-b-m">
Hemen sipariş vermek için butona tıklayın.
</p>
<a href="#order">
<button class="button flex j-c-cntr a-i-cntr">
<span class="material-symbols-outlined m-r-s">
shopping_cart </span
>Sipariş Ver
</button>
</a>
</div>
</section>
<!-- Stroke Line -->
<section id="order" class="stroke-line flex">
<svg height="10" width="100%" xmlns="http://www.w3.org/2000/svg">
<line
x1="0"
x2="100%"
stroke-dasharray="5,3,5"
style="stroke: rgb(193, 117, 30); stroke-width: 2"
/>
</svg>
</section>
<!-- Order Section -->
<h1 class="text-cntr font-light font-xxl m-t-xxl m-b-xxl">Sipariş Ver</h1>
<section class="order flex-col flex">
<div class="flex gap-order j-c-cntr a-i-cntr flex-wrap">
<div class="pos-rel flex flex-col j-c-cntr a-i-cntr">
<p
id="amount"
class="slider-value show weight font-light font-xxxl"
data-value="2"
>
2 kg
</p>
<div>
<img src="./public/order/sack.png" alt="A filled sack" />
</div>
<p class="font-light font-l">Sade Erişte</p>
</div>
<div class="flex flex-col slider-con">
<label for="amount">Miktar Belirleyin:</label><br />
<div class="flex j-c-cntr a-i-cntr order-con m-b-m">
<div class="flex flex-col">
<input
class="slider"
type="range"
id="slider"
name="temp"
min="1"
max="5"
value="2"
list="values"
/>
<datalist id="values">
<option value="1" label="1 Kg"></option>
<option value="2" label="2 Kg"></option>
<option value="3" label="3 Kg"></option>
<option value="4" label="4 Kg"></option>
<option value="5" label="5 Kg"></option>
</datalist>
</div>
</div>
<p class="font-light m-b-m p-box">
Ürünleriniz belirtilen ağırlıkta, görseldeki kutu içerisinde
kargoda tarafınıza teslim edilecektir.
</p>
<button class="button-order flex j-c-cntr a-i-cntr">
<span class="material-symbols-outlined">shopping_cart </span>
<p class="m-l-m">Sipariş Ver</p>
</button>
</div>
</div>
<div class="ingredients-con ingredients-order-con align-self-center">
<p class="font-light p-box-ctr">
Ürünlerimiz yalnızca doğal malzemelerden yapılır ve hiç bir katkı
maddesi içermez.
</p>
<div class="ingredients-con flex a-i-cntr">
<div class="flex flex-col text-cntr j-c-cntr a-i-cntr">
<div class="img-con-s">
<img src="./public/order/wheat.png" alt="Wheat" />
</div>
<p class="font-light m-b-m">Buğday Unu</p>
</div>
<div class="flex flex-col text-cntr j-c-cntr a-i-cntr">
<div class="img-con-s">
<img src="./public/order/egg.png" alt="Wheat" />
</div>
<p class="font-light m-b-m">Yumurta</p>
</div>
<div class="flex flex-col text-cntr j-c-cntr a-i-cntr">
<div class="img-con-s">
<img src="./public/order/salt.png" alt="Wheat" />
</div>
<p class="font-light m-b-m">Tuz</p>
</div>
</div>
</div>
</section>
<!-- Stroke Line -->
<section id="preparation" class="stroke-line flex">
<svg height="10" width="100%" xmlns="http://www.w3.org/2000/svg">
<line
x1="0"
x2="100%"
stroke-dasharray="5,10,5"
style="stroke: rgb(193, 117, 30); stroke-width: 2"
/>
</svg>
</section>
<!-- Preparation Section -->
<h1 class="text-cntr font-light font-xxl m-t-xxl m-b-xxl">Hazırlanış</h1>
<section class="order flex-col flex flex-wrap">
<div class="prep-con flex flex-col a-i-cntr">
<div class="m-b-l align-self-start">
<div class="flex j-c-cntr a-i-cntr m-b-s">
<div class="circle flex j-c-cntr a-i-cntr m-r-s">
<p class="number-title">1</p>
</div>
<p class="prep-titles">Hamur hazırlanır ve açılır</p>
</div>
<div class="prep-img-h">
<img src="./public/preparation/1.png" alt="Dough" />
</div>
</div>
<!-- Arrow Right -->
<div class="m-b-l prep-arrow-h">
<img src="./public/preparation/right.png" alt="arrow" />
</div>
<div class="m-b-l align-self-end">
<div class="flex j-c-cntr a-i-cntr m-b-s">
<div class="circle flex j-c-cntr a-i-cntr m-r-s">
<p class="number-title">2</p>
</div>
<p class="prep-titles">Hamur saçta pişirilir</p>
</div>
<div class="prep-img-h">
<img src="./public/preparation/2.png" alt="Baking" />
</div>
</div>
<!-- Arrow Left -->
<div class="m-b-l prep-arrow-h">
<img src="./public/preparation/left.png" alt="arrow" />
</div>
<div class="m-b-l align-self-start">
<div class="flex j-c-cntr a-i-cntr m-b-s">
<div class="circle flex j-c-cntr a-i-cntr m-r-s">
<p class="number-title">3</p>
</div>
<p class="prep-titles">Hamur kesilip erişte halini alır</p>
</div>
<div class="prep-img-h">
<img src="./public/preparation/3.png" alt="Dough" />
</div>
</div>
<!-- Arrow Right -->
<div class="m-b-l prep-arrow-h">
<img src="./public/preparation/right.png" alt="arrow" />
</div>
<div class="m-b-l align-self-end">
<div class="flex j-c-cntr a-i-cntr m-b-s">
<div class="circle flex j-c-cntr a-i-cntr m-r-s">
<p class="number-title">4</p>
</div>
<p class="prep-titles">Erişteler güneşte kurutulur</p>
</div>
<div class="prep-img-h">
<img src="./public/preparation/5.png" alt="Dough" />
</div>
</div>
<!-- Arrow Left -->
<div class="m-b-l prep-arrow-h">
<img src="./public/preparation/left.png" alt="arrow" />
</div>
<div class="m-b-l align-self-start">
<div class="flex j-c-cntr a-i-cntr m-b-s font-size-fix">
<div class="circle flex j-c-cntr a-i-cntr m-r-s">
<p class="number-title">5</p>
</div>
<p class="prep-titles">Erişteler paketlenir ve depolanır</p>
</div>
<div class="prep-img-h">
<img src="./public/preparation/4.png" alt="Dough" />
</div>
</div>
<!-- Arrow Right -->
<div class="m-b-l prep-arrow-h">
<img src="./public/preparation/right.png" alt="arrow" />
</div>
<div class="m-b-l">
<div class="flex j-c-cntr a-i-cntr">
<p class="prep-titles m-b-m">Afiyet olsun!</p>
</div>
<div class="prep-img-h">
<img src="./public/preparation/6.png" alt="Dough" />
</div>
</div>
</div>
</section>
<!-- Stroke Line -->
<section id="customers" class="stroke-line flex">
<svg height="10" width="100%" xmlns="http://www.w3.org/2000/svg">
<line
x1="0"
x2="100%"
stroke-dasharray="5,10,5"
style="stroke: rgb(193, 117, 30); stroke-width: 2"
/>
</svg>
</section>
<!-- Customer Comments Section -->
<section class="order-cus flex-col flex">
<div class="customers-con flex flex-col a-i-start">
<h1 class="m-b-s font-light font-xxl orange-color">
Müşterilerimizin Yorumları
</h1>
<p class="font-light">Sizden gelen yorumları derledik...</p>
</div>
<div class="comment-con flex j-c-cntr text-cntr">
<div class="flex flex-col a-i-cntr">
<div class="img-con-s m-b-m">
<img src="./public/customer-comments/1.png" alt="Women face" />
</div>
<p class="font-light font-italic m-b-m">
Ben ömrü hayatımda böyle erişte yemedim, gerçekten fiyatının
hakkını sonuna kadar veriyor... Ellerine sağlık Gülderen Teyzem!
</p>
<p class="font-light">Sena Türker</p>
<p class="font-light font-s">Berlin, Almanya</p>
</div>
<div class="flex flex-col a-i-cntr m-h">
<div class="img-con-s m-b-m">
<img
src="./public/customer-comments/2.png"
alt="Women standing"
/>
</div>
<p class="font-light font-italic m-b-m">
Öyle bir erişte düşünün ki Gülderen Teyze eriştelerini yedikten
sonra bir daha ben başka erişte yemem diyeceksiniz.
</p>
<p class="font-light">Arif Türker</p>
<p class="font-light font-s">Berlin, Almanya</p>
</div>
<div class="flex flex-col a-i-cntr">
<div class="img-con-s m-b-m">
<img src="./public/customer-comments/3.png" alt="Women face" />
</div>
<p class="font-light font-italic m-b-m">
Tek kelimeyle muhteşem! Ellerine sağlık Gülderen Teyze! Sayende
hem sağlıklı hem de lezzetli eriştelere kavuştuk
</p>
<p class="font-light">Melih Tanrısevdi</p>
<p class="font-light font-s">Ankara, Türkiye</p>
</div>
</div>
</section>
<!-- Stroke Line -->
<section id="faq" class="stroke-line flex">
<svg height="10" width="100%" xmlns="http://www.w3.org/2000/svg">
<line
x1="0"
x2="100%"
stroke-dasharray="5,10,5"
style="stroke: rgb(193, 117, 30); stroke-width: 2"
/>
</svg>
</section>
<!-- FAQ -->
<section class="order flex-col flex flex-wrap">
<div class="faq-title flex flex-col a-i-start align-self-center">
<h1 class="font-light font-xxl">Sıkça Sorulan Sorular</h1>
</div>
<div class="dropdown-con flex a-i-cntr">
<p>Siparişim ne zaman kargolanır?</p>
</div>
<div class="dropdown-content-con flex">
<p>
Siparişinizin kargolanması bizimle olan iletişiminize bağlıdır,
siparişlerinizi genellikle 1 hafta içerisinde kargoya veriyoruz.
Tarafınıza ulaşmadığı takdirde bizimle hemen iletişime
geçebilirsiniz.
</p>
</div>
<div class="dropdown-con flex a-i-cntr">
<p>Hangi un markasını kullanıyorsunuz?</p>
</div>
<div class="dropdown-content-con flex">
<p>
Ürünlerimizde Çorumdan özel olarak getirtdiğimiz ve Hatap Un markası
ile çalıştığımız bize özel formülü olan bir un kullanmaktayız.
</p>
</div>
<div class="dropdown-con flex a-i-cntr">
<p>Hangi şehirlere gönderim yapılmaktadır?</p>
</div>
<div class="dropdown-content-con flex">
<p>
Ülkemizdeki Yurtiçi kargonun ulaştığı tüm şehirlerimize gönderim
yapmaktayız.
</p>
</div>
<div class="dropdown-con flex a-i-cntr">
<p>Sizinle nasıl iletişime geçebilirim?</p>
</div>
<div class="dropdown-content-con flex">
<p>
Her türlü istek, öneri ve şikayetleriniz için, veya 5kg dan fazla
siparişleriniz için bize WhatsApp hattımızdan ulaşabilirsiniz.
</p>
</div>
</section>
<!-- Stroke Line -->
<section id="about-us" class="stroke-line flex">
<svg height="10" width="100%" xmlns="http://www.w3.org/2000/svg">
<line
x1="0"
x2="100%"
stroke-dasharray="5,10,5"
style="stroke: rgb(193, 117, 30); stroke-width: 2"
/>
</svg>
</section>
<!-- About Us -->
<section class="order-about flex-col flex flex-wrap">
<div class="customers-con m-t-xxl flex flex-col a-i-start m-b-xxl">
<h1 class="font-light font-xxl">Hakkımızda</h1>
</div>
<div class="flex about-con">
<div class="grid-item-1 flex flex-col a-i-cntr">
<div class="logo-con flex m-b-m">
<div class="logo-img">
<img src="./public/hero/rose.png" alt="Company logo" />
</div>
<div id="gulderen" class="text-cntr">
<p class="font-logo font-xxl line-h">Gülderen</p>
</div>
</div>
<p class="about-text">
1971 yılında Ankarada doğan Gülderen teyze, çektiği bütün
sıkıntıları ve cefa dolu hayat mücadelesinde çocuklarını en iyi
şartlarda yetiştirebilmek için elinden geleni yaptı. Yaptığı tüm
yemeklerde elinin lezzeti hiç eksik olmadı. Yılların verdiği el
lezzetiyle günümüze kadar hiç bozulmadan getirdiği kalitesiyle siz
degerli müsterilerimize sağlıklı, kaliteli ve bir o kadar da
lezzetli erişteleri sofranıza getiriyoruz.
</p>
</div>
<div class="grid-item-2 flex flex-col about-menu about-links">
<b>Menü</b>
<a class="font-light" href="#hero">Ana Sayfa</a>
<a class="font-light" href="#order">Sipariş Ver</a>
<a class="font-light" href="#preparation">Hazırlanış</a>
<a class="font-light" href="#customers">Sizden Gelenler</a>
<a class="font-light" href="#faq">SSS</a>
<a class="font-light" href="#about-us">Hakkımızda</a>
</div>
<div class="grid-item-3 flex flex-col about-contact about-links">
<b>Bize Ulaşın</b>
<p class="allow-user-select font-light" href="#">
<span>📞 </span>+90 542 123 12 12
</p>
<p class="allow-user-select font-light" href="#">
<span>✉️ </span>[email protected]
</p>
</div>
</div>
<div class="m-t-xxxl flex flex-col a-i-cntr m-b-xl">
<h1 class="font-light font-s">All Rights Reserved.</h1>
<h1 class="font-light font-s m-b-s">Genesis Corporation™ 2024</h1>
<p class="font-light font-xxs">Created by <b>Süha Tanrıverdi</b></p>
</div>
</section>
<div class="glow-about"></div>
<a id="goTopBtn" class="go-top-btn" href="#hero">
<div class="circle-btn flex j-c-cntr a-i-cntr">
<span class="rot-90-neg material-symbols-outlined">
arrow_forward_ios
</span>
</div>
</a>
</div>
<!-- JS to update kg label based on slider's value -->
<script>
// Slider
const amount = document.getElementById("amount");
const slider = document.getElementById("slider");
slider.addEventListener("input", () => {
const value = slider.value;
amount.textContent = `${value} kg`;
// Add animation class
amount.classList.remove("show");
void amount.offsetWidth; // Trigger reflow to restart animation
amount.classList.add("show");
});
// Go-back-button
const scrollToTopBtn = document.getElementById("goTopBtn");
const rootElement = document.documentElement;
function handleScroll() {
const scrollTotal = rootElement.scrollHeight - rootElement.clientHeight;
if (rootElement.scrollTop / scrollTotal > 0.2) {
// Show button
scrollToTopBtn.classList.add("show-go-top-btn");
} else {
// Hide button
scrollToTopBtn.classList.remove("show-go-top-btn");
}
}
document.addEventListener("scroll", handleScroll);
// Toggle side bar menu on mobile
document
.querySelectorAll('label[for="check"]:not(#label)')
.forEach((label) => {
label.addEventListener("click", function (event) {
event.preventDefault(); // Prevent default anchor behavior
// Toggle the checkbox to close the navbar
const checkbox = document.getElementById("check");
checkbox.checked = !checkbox.checked;
// Navigate to the section
const target = this.querySelector("a").getAttribute("href");
window.scrollTo({
top: document.querySelector(target).offsetTop, // Position of the element
behavior: "smooth",
});
});
});
</script>
</body>
</html>