-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
86 lines (80 loc) · 2.81 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
<!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" />
<title>Comfy House</title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous" />
<link rel="stylesheet" href="main.css" />
</head>
<body>
<!-- navbar -->
<nav class="navbar">
<div class="navbar-center">
<span class="nav-icon">
<i class="fas fa-bars"></i>
</span>
<img src="./images/logo.svg" alt="store logo" />
<div id="cart-btn" class="cart-btn">
<span class="nav-icon">
<i class="fas fa-cart-plus"></i>
</span>
<div id="cart-items" class="cart-items">0</div>
</div>
</div>
</nav>
<!-- end of navbar -->
<!-- hero -->
<header class="hero">
<div class="banner">
<h1 class="banner-title">furniture collection</h1>
<button class="banner-btn">shop now</button>
</div>
</header>
<!-- end of hero -->
<!-- products -->
<section class="products">
<div class="section-title">
<h2>our products</h2>
</div>
<div id="products-center" class="products-center">
<!-- single product -->
<!-- <article class="product">
<div class="img-container">
<img src="./images/product-1.jpeg" alt="product" class="product-img" />
<button class="bag-btn" data-id="1">
<i class="fas fa-shopping-cart"></i>
add to bag
</button>
</div>
<h3>queen bed</h3>
<h4>$16</h4>
</article> -->
<!-- end of single product -->
</div>
</section>
<!-- end of products -->
<!-- cart -->
<div class="cart-overlay">
<div class="cart">
<span id="close-cart" class="close-cart"><i class="far fa-window-close"></i></span>
<h2>your cart</h2>
<div id="cart-content" class="cart-content">
<!-- cart item -->
<!-- <div class="cart-item"></div> -->
<!-- cart item -->
</div>
<div class="cart-footer">
<h3>
your total : $<span id="cart-total" class="cart-total">0</span>
</h3>
<button class="clear-cart banner-btn">clear cart</button>
</div </div>
</div>
<!-- end of cart -->
<!-- contentful -->
<!-- javascript -->
<script src="app.js"></script>
</body>
</html>