-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
383 lines (283 loc) · 12.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link rel="stylesheet" href="style.css">
<title>Perfume Website</title>
</head>
<body>
<div class="main-container bg-dark-black">
<div class="circle"></div>
<div class="container">
<!--Nav-bar-->
<header>
<nav class="navbar">
<div class="logo"></div>
<ul class="navlist js-navlist">
<li>
<a href="" class="navlinks active">Home</a>
</li>
<li>
<a href="amazon.html" class="navlinks">All Products</a>
</li>
<li>
<a href="gallery.html" class="navlinks">Gallery</a>
</li>
<li>
<a href="checkout.html" class="navlinks"><i class="fa fa-shopping-cart"></i></a>
</li>
</ul>
<div class="hamburger js-hamburger">
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</div>
</nav>
</header>
<!--hero-section-->
<div class="hero-section">
<div class="left-container">
<h1>THE FRAGRANCE OF LIFE</h1>
</div>
<div class="middle-container">
<img src="images/perfume.png" alt="">
</div>
<div class="right-container">
<p class="para" data-type="border-para"> A World of Luxurious Scents Discover our exclusive collection of premium fragrances crafted to elevate your senses.
Shop now and indulge in the allure of captivating perfumes, curated just for you. <br> <br>
<a href="amazon.html" class="primary-button">Shop Now</a></p>
</div>
</div>
</div>
</div>
<!--slider-->
<div class="scroll-container bg-dark-black">
<div class="scroll">
<h2 data-type="scroll-txt">50% OFF</h2>
<h2 data-type="scroll-txt">Order Now</h2>
<div class="break"></div>
</div>
<div class="scroll">
<h2 data-type="scroll-txt">50% OFF</h2>
<h2 data-type="scroll-txt">Order Now</h2>
<div class="break"></div>
</div>
<div class="scroll">
<h2 data-type="scroll-txt">50% OFF</h2>
<h2 data-type="scroll-txt">Order Now</h2>
<div class="break"></div>
</div>
<div class="scroll">
<h2 data-type="scroll-txt">50% OFF</h2>
<h2 data-type="scroll-txt">Order Now</h2>
<div class="break"></div>
</div>
</div>
<main>
<!--Story Section-->
<section class="section bg-light-black">
<div class="container row">
<div class="product-container">
<img src="images/perfume1.png" alt="">
</div>
<div class="content">
<h2>Our Little Story</h2>
<p class="para">At Magisitic Fragrance, our journey began with a passion for creating scents that evoke memories and emotions.
What started as a small collection of handmade fragrances has blossomed into a curated selection of perfumes that cater to every mood, occasion, and personality.
Each bottle tells a story, crafted with the finest ingredients to ensure that every spritz leaves a lasting impression.
From day one, we’ve been committed to bringing the art of perfumery to life, blending tradition with innovation to create unique fragrances for you to cherish.
</p>
<a href="#" class="primary-button">Read More</a>
</div>
</div>
</section>
<!--Best Selling Products-->
<section class="section bg-dark-black">
<div class="container column">
<h2>Best Selling Products</h2>
<div class="grid-cards-container">
<div class="card">
<div class="card-product">
<img src="images/perfume2.png" alt="">
</div>
<div class="card-info">
<h4>Giorgio Armani Acqua di Gio</h4>
<p class="price">$310.00</p>
<a href="#" class="primary-button">Add to Cart</a>
</div>
</div>
<div class="card">
<div class="card-product">
<img src="images/perfume3.png" alt="">
</div>
<div class="card-info">
<h4>CHANEL COCO MADEMOISELLE</h4>
<p class="price">$220.00</p>
<a href="#" class="primary-button">Add to Cart</a>
</div>
</div>
<div class="card">
<div class="card-product">
<img src="images/perfume4.png" alt="">
</div>
<div class="card-info">
<h4>Poison by Christian Dior</h4>
<p class="price">$240.00</p>
<a href="#" class="primary-button">Add to Cart</a>
</div>
</div>
<div class="card">
<div class="card-product">
<img src="images/perfume5.png" alt="">
</div>
<div class="card-info">
<h4>Nette Opening Night at Sephora</h4>
<p class="price">$300.00</p>
<a href="#" class="primary-button">Add to Cart</a>
</div>
</div>
<div class="card">
<div class="card-product">
<img src="images/perfume6.png" alt="">
</div>
<div class="card-info">
<h4>Givenchy Organza Paris</h4>
<p class="price">$350.00</p>
<a href="#" class="primary-button">Add to Cart</a>
</div>
</div>
<div class="card">
<div class="card-product">
<img src="images/perfume7.png" alt="">
</div>
<div class="card-info">
<h4>Creed Aventus for Her</h4>
<p class="price">$280.00</p>
<a href="#" class="primary-button">Add to Cart</a>
</div>
</div>
</div>
</div>
</section>
<!--Our Services-->
<section class="section bg-light-black">
<div class="container column">
<h2>Our Services</h2>
<div class="grid-cards-container">
<div class="services-card">
<h3>Free Shipping</h3>
<p class="para">Enjoy fast and free delivery on all orders,
bringing your favorite fragrances straight to your doorstep
with no extra cost or delays.
</p>
</div>
<div class="services-card">
<h3>Free Customer Support</h3>
<p class="para">Our dedicated customer support team is here for you 24/7,
ready to assist with any inquiries and ensure a smooth,
hassle-free shopping experience.
</p>
</div>
<div class="services-card">
<h3>Payment Security</h3>
<p class="para">Shop confidently with our advanced payment security,
keeping your personal and payment information fully
safe and protected at every step.
</p>
</div>
</div>
</div>
</section>
<!--Sale Banner Section-->
<div class="section bg-dark-black banner">
<div class="glow1"></div>
<div class="glow1 glow1-copy"></div>
<div class="glow2 glow2-copy"></div>
<div class="glow2"></div>
<div class="container row">
<div class="sale-product">
<img src="images/sale perfume.png">
</div>
<div class="sale-content">
<p class="sale-heading">Celebrate Day Sale!</p>
<h3 class="sale-txt">Save 25% Off On All <br> Items Collection</h3>
<a href="amazon.html" class="primary-button">Shop Now</a>
</div>
</div>
</div>
<!--Gallery Section-->
<section class="section bg-light-black">
<div class="container column">
<h2>Our Perfume Gallery</h2>
<div class="gallery-container">
<div class="image-gallery">
<img src="images/products2/gallery1.jpg" alt="">
</div>
<div class="image-gallery">
<img src="images/products2/gallery2.jpg" alt="">
</div>
<div class="image-gallery">
<img src="images/products2/gallery3.jpg" alt="">
</div>
<div class="image-gallery">
<img src="images/products2/gallery4.jpg" alt="">
</div>
<div class="image-gallery">
<img src="images/products2/gallery5.jpg" alt="">
</div>
<div class="image-gallery">
<img src="images/products2/gallery6.jpg" alt="">
</div>
<div class="image-gallery">
<img src="images/products2/gallery7.jpg" alt="">
</div>
<div class="image-gallery">
<img src="images/products2/gallery8.jpg" alt="">
</div>
</div>
</div>
</section>
</main>
<!------Footer--->
<footer class="section bg-dark-black">
<div class="container">
<p class="footer-txt">Copyright © 2024 all rights are reserved by Fragrance of Life.</p>
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/gsap.min.js"></script>
<script>
const hamburger_icon = document.querySelector('.js-hamburger');
const menu_list = document.querySelector('.js-navlist');
hamburger_icon.addEventListener('click', () => {
menu_list.classList.toggle('navlist-active');
});
window.addEventListener("load", () => {
// Animate the heading (left-container)
gsap.from(".left-container h1", {
opacity: 0,
x: -100, // Slide in from the left
duration: 2,
ease: "power2.out",
});
// Animate the perfume image (middle-container)
gsap.from(".middle-container img", {
opacity: 0,
scale: 0.8, // Scale up animation
duration: 3,
ease: "elastic.out(1, 0.5)", // Elastic effect for bounce
delay: 1, // Start after heading animation
});
// Animate the paragraph and button (right-container)
gsap.from(".right-container .para", {
opacity: 0,
x: 100, // Slide in from the right
duration: 1.5,
ease: "power2.out",
delay: 0.3, // Start after image animation
});
});
</script>
</body>
</html>