-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproduct.html
207 lines (192 loc) · 6.38 KB
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Single Product</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css"
/>
<!-- favicon -->
<link
rel="shortcut icon"
href="./images/favicon-shop.svg"
type="image/x-icon"
/>
<link rel="stylesheet" href="./css/styles.css" />
<script src="./src/pages/product.js" type="module"></script>
</head>
<body>
<!-- class='overlay-active' -->
<!-- navbar -->
<nav class="navbar page">
<div class="nav-center">
<div>
<button class="toggle-nav">
<i class="fa-solid fa-bars"></i>
</button>
<ul class="nav-links">
<li>
<a href="./index.html" class="nav-link">home</a>
</li>
<li>
<a href="./products.html" class="nav-link">products</a>
</li>
<li><a href="./about.html" class="nav-link">about</a></li>
</ul>
</div>
<!-- logo -->
<img src="./images/logo-black.svg" alt="" class="nav-logo" />
<!-- end of logo -->
<!-- cart icon -->
<div class="toggle-container">
<button class="toggle-cart">
<i class="fa-solid fa-shopping-cart"></i>
</button>
<span class="cart-item-count">0</span>
</div>
<!-- end of cart icon -->
</div>
</nav>
<!-- end of navbar -->
<!-- hero -->
<section class="page-hero">
<div class="section-center">
<h3 class="page-hero-title">Home / Single Product</h3>
</div>
</section>
<!-- end of hero -->
<!-- sidebar -->
<div class="sidebar-overlay">
<aside class="sidebar">
<!-- close -->
<button class="sidebar-close">
<i class="fa-solid fa-times"></i>
</button>
<!-- end of close -->
<!-- links -->
<ul class="sidebar-links">
<li>
<a href="./index.html" class="sidebar-link"
><i class="fa-solid fa-home fa-fw"></i>home</a
>
</li>
<li>
<a href="./products.html" class="sidebar-link"
><i class="fa-solid fa-couch fa-fw"></i>products</a
>
</li>
<li>
<a href="./about.html" class="sidebar-link"
><i class="fa-solid fa-book fa-fw"></i>about</a
>
</li>
</ul>
<!-- end of links -->
</aside>
</div>
<!-- end of sidebar -->
<!-- cart -->
<div class="cart-overlay">
<aside class="cart">
<button class="cart-close">
<i class="fa-solid fa-times"></i>
</button>
<header class="cart-header">
<h3 class="text-slanted">your bag</h3>
</header>
<!-- cart-items -->
<div class="cart-items">
<!-- single cart item -->
<!-- <article class="cart-item">
<img src="./images/main-bcg.jpeg" alt="" class="cart-img" />
<div class="cart-info">
<h4>High-Back Bench</h4>
<p>$9.99</p>
<button class="remove-btn">remove</button>
</div>
<div class="counter">
<button class="count-btn increment-count">
<i class="fa-solid fa-chevron-up"></i>
</button>
<span class="cart-count">10</span>
<button class="count-btn decrement-count">
<i class="fa-solid fa-chevron-down"></i>
</button>
</div>
</article> -->
<!-- end of single cart item -->
</div>
<!-- end of cart-items -->
<footer>
<h3 class="cart-total text-slanted">total : $0.00</h3>
<button class="cart-checkout btn">checkout</button>
</footer>
</aside>
</div>
<!-- end of cart -->
<!-- product-info -->
<section class="single-product">
<!-- <div class="section-center single-product-center">
<img
src="./images/main-bcg.jpeg"
alt=""
class="single-product-img img skeleton-single-product-img"
/>
<article class="single-product-info">
<div>
<h2 class="single-product-title">couch</h2>
<p class="single-product-company text-slanted">by marcos</p>
<p class="single-product-price">$50.00</p>
<div class="single-product-colors">
<div class="product-color"></div>
</div>
<p class="single-product-desc">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Id,
modi? Minima libero doloremque necessitatibus! Praesentium
recusandae quod nesciunt animi voluptatem!
</p>
<button class="addToCartBtn btn" data-id="id">add to cart</button>
</div>
</article>
</div> -->
<!-- skeleton-single-product -->
<div class="section-center single-product-center">
<div class="skeleton-single-product-img">
<i class="fa-regular fa-image"></i>
</div>
<div class="skeleton-single-product-info">
<div>
<div class="skeleton-single-product-title"></div>
<div class="skeleton-single-product-company text-slanted"></div>
<div class="skeleton-product-price"></div>
<div class="skeleton-single-product-colors">
<div class="skeleton-product-color product-color"></div>
<div class="skeleton-product-color product-color"></div>
<div class="skeleton-product-color product-color"></div>
</div>
<div class="skeleton-single-product-desc">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="skeleton-btn">add to cart</div>
</div>
</div>
</div>
<!-- end of skeleton-single-product -->
</section>
<!-- end of product-info -->
<!-- <div class="page-loading">
<h2>loading...</h2>
</div> -->
</body>
</html>