-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
255 lines (235 loc) · 7.65 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./images/favicon-32x32.png"
/>
<title>Frontend Mentor | E-commerce product page</title>
<link
href="https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./css/style.css" />
<script defer src="./js/script.js"></script>
</head>
<body>
<!-- Header section -->
<header class="header-container">
<div>
<img src="./images/icon-menu.svg" alt="menu" class="menu" />
</div>
<h1>sneakers</h1>
<nav class="nav-container">
<div class="nav-box">
<div>
<img src="./images/icon-close.svg" alt="close icon" class="close" />
</div>
<ul>
<li><a href="#">Collections </a></li>
<li><a href="#">Men</a></li>
<li><a href="#">Women</a></li>
<li><a href="#">About </a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
</nav>
<div class="personal-box">
<div class="count">0</div>
<img src="./images/icon-cart.svg" alt="cart" class="cart" />
<img src="./images/image-avatar.png" alt="avatar" class="avatar" />
</div>
<!-- cart section -->
<div class="cart-box">
<p class="title">Cart</p>
<div class="empty-msg">
<p>Your cart is empty.</p>
</div>
<div class="cart-itens">
<div class="itens-box">
<div class="card">
<img
class="img-cart"
src="./images/image-product-1.jpg"
alt="sneakers"
/>
<div class="detail-box">
<p>Fall Limited Edition Sneakers</p>
<p>
<span>$125.00</span> x <span class="quantity-cart">3</span>
<span class="value">$375.00</span>
</p>
</div>
<div class="delete-box">
<img
src="./images/icon-delete.svg"
alt="delete"
class="delete-icon"
/>
</div>
</div>
<button class="checkout"><span>Checkout</span></button>
</div>
</div>
</div>
<!-- end cart section -->
</header>
<!-- end header section -->
<!-- main section -->
<main>
<div class="img-container">
<div class="image-box">
<img
class="main-img"
src="./images/image-product-1.jpg"
alt="sneakers"
/>
</div>
<div>
<div class="previous-box">
<img
src="./images/icon-previous.svg"
alt="previous"
class="previous"
/>
</div>
<div class="next-box">
<img src="./images/icon-next.svg" alt="next" class="next" />
</div>
</div>
<div class="imgs-option-box">
<div class="thumbs-box active">
<img
src="./images/image-product-1.jpg"
alt="sneakers"
class="thumb-img"
/>
</div>
<div class="thumbs-box">
<img
src="./images/image-product-2.jpg"
alt="sneakers"
class="thumb-img"
/>
</div>
<div class="thumbs-box">
<img
src="./images/image-product-3.jpg"
alt="sneakers"
class="thumb-img"
/>
</div>
<div class="thumbs-box">
<img
src="./images/image-product-4.jpg"
alt="sneakers"
class="thumb-img"
/>
</div>
</div>
</div>
<div class="detail-container">
<div class="info-box">
<p class="company">Sneaker Company</p>
<p class="product-name">Fall Limited Edition Sneakers</p>
<p class="description">
These low-profile sneakers are your perfect casual wear companion.
Featuring a durable rubber outer sole, they’ll withstand everything
the weather can offer.
</p>
</div>
<div class="price-box">
<div class="desc-box">
<p class="desc-price">$<span>125.00</span></p>
<p class="desc">50%</p>
</div>
<p class="real-price">$<span>250.00</span></p>
</div>
<div class="btns-box">
<button class="btn-quantity">
<img src="./images/icon-minus.svg" alt="minus" class="minus" />
<span class="quantity">0</span>
<img src="./images/icon-plus.svg" alt="plus" class="plus" />
</button>
<button class="btn-add">
<svg viewBox="0 0 22 20" xmlns="http://www.w3.org/2000/svg">
<path
d="M20.925 3.641H3.863L3.61.816A.896.896 0 0 0 2.717 0H.897a.896.896 0 1 0 0 1.792h1l1.031 11.483c.073.828.52 1.726 1.291 2.336C2.83 17.385 4.099 20 6.359 20c1.875 0 3.197-1.87 2.554-3.642h4.905c-.642 1.77.677 3.642 2.555 3.642a2.72 2.72 0 0 0 2.717-2.717 2.72 2.72 0 0 0-2.717-2.717H6.365c-.681 0-1.274-.41-1.53-1.009l14.321-.842a.896.896 0 0 0 .817-.677l1.821-7.283a.897.897 0 0 0-.87-1.114ZM6.358 18.208a.926.926 0 0 1 0-1.85.926.926 0 0 1 0 1.85Zm10.015 0a.926.926 0 0 1 0-1.85.926.926 0 0 1 0 1.85Zm2.021-7.243-13.8.81-.57-6.341h15.753l-1.383 5.53Z"
fill="white"
fill-rule="nonzero"
/>
</svg>
<span>Add to cart</span>
</button>
</div>
</div>
<!-- modal section -->
<div class="modal-img-container">
<div class="modal-img-box">
<div class="modal-image-box">
<img
class="modal-main-img"
src="./images/image-product-1.jpg"
alt="sneakers"
/>
</div>
<div>
<div class="modal-previous-box">
<img
src="./images/icon-previous.svg"
alt="previous"
class="modal-previous"
/>
</div>
<div class="modal-next-box">
<img src="./images/icon-next.svg" alt="next" class="modal-next" />
</div>
<div class="modal-close-box">
<img
src="./images/icon-close.svg"
alt="close icon"
class="modal-close"
/>
</div>
</div>
</div>
<div class="imgs-option-box">
<div class="modal-thumbs-box modal-active">
<img
src="./images/image-product-1.jpg"
alt="sneakers"
class="modal-thumb-img"
/>
</div>
<div class="modal-thumbs-box">
<img
src="./images/image-product-2.jpg"
alt="sneakers"
class="modal-thumb-img"
/>
</div>
<div class="modal-thumbs-box">
<img
src="./images/image-product-3.jpg"
alt="sneakers"
class="modal-thumb-img"
/>
</div>
<div class="modal-thumbs-box">
<img
src="./images/image-product-4.jpg"
alt="sneakers"
class="modal-thumb-img"
/>
</div>
</div>
</div>
<!-- end modal section -->
</main>
<!-- end main section -->
</body>
</html>