-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
152 lines (152 loc) · 5.02 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
<!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 rel="stylesheet" href="assets/styles.css" />
</head>
<body>
<div class="container">
<!-- navbar -->
<nav>
<div class="nav_container">
<div class="nav_left-sec">
<img
src="./images/icon-menu.svg"
id="menu-btn"
alt="menu"
class="hidden menu"
/>
<img src="./images/logo.svg" alt="logo" class="nav_logo" />
<div class="overlay"></div>
<ul class="nav_links">
<img
src="./images/icon-close.svg"
alt="close"
class="close-btn hidden"
/>
<li class="nav_link">Collections</li>
<li class="nav_link">Men</li>
<li class="nav_link">Women</li>
<li class="nav_link">About</li>
<li class="nav_link">Contact</li>
</ul>
</div>
<div class="nav_right-sec">
<!-- Cart -->
<div class="cart-container">
<button class="cart-btn">
<span class="indicator"></span>
<img src="./images/icon-cart.svg" alt="cart" class="cart" />
</button>
<div class="cart-wrp invisible">
<p class="cart-heading">Cart</p>
<div class="divider"></div>
<div class="cart-content empty">
<p>Your cart is empty</p>
</div>
</div>
</div>
<img src="./images/image-avatar.png" alt="avatar" class="avatar" />
</div>
</div>
</nav>
<main>
<!-- thumbnails -->
<section class="thumbnails">
<img
src="./images/image-product-1.jpg"
alt="product"
class="main-thumbnail invisible-mob"
/>
<div class="mobile-thumb hidden">
<img
src="./images/image-product-1.jpg"
class="thumb-mob"
alt="product"
/>
<button id="next">
<img src="./images/icon-next.svg" alt="next" />
</button>
<button id="previous">
<img src="./images/icon-previous.svg" alt="previos" />
</button>
</div>
<div>
<div class="preview">
<img
class="selected"
src="./images/image-product-1-thumbnail.jpg"
alt=""
/>
<img src="./images/image-product-2-thumbnail.jpg" alt="" />
<img src="./images/image-product-3-thumbnail.jpg" alt="" />
<img src="./images/image-product-4-thumbnail.jpg" alt="" />
</div>
</div>
</section>
<!-- content -->
<section class="content">
<p class="company">Sneaker Company</p>
<h1 class="title">Fall Limited Edition Sneakers</h1>
<p class="info">
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 class="price">
<div class="new-price">
<p class="now">$125.00</p>
<span>50%</span>
</div>
<p class="old-price">$250.00</p>
</div>
<div class="buttons">
<div class="amount-btn">
<button id="minus">
<img src="./images/icon-minus.svg" alt="minus" />
</button>
<p class="amount">0</p>
<button id="plus">
<img src="./images/icon-plus.svg" alt="plus" />
</button>
</div>
<button class="add_btn">
<img src="./images/icon-cart.svg" alt="cart" />
Add to cart
</button>
</div>
</section>
</main>
</div>
<!-- Lightbox -->
<div class="lightbox invisible">
<div class="lightbox-container">
<button class="close-lightbox"><img src="./images/icon-close.svg" alt="close"></button>
<img
src="./images/image-product-1.jpg"
alt="product"
class="main-thumbnail invisible-mob"
/>
<div class="preview">
<img
class="selected"
src="./images/image-product-1-thumbnail.jpg"
alt=""
/>
<img src="./images/image-product-2-thumbnail.jpg" alt="" />
<img src="./images/image-product-3-thumbnail.jpg" alt="" />
<img src="./images/image-product-4-thumbnail.jpg" alt="" />
</div>
</div>
</div>
<script src="assets/app.js"></script>
</body>
</html>