-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
472 lines (394 loc) · 16.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Glossier</title>
<!-- for icon -->
<link rel="icon" href="https://i.ibb.co/1d9BGZK/download-1-removebg-preview.jpg">
<!-- For font awesome premium icons -->
<link rel="stylesheet" data-purpose="Layout StyleSheet" title="Web Awesome"
href="/css/app-wa-02670e9412103b5852dcbe140d278c49.css?vsn=d">
<link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.4.2/css/all.css">
<link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.4.2/css/sharp-solid.css">
<link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.4.2/css/sharp-regular.css">
<link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.4.2/css/sharp-light.css">
<!-- For font awesome premium icons ends here -->
<link rel="stylesheet" href="./Styles/footer.css">
<link rel="stylesheet" href="./Styles/home.css">
</head>
<body>
<div id="cartContainer">
<div id="cart-header">
<h3>Your bag <span id="totalItem">(5 items)</span></h3>
<p class="crossIcon" id="closeCart">× </p>
</div>
<section style="width: 100%;" id="product-section">
<div
style=" width: 88%; margin: auto; padding: 7px 0px 15px 0; margin-bottom: 15px; border-bottom: 6px solid rgba(95, 88, 88, 0.46);">
<p style="text-align: center;" id="shippingCharges">Congrats! You get free standard shipping.</p>
</div>
<div style="width: 100%;" id="product-list-wrapper">
</div>
<p style="margin:15px 0 15px 22px; font-size: 20px;">Also</p>
<div id="extra-products">
<div class="extra-card">
<img src="https://glossier-prod.imgix.net/products/glossier-after-baume-carousel-01_23fe78f1-1917-42e6-9448-b7f44e65acfc.png?auto=compress,format&cs=srgb&w=540"
alt="">
<p>Lip Balm for Women</p>
<button>$15</button>
</div>
<div class="extra-card">
<img src="https://glossier-prod.imgix.net/products/glossier-you-rollerball-carousel-01.png?auto=compress,format&cs=srgb&w=540"
alt="">
<p>Glossier Rollerball</p>
<button>$23</button>
</div>
<div class="extra-card">
<img src="https://glossier-prod.imgix.net/products/glossier-beautybag-carousel-01.png?auto=compress,format&cs=srgb&w=540"
alt="">
<p>The Beauty Bag </p>
<button>$41</button>
</div>
<div class="extra-card">
<img src="https://glossier-prod.imgix.net/files/glossier-boybrow-ingredients_6c9018b6-54b6-42c0-8863-c874f35bb88d.png?auto=compress,format&cs=srgb&w=360"
alt="">
<p>Hair Brush</p>
<button>$10</button>
</div>
<div class="extra-card">
<img src="https://glossier-prod.imgix.net/files/glossier-dropdown-nav-goods-884x1105.png?auto=compress,format&cs=srgb&w=360"
alt="">
<p>Water Bottle</p>
<button>$20</button>
</div>
<div class="extra-card">
<img src="https://glossier-prod.imgix.net/files/glossier-milkjelly-cleansingbar-ugc-01.png?auto=compress,format&cs=srgb&w=540"
alt="">
<p>Baby Soap</p>
<button>$25</button>
</div>
<div class="extra-card">
<img src="https://glossier-prod.imgix.net/products/glossier-cleanser-concentrate-carousel-01.png?auto=compress,format&cs=srgb&w=540"
alt="">
<p>Face Serum for Woman</p>
<button>$35</button>
</div>
</div>
</section>
<!-- -->
<div id="checkout">
<div class="pointer">
<p>$<span id="totalPrice">93</span> − Checkout </p>
</div>
</div>
</div>
<div class="backdrop"></div>
<section id="navbar" class="section-p1">
<div class="logo-box">
<a href="index.html">
<h3>Glossier.</h3>
</a>
</div>
<div class="container-2">
<li><a href="#">
Skincare
</a></li>
<li><a href="#">
Makeup
</a></li>
<li><a href="#">
Sets
</a></li>
<li><a href="product.html">
All
</a></li>
</div>
<div class="container-3">
<li><a href="#"><input type="search" class="search" placeholder="Searh here..."><i id="searchIcon"
class="fa-regular fa-magnifying-glass"></i></a></li>
<li><a href="login.html" id="userName"><i class="fa-light fa-user loginIcon"></i></a></li>
<li><a href="#"><i class="fa-light fa-heart"></i></a></li>
<li id="cartOpen">
<a href="#"><i id="cartIcon" class="fa-light fa-bag-shopping cartIcon"> <span
id="cartTotal">0</span></i></a>
</li>
</div>
<div class="mobile-nav">
<span class="crossIcon" id="closeNav">× </span>
<span>Skincare</span>
<span>Face Care</span>
<span>Makeup</span>
<span>search</span>
<span>Cart</span>
<span>Login</span>
<span>SignUp</span>
</div>
<div class="mobileIcon"><i id="bar" class="fas fa-outdent"></i></div>
</section>
<section id="hero">
<div class="section-p1">
<h1>Olivia Rodrigo's top hits</h1>
<p>Olivia gave us her desert island beauty must-haves, which are available together in our
latest set.</p>
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRC3MgUkLXj-qqpCz-mzlEfKd2qcT_N5RIiOA&usqp=CAU"
alt="">
<button onclick="window.location.href='product.html';">Choose Set</button>
</div>
</section>
<section id="content">
<h1><span>LIFE</span> BEAUTY INSPIRED BY REAL</h1>
<h4>
<p>Glossier is a new approach to beauty. its about</p>
<p>fun and freedom and being OK with yourself</p>
<p>today. We make intuitive, uncomplicated products</p>
<p>designed to live with you.</p>
</h4>
<img id="contentBg" src="../Images/contentBg.jpg" alt="">
</section>
<section id="best-seller" class="section-p1">
<div>
<p>OUR BEST</p>
<P>Shop besellers</P>
</div>
<div class="product-list-container">
<div class="product single">
<img style="width: 100%; height: 90%;"
src="https://glossier-prod.imgix.net/products/glossier-cleanser-concentrate-carousel-01.png?auto=compress,format&cs=srgb&w=540"
alt="">
<span>CLARIFYING FACE WASH</span>
<div>
<p>Cleanser Concentrate</p>
<p>$20</p>
</div>
<i class="fa-light fa-heart"></i>
</div>
<div class="product single">
<img style="width: 100%; height: 90%;"
src="https://glossier-prod.imgix.net/products/glossier-futuredew-carousel-01.png?auto=compress,format&cs=srgb&w=540"
alt="">
<span>OIL SERUM HYBRID</span>
<div>
<p>Futuredew</p>
<p>$24</p>
</div>
<i class="fa-light fa-heart"></i>
</div>
<div class="product double">
<img style="width: 100%; height: 90%;"
src="https://i.pinimg.com/736x/60/de/6c/60de6cc8d1116dbedbe05a24a0d26c2a.jpg" alt="">
<span>CLEANSER+MOISTURIZER+LIP BALM</span>
<div>
<p>The 3-step Skincare Routine</p>
<p>$44</p>
</div>
<i class="fa-light fa-heart"></i>
</div>
</div>
<div class="underline">
<p></p>
<p></p>
<i class="fa-regular fa-arrow-right-long"></i>
</div>
</section>
<section id="categories" class="section-p1">
<p>CATEGORIES</p>
<div>
<div class="cat1 cat">
<img style="width: 100%; height: 100%;" src="../Images/pro1.jpg" alt="">
</div>
<div class="cat2 cat">
<img style="width: 100%; height: 100%;" src="../Images/pro2.jpg" alt="">
</div>
<div class="cat3 cat">
<p>Skin first</p>
<span>Our skincare essentials are
designed to make you look and feel
your glowy, dewy best before you
even think about makeup.</span>
<button>See all skincare</button>
</div>
<div class="cat3 cat">
<p>Makeup second</p>
<span>Products that give you options but never cover you up, turn you into someone else.Because
beauty should make you feel good.<span>
<button>See all makeup</button>
</div>
<div class="cat2 cat">
<img style="width: 100%; height: 100%;" src="../Images/pro3.jpg" alt="">
</div>
<div class="cat1 cat">
<img style="width: 100%; height: 100%;" src="../Images/pro4.jpg" alt="">
</div>
</div>
</section>
<section id="quotes" class="section-p1">
<p>QUOTES</p>
<div>
<div class="quote">
<p>VOGUE</p>
<span>Revolution for its time, harnessing a certain
come-as-you-are acceptance >></span>
</div>
<div class="quote">
<p>TIME</p>
<span>Allow(s) women to look like the best version of
themselves, not as aspiration version of someone else >></span>
</div>
<div class="quote">
<p>B<i class="fa-brands fa-quora"></i>F</p>
<span>In an age of online access and unending choice,
customer engagement is something that Glossier
has gotten right >></span>
</div>
</div>
</section>
<section id="quizes" class="section-p1">
<div>
<p>QUIZES</p>
<p>Show all quizzes</p>
</div>
<div class="video-container">
<div class="video video1">
<p>5 MIN</p>
<p>What's your skincare routine missing?</p>
<video autoplay muted loop src="../Images/video1.mp4"></video>
</div>
<div class="video video2">
<p>3 MIN</p>
<p>What Lidstar shade are you?</p>
<video autoplay loop muted src="../Images/video2.mp4"></video>
</div>
<div class="video video3">
<p>4 MIN</p>
<p>Which Balm Dotcom are you today?</p>
<video autoplay loop muted src="../Images/video3.mp4"></video>
</div>
<div class="video video4">
<p>2 MIN</p>
<p>What's your skin type?</p>
<video autoplay loop muted src="../Images/video4.mp4"></video>
</div>
</div>
<div class="underline">
<p></p>
<p></p>
<i class="fa-regular fa-arrow-right-long"></i>
</div>
</section>
<section id="sets" class="section-p1">
<div>
<p>SETS</p>
<p>Show all sets</p>
</div>
<div class="set-container">
<div class="set double">
<img style="width: 100%; height: 90%;" src="../Images/pro7.jpg" alt="">
<span>LIGHTWEIGHT SUMMER BAISCS
</span>
<div>
<p>The makeup kit + Balm Dotcom</p>
<p>$54</p>
</div>
<button>Save $13</button>
</div>
<div class="set single">
<img style="width: 100%; height: 90%; " src="../Images/pro5.jpg" alt="">
<span>RETINOID + SUNSCREEN </span>
<div>
<p>Protect Duo</p>
<p>$50</p>
</div>
<button>Save $10</button>
</div>
<div class="set single">
<img style="width: 100%; height: 90%;" src="../Images/pro6.jpg" alt="">
<span>FOR EYES, CHEEKS, AND LIPS</span>
<div>
<p>Color all over set</p>
<p>$49</p>
</div>
<button>Save $5</button>
</div>
</div>
<div class="underline">
<p></p>
<p></p>
<i class="fa-regular fa-arrow-right-long"></i>
</div>
</section>
<section id="feature" class="section-p1">
<div>
<p>SEE IT IN REAL LIFE</p>
<div>
<p>Real people show you how they wear Glossier</p>
<p>Share your <span>#yesglossier</span> with the community
on social and be sure to tag <span>@glossier</span> for
a chance to be featured in our gallery- and on our
Instagram!</p>
</div>
</div>
<div class="feature-product-container">
<div>
<img src="https://images.fastcompany.net/image/upload/w_596,c_limit,q_auto:best,f_auto/wp-cms/uploads/2022/04/1-1-glossie-olivia.jpg"
alt="">
</div>
<div>
<img src="https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcSv04WJ78wUGw6JW-DDIsM9-mOiewHZzQ6tNbZjRNtgWnYOCMSG"
alt="">
</div>
<div>
<img src="https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcQmS2-GiAHsBB7oFaLGgaoLzE7bDTiFm8r09BVs76qgGY7htiRy"
alt="">
</div>
<div>
<img src="https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcTDj_zBfv9RUY4p0seqyZgTDYNFOq_RWGevnsb7sAwgDeOSXXg-"
alt="">
</div>
</div>
<div class="button">
<button>Follow us on Instagram</button>
</div>
</section>
<section id="newsletter" class="section-m1">
<div>
<i class="fa-thin fa-envelope-open-text"></i>
</div>
<div>
<p>We'll send you occasional emails about whatever's on our minds: product launches, beauty routines,
events, puppies, you get the idea.</p>
</div>
<div>
<div class="searchBar">
<input type="email" placeholder="Your Email">
<button>I'm in</button>
</div>
<span>Yes,I accept the terms of glossier's privacy policy</span>
</div>
</section>
<footer id="footer">
</footer>
</body>
<script type="module">
import { footer } from "./Components/footer.js";
let footerbox = document.getElementById("footer")
footerbox.innerHTML = footer();
let navbar = document.querySelector("#navbar")
window.addEventListener("scroll", () => {
if (document.documentElement.scrollTop >= 640) {
let navbar = document.querySelector("#navbar")
document.querySelector("#navbar").style.color = "red"
navbar.style.backgroundColor = "black";
}
else if (document.documentElement.scrollTop < 640) {
let navbar = document.querySelector("#navbar")
navbar.style.backgroundColor = "#CAD2D3";
navbar.style.color = "white";
}
})
</script>
<script src="./Components/nav.js"></script>
</html>