-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
145 lines (140 loc) · 4.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Home | Comfy</title>
<!--- favicon -->
<link rel="icon" href="./src/images/logo-black.svg" type="image/x-icon" />
<!-- font-awesome cdn -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css"
/>
<!-- custom css links -->
<link rel="stylesheet" href="./src/StyleSheet/style.css" />
<link rel="stylesheet" href="./src/StyleSheet/responsive.css" />
<!-- custom js -->
<script defer type="module" src="./index.js"></script>
</head>
<body>
<!-- navbar -->
<nav class="navbar">
<div class="nav-center">
<!-- links -->
<div>
<button class="toggle-nav">
<i class="fas fa-bars"></i>
</button>
<ul class="nav-links">
<li>
<a href="./index.html" class="nav-link"> home </a>
</li>
<li>
<a href="./src/pages/products.html" class="nav-link">
products
</a>
</li>
<li>
<a href="./src/pages/about.html" class="nav-link"> about </a>
</li>
</ul>
</div>
<!-- logo -->
<img src="./src/images/logo-white.svg" class="nav-logo" alt="logo" />
<!-- cart icon -->
<div class="toggle-container">
<button class="toggle-cart">
<i class="fas fa-shopping-cart"></i>
</button>
<span class="cart-item-count">1</span>
</div>
</div>
</nav>
<!-- hero -->
<section class="hero">
<div class="hero-container">
<h1 class="text-slanted">Discover Your Comfort Zone</h1>
<h3>Embrace your choices - we do</h3>
<a href="./src/pages/products.html" class="hero-btn"> show now </a>
</div>
</section>
<!-- sidebar -->
<div class="sidebar-overlay">
<aside class="sidebar">
<!-- close -->
<button class="sidebar-close">
<i class="fas fa-times"></i>
</button>
<!-- links -->
<ul class="sidebar-links">
<li>
<a href="./index.html" class="sidebar-link">
<i class="fas fa-home fa-fw"></i>
home
</a>
</li>
<li>
<a href="./src/pages/products.html" class="sidebar-link">
<i class="fas fa-couch fa-fw"></i>
products
</a>
</li>
<li>
<a href="./src/pages/about.html" class="sidebar-link">
<i class="fas fa-book fa-fw"></i>
about
</a>
</li>
</ul>
</aside>
</div>
<!-- cart -->
<div class="cart-overlay">
<aside class="cart">
<button class="cart-close">
<i class="fas fa-times"></i>
</button>
<header>
<h3 class="text-slanted">your bag</h3>
</header>
<!-- cart items -->
<div class="cart-items"></div>
<!-- footer -->
<footer>
<h3 class="cart-total text-slanted">total : $12.99</h3>
<button class="cart-checkout btn">Order</button>
</footer>
</aside>
</div>
<!-- featured products -->
<section class="section featured">
<div class="title">
<h2><span>/</span> featured products</h2>
</div>
<div class="featured-center section-center">
<h2 class="section-loading">loading...</h2>
<!-- single product -->
<!-- <article class="product">
<div class="product-container">
<img src="./images/main-bcg.jpeg" class="product-img img" alt="" />
<div class="product-icons">
<a href="product.html?id=1" class="product-icon">
<i class="fas fa-search"></i>
</a>
<button class="product-cart-btn product-icon" data-id="1">
<i class="fas fa-shopping-cart"></i>
</button>
</div>
</div>
<footer>
<p class="product-name">name</p>
<h4 class="product-price">$9.99</h4>
</footer>
</article> -->
<!-- end of single product -->
</div>
<a href="./src/pages/products.html" class="btn"> all products </a>
</section>
</body>
</html>