-
Notifications
You must be signed in to change notification settings - Fork 0
/
single product.html
670 lines (670 loc) · 24.5 KB
/
single product.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
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie:edge" />
<!-- FONT AWESOME CSS LINK -->
<script src="./assets/scripts/all.js" crossorigin="anonymous"></script>
<!-- GOOGLE FONTS LINK -->
<link
href="https://fonts.googleapis.com/css2?family=Calligraffitti&family=Mali:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap"
rel="stylesheet"
/>
<!-- BOOTSTRAP CSS DOWNLOADED LINK -->
<link rel="stylesheet" href="assets/styles/bootstrap.css" />
<!-- MAIN CSS FILE LINK -->
<link rel="stylesheet" href="assets/styles/style.css" />
<title>Comfy Sloth</title>
</head>
<body>
<!-- START HERE -->
<header>
<!-- NAVBAR BURGER BUTTON & LOGO -->
<nav class="navbar navbar-expand-sm navbar-light bg-white">
<a href="#banner" class="navbar-brand"
><img src="./assets/img/logo.png" alt="company logo" /></a
><button
class="navbar-toggler"
data-toggle="collapse"
data-target="#main-nav"
>
<i class="fas fa-bars 2x"></i>
</button>
<!-- NAVBAR ITEMS LINK -->
<div class="collapse navbar-collapse" id="main-nav">
<ul class="navbar-nav mx-auto">
<li class="nav-item mx-2">
<a href="index.html" class="nav-link">Home</a>
</li>
<li class="nav-item mx-2">
<a href="products.html" class="nav-link">Products</a>
</li>
<li class="nav-item mx-2 active">
<a href="single product.html" class="nav-link">Single Product</a>
</li>
<li class="nav-item mx-2">
<a href="store.html" class="nav-link">Store</a>
</li>
</ul>
</div>
<!-- NAVBAR ICON -->
<div class="navbar-icons d-none d-lg-flex">
<div class="mx-2"><i class="fas fa-search text-black"></i></div>
<a href="store.html" class="mx-2 navbar-cart-icon">
<i class="fas fa-shopping-cart"></i>
<div class="cart-items">2</div>
</a>
</div>
</nav>
<!-- PRODUCTS BANNER SECTION -->
<section id="banner-single-product" class="">
<div
class="row banner-single-product align-items-center pl-3 pl-lg-5 text-center"
>
<div class="col">
<h1 class="text-yellow1 text-slanted display-4">Comfy Sloth</h1>
<h1 class="font-weight-bold display-4">Single Product</h1>
</div>
</div>
</section>
</header>
<!-- SINGLE PRODUCT -->
<section id="single-product" class="py-5">
<div class="container">
<div class="row">
<!-- IMAGE SECTION -->
<div class="col-10 col-md-6 col-lg-4 mx-auto text-center my-5">
<div class="single-product-img-container">
<img
src="./assets/img/img-products/product-1.png"
alt=""
class="img-fluid"
/>
</div>
<div class="row single-product-mini-pic mt-3">
<div class="col-2 single-product-pic p-1">
<img
src="./assets/img/img-products/product-1.png"
alt=""
class="img-fluid"
/>
</div>
<div class="col-2 single-product-pic p-1">
<img
src="./assets/img/img-products/product-1.png"
alt=""
class="img-fluid"
/>
</div>
<div class="col-2 single-product-pic p-1">
<img
src="./assets/img/img-products/product-1.png"
alt=""
class="img-fluid"
/>
</div>
<div class="col-2 single-product-pic p-1">
<img
src="./assets/img/img-products/product-1.png"
alt=""
class="img-fluid"
/>
</div>
<div class="col-2 single-product-pic p-1">
<img
src="./assets/img/img-products/product-1.png"
alt=""
class="img-fluid"
/>
</div>
<div class="col-2 single-product-pic p-1">
<img
src="./assets/img/img-products/product-1.png"
alt=""
class="img-fluid"
/>
</div>
</div>
</div>
<!-- DESCRIPTION SECTION -->
<div class="col-10 mx-auto col-lg-8 single-product-info px-lg-5 my-5">
<div class="ratings">
<span class="text-yellow1"><i class="fas fa-star"></i></span>
<span class="text-yellow1"><i class="fas fa-star"></i></span>
<span class="text-yellow1"><i class="fas fa-star"></i></span>
<span class="text-yellow1"><i class="fas fa-star"></i></span>
<span class="text-yellow1"><i class="far fa-star"></i></span>
<span>(25 Customer reviews)</span>
</div>
<h2 class="my-2">PREMIUM OFFICE ARMCHAIR</h2>
<h2>$10.00 - @ $200.00</h2>
<p class="lead text-muted">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Fuga unde
tempore officia?
</p>
<h5>
COLORS :
<span
class="d-inline-block products-color products-color-black mr-2"
></span>
<span
class="d-inline-block products-color products-color-red mr-2"
></span>
<span
class="d-inline-block products-color products-color-blue mr-2"
></span>
</h5>
<h5>
SIZES :
<span class="mx-2">XS</span>
<span class="mx-2">S</span>
<span class="mx-2">M</span>
<span class="mx-2">L</span>
<span class="mx-2">XL</span>
</h5>
<div class="d-flex flex-wrap">
<div class="d-flex my-2">
<span class="btn btn-outline-black1 text-white-hover mx-1"
>-</span
>
<span class="btn btn-outline-black1 text-white-hover mx-1"
>4</span
>
<span class="btn btn-outline-black1 text-white-hover mx-1"
>+</span
>
</div>
<button class="btn btn-outline-black1 text-white-hover my-2 mx-2">
Wishlist
</button>
<button class="btn btn-yellow1 text-white-hover my-2 mx-2">
Add To Cart
</button>
</div>
</div>
</div>
</div>
</section>
<!-- SINGLE PRODUCT INFO SECTION -->
<section id="" class="">
<div class="container">
<div class class="col">
<div class="jumbotron">
<div class="d-flex justify-content-around flex-wrap my-3">
<a href="" class="product-info-link">
<h4>Description</h4>
</a>
<a href="" class="product-info-link">
<h4>Additional Information</h4>
</a>
<a href="" class="product-info-link">
<h4>Reviews (25)</h4>
</a>
</div>
<p class="lead">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Tempora
aut aspernatur rem, quo voluptatibus ipsa voluptatem nesciunt
impedit minima labore harum error fugiat nostrum reprehenderit
repellendus a explicabo ea mollitia odio hic, beatae modi fugit
voluptate. Aliquid delectus hic iusto.
</p>
</div>
</div>
</div>
</section>
<!-- FEATURED PRODUCTS SECTION -->
<section id="feature" class="py-5">
<div class="container">
<div class="row my-3">
<div class="col-10 mx-auto text-center">
<h1>FEATURED PRODUCTS</h1>
<p class="text-muted">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quod,
ratione.
</p>
</div>
</div>
<!-- PRODUCTS IMAGE SECTION -->
<div class="row">
<div class="col-10 col-md-6 col-lg-4 mx-auto">
<div class="featured-container p-5">
<img
src="./assets/img/img-products/product-1.png"
alt="product"
class="img-fluid"
/>
<span class="featured-search-icon"
><i class="fa fa-search"></i
></span>
<a href="#" class="featured-store-link">Add to Cart</a>
</div>
<h6 class="text-center my-2">Special Product</h6>
<h6 class="text-center">
<span class="text-muted mx-2 old-price">$200</span>
<span>$100</span>
</h6>
</div>
<div class="col-10 col-md-6 col-lg-4 mx-auto">
<div class="featured-container p-5">
<img
src="./assets/img/img-products/product-2.png"
alt="product"
class="img-fluid"
/>
<span class="featured-search-icon"
><i class="fa fa-search"></i
></span>
<a href="#" class="featured-store-link">Add to Cart</a>
</div>
<h6 class="text-center my-2">Special Product</h6>
<h6 class="text-center">
<span class="text-muted mx-2 old-price">$200</span>
<span>$100</span>
</h6>
</div>
<div class="col-10 col-md-6 col-lg-4 mx-auto">
<div class="featured-container p-5">
<img
src="./assets/img/img-products/product-3.png"
alt="product"
class="img-fluid"
/>
<span class="featured-search-icon"
><i class="fa fa-search"></i
></span>
<a href="#" class="featured-store-link">Add to Cart</a>
</div>
<h6 class="text-center my-2">Special Product</h6>
<h6 class="text-center">
<span class="text-muted mx-2 old-price">$200</span>
<span>$100</span>
</h6>
</div>
<div class="col-10 col-md-6 col-lg-4 mx-auto">
<div class="featured-container p-5">
<img
src="./assets/img/img-products/product-4.png"
alt="product"
class="img-fluid"
/>
<span class="featured-search-icon"
><i class="fa fa-search"></i
></span>
<a href="#" class="featured-store-link">Add to Cart</a>
</div>
<h6 class="text-center my-2">Special Product</h6>
<h6 class="text-center">
<span class="text-muted mx-2 old-price">$200</span>
<span>$100</span>
</h6>
</div>
<div class="col-10 col-md-6 col-lg-4 mx-auto">
<div class="featured-container p-5">
<img
src="./assets/img/img-products/product-5.png"
alt="product"
class="img-fluid"
/>
<span class="featured-search-icon"
><i class="fa fa-search"></i
></span>
<a href="#" class="featured-store-link">Add to Cart</a>
</div>
<h6 class="text-center my-2">Special Product</h6>
<h6 class="text-center">
<span class="text-muted mx-2 old-price">$200</span>
<span>$100</span>
</h6>
</div>
<div class="col-10 col-md-6 col-lg-4 mx-auto">
<div class="featured-container p-5">
<img
src="./assets/img/img-products/product-6.png"
alt="product"
class="img-fluid"
/>
<span class="featured-search-icon"
><i class="fa fa-search"></i
></span>
<a href="#" class="featured-store-link">Add to Cart</a>
</div>
<h6 class="text-center my-2">Special Product</h6>
<h6 class="text-center">
<span class="text-muted mx-2 old-price">$200</span>
<span>$100</span>
</h6>
</div>
</div>
</div>
</section>
<!-- PARTNERS -->
<section id="partners" class="py-5">
<div class="container">
<div class="row">
<div class="col-6 col-md-6 col-lg-4 mx-auto">
<div id="carouselId" class="carousel slide" data-ride="carousel">
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<img
src="./assets/img/company-logos/company-logo-1.png"
class="d-block w-100"
alt="First slide"
/>
</div>
<div class="carousel-item">
<img
src="./assets/img/company-logos/company-logo-2.png"
class="d-block w-100"
alt="Second slide"
/>
</div>
<div class="carousel-item">
<img
src="./assets/img/company-logos/company-logo-3.png"
class="d-block w-100"
alt="Third slide"
/>
</div>
<div class="carousel-item">
<img
src="./assets/img/company-logos/company-logo-4.png"
class="d-block w-100"
alt="Fourth slide"
/>
</div>
<div class="carousel-item">
<img
src="./assets/img/company-logos/company-logo-5.png"
class="d-block w-100"
alt="Fifth slide"
/>
</div>
<div class="carousel-item">
<img
src="./assets/img/company-logos/company-logo-6.png"
class="d-block w-100"
alt="Sixth slide"
/>
</div>
</div>
<a
class="carousel-control-prev"
href="#carouselId"
role="button"
data-slide="prev"
>
<i class="fas fa-arrow-left"></i>
</a>
<a
class="carousel-control-next"
href="#carouselId"
role="button"
data-slide="next"
>
<i class="fas fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</div>
</section>
<!-- NEWSLETTER SECTION -->
<section id="newsletter" class="py-5">
<div class="container">
<div class="row">
<div class="col-10 mx-auto text-center">
<h2>NEWSLETTER</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quidem
quo, sint blanditiis molestias sunt nihil nemo, exercitationem
reiciendis eum cum odio, voluptates iste sit modi corporis!
</p>
<div class="input-group mt-5">
<input
type="text"
name=""
id=""
class="form-control"
placeholder="Enter your email"
/>
<div class="input-group-prepend">
<span class="input-group-text bg-grey2"
><i class="fas fa-envelope text-black1"></i
></span>
</div>
</div>
<button class="btn btn-yellow1 black-hover mt-4" type="submit">
Subscribe
</button>
</div>
</div>
</div>
</section>
<!-- SERVICES SECTION -->
<section id="services" class="py-5 bg-black1">
<div class="container">
<div class="row">
<div
class="col-10 col-md-6 col-lg-4 d-flex my-3 mx-auto align-items-start"
>
<div class="service-icon mr-3 mt-1">
<i class="fas fa-truck text-yellow1 fa-2x"></i>
</div>
<div class="">
<h3 class="text-white">FREE SHIPPING</h3>
<p class="text-muted text-capitalize">
Lorem ipsum dolor, sit amet consectetur adipisicing elit.
Molestias reiciendis molestiae, aperiam quibusdam rerum eius
sapiente.
</p>
</div>
</div>
<div
class="col-10 col-md-6 col-lg-4 d-flex my-3 mx-auto align-items-start"
>
<div class="service-icon mr-3 mt-1">
<i class="fas fa-comment-dollar text-yellow1 fa-2x"></i>
</div>
<div class="">
<h3 class="text-white">PRICE PROMISE</h3>
<p class="text-muted text-capitalize">
Lorem ipsum dolor, sit amet consectetur adipisicing elit.
Molestias reiciendis molestiae, aperiam quibusdam rerum eius
sapiente.
</p>
</div>
</div>
<div
class="col-10 col-md-6 col-lg-4 d-flex my-3 mx-auto align-items-start"
>
<div class="service-icon mr-3 mt-1">
<i class="fas fa-award text-yellow1 fa-2x"></i>
</div>
<div class="">
<h3 class="text-white">LIFETIME WARRANTY</h3>
<p class="text-muted text-capitalize">
Lorem ipsum dolor, sit amet consectetur adipisicing elit.
Molestias reiciendis molestiae, aperiam quibusdam rerum eius
sapiente.
</p>
</div>
</div>
</div>
</div>
</section>
<!-- FOOTER SECTION -->
<footer id="footer" class="footer py-5">
<div class="container">
<div class="row">
<div class="col-10 mx-auto text-center">
<h1
class="footer-title font-weight-bold text-yellow1 d-inline-block"
>
COMFY SLOTH
</h1>
<div class="my-5 d-flex justify-content-center">
<a href="" class="mx-2"
><i class="fab text-yellow1 fa-facebook white-hover"></i
></a>
<a href="" class="mx-2"
><i class="fab text-yellow1 fa-twitter white-hover"></i
></a>
<a href="" class="mx-2"
><i class="fab text-yellow1 fa-instagram white-hover"></i
></a>
<a href="" class="mx-2"
><i class="fab text-yellow1 fa-google-plus white-hover"></i
></a>
<a href="" class="mx-2"
><i class="fab text-yellow1 fa-youtube white-hover"></i
></a>
</div>
<p class="text-muted text-capitalize w-75 mx-auto text-left">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Accusamus
ex aliquid, perspiciatis consequatur dolorem impedit autem
quisquam qui fugiat? Accusamus.
</p>
<div class="mt-5 d-flex justify-content-around flex-wrap">
<div>
<span class="mr-2"
><i class="fas fa-map text-yellow1 white-hover"></i></span
>123 Main Street, Los Angeles
</div>
<div>
<span class="mr-2"
><i class="fas fa-phone text-yellow1 white-hover"></i></span
>Phone : +(310) 111 2222
</div>
<div>
<span class="mr-2"
><i
class="fas fa-envelope text-yellow1 white-hover"
></i></span
>Email : [email protected]
</div>
</div>
</div>
</div>
</div>
</footer>
<!-- Modal -->
<div
class="modal fade"
id="productModal"
tabindex="-1"
role="dialog"
aria-labelledby="modelTitleId"
aria-hidden="true"
>
<div class="modal-dialog" role="document">
<div class="modal-content">
<!-- MODAL HEADER -->
<div class="modal-header">
<h5 class="modal-title">Product Info</h5>
<button
type="button"
class="close"
data-dismiss="modal"
aria-label="Close"
>
<span aria-hidden="true">×</span>
</button>
</div>
<!-- MODAL BODY -->
<div class="modal-body">
<div class="row">
<div class="col text-center">
<img
src="./assets/img/img-products/product-1.png"
alt=""
class="img-fluid"
/>
<div class="ratings">
<span class="text-yellow1"><i class="fas fa-star"></i></span>
<span class="text-yellow1"><i class="fas fa-star"></i></span>
<span class="text-yellow1"><i class="fas fa-star"></i></span>
<span class="text-yellow1"><i class="fas fa-star"></i></span>
<span class="text-yellow1"><i class="far fa-star"></i></span>
<span>(25 Customer reviews)</span>
</div>
<h2 class="my-2">PREMIUM OFFICE ARMCHAIR</h2>
<h2>$10.00 - @ $200.00</h2>
<p class="lead text-muted">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Fuga
unde tempore officia?
</p>
<h5>
COLORS :
<span
class="d-inline-block products-color products-color-black mr-2"
></span>
<span
class="d-inline-block products-color products-color-red mr-2"
></span>
<span
class="d-inline-block products-color products-color-blue mr-2"
></span>
</h5>
<h5>
SIZES :
<span class="mx-2">XS</span>
<span class="mx-2">S</span>
<span class="mx-2">M</span>
<span class="mx-2">L</span>
<span class="mx-2">XL</span>
</h5>
<div class="d-flex flex-wrap">
<div class="d-flex my-2 ml-4">
<span class="btn btn-outline-black1 text-white-hover mx-1"
>-</span
>
<span class="btn btn-outline-black1 text-white-hover mx-1"
>4</span
>
<span class="btn btn-outline-black1 text-white-hover mx-1"
>+</span
>
</div>
<button
class="btn btn-outline-black1 text-white-hover my-2 mx-2"
>
Wishlist
</button>
<button class="btn btn-yellow1 text-white-hover my-2 mx-2">
Add To Cart
</button>
</div>
</div>
</div>
</div>
<!-- MODAL FOOTER -->
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">
Close
</button>
</div>
</div>
</div>
</div>
<!-- 1. link tag (<a href=""></a>) problems check
(i.)# sign and
(ii.) id of directed section
(iii.) link tag attributes(which direct to other parts of code) always take # sign in front of them. -->
<!-- <span id="year"></span> -->
<!-- These are j-query & JS links -->
<script
src="./assets/scripts/jquery-3.5.1.min.js"
crossorigin="anonymous"
></script>
<script
src="./assets/scripts/bootstrap.bundle.min.js"
crossorigin="anonymous"
></script>
<!-- CUSTOM SCRIPT FOR JS IN PAGE -->
<script>
// GET THE CURRENT YEAR FOR THE COPYRIGHT
$("#year").text(new Date().getFullYear());
</script>
</body>
</html>