-
Notifications
You must be signed in to change notification settings - Fork 10
/
product.html
243 lines (231 loc) · 13.7 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<!-- CSS only -->
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css"
/>
<link rel="stylesheet" href="style.css" />
<!-- JavaScript Bundle with Popper -->
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW"
crossorigin="anonymous"
></script>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">E-shopper</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Categories
</a>
<ul class="dropdown-menu bg-dark" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="/#products">Cameras</a></li>
<li><a class="dropdown-item" href="/#products">Apple Gadgets</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="/#products">Drones</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link" href="/cart.html" tabindex="-1">
Cart<i class="bi bi-cart-plus-fill"></i>
<span class="cart-badge badge bg-success">4</span></a>
</li>
</ul>
<ul class="navbar-nav mb-2 mb-lg-0 mx-lg-2 order-sm-last">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="myaccount" role="button" data-bs-toggle="dropdown" aria-expanded="false">
My Account
</a>
<ul class="dropdown-menu bg-dark text-light" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="/#" data-bs-toggle="modal" data-bs-target="#exampleModal">My Orders</a></li>
<li><a class="dropdown-item" href="/#" data-bs-toggle="modal" data-bs-target="#exampleModal">Profile</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="/#">Logout</a></li>
</ul>
</li>
</ul>
<form class="d-flex search-form">
<input class="form-control" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-success" type="submit" data-bs-toggle="tooltip" data-bs-placement="left" title="Search for all products">
<i class="bi bi-search"></i>
</button>
</form>
</div>
</div>
</nav>
<!-- End of Navigation -->
<nav aria-label="breadcrumb">
<ol class="breadcrumb p-3">
<li class="breadcrumb-item"><a href="/">Home</a></li>
<li class="breadcrumb-item"><a href="#">Camera</a></li>
<li class="breadcrumb-item active" aria-current="page">MX-5</li>
</ol>
</nav>
<div class="container mb-5">
<div class="row d-flex flex-row">
<div class="col-md-5 product-image">
<img class="img-fluid" src="images/product-1-square.jpg" alt="" />
</div>
<div class="col-md-2 product-small d-flex flex-md-column justify-content-start order-md-first">
<img class="img-fluid" src="images/product-1-square.jpg" alt="" />
<img class="img-fluid" src="images/product-1-square.jpg" alt="" />
<img class="img-fluid" src="images/product-1-square.jpg" alt="" />
</div>
<div class="col-md-5">
<h6 class="text-uppercase text-secondary">Sony</h6>
<h2 class="fs-3">WMX headphone</h2>
<h5 class="text-secondary fs-6 fw-bold">$100</h5>
<div class="text-secondary text-small">color :</div>
<div class="my-2">
<div class="btn-group" role="group" aria-label="Basic radio toggle button group">
<input type="radio" class="btn-check" name="btnradio" id="btnradio1" autocomplete="off" checked>
<label class="btn btn-danger color-label" for="btnradio1">
<i class="bi bi-check2"></i>
</label>
<input type="radio" class="btn-check" name="btnradio" id="btnradio2" autocomplete="off">
<label class="btn btn-success color-label" for="btnradio2">
<i class="bi bi-check2"></i>
</label>
<input type="radio" class="btn-check" name="btnradio" id="btnradio3" autocomplete="off">
<label class="btn btn-dark color-label" for="btnradio3">
<i class="bi bi-check2"></i>
</label>
</div>
</div>
<div class="text-secondary text-small">size :</div>
<div class="my-2">
<div class="btn-group" role="group" aria-label="Basic radio toggle button group">
<input type="radio" class="btn-check" name="size" id="btnradio4" autocomplete="off" checked>
<label class="btn btn-outline-dark" for="btnradio4">S</label>
<input type="radio" class="btn-check" name="size" id="btnradio5" autocomplete="off">
<label class="btn btn-outline-dark" for="btnradio5">M</label>
<input type="radio" class="btn-check" name="size" id="btnradio6" autocomplete="off">
<label class="btn btn-outline-dark" for="btnradio6">L</label>
</div>
</div>
<button class="btn btn-dark w-100 my-5" onclick="showToast()"><i class="bi bi-cart-plus-fill"></i>
Add to Cart </button>
<div>
<span class="text-secondary text-small">Details :</span>
<div class="accordion accordion-flush" id="accordionExample">
<div class="accordion-item">
<h2 class="accordion-header" id="headingOne">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
Accordion Item #1
</button>
</h2>
<div id="collapseOne" class="accordion-collapse collapse show" aria-labelledby="headingOne" data-bs-parent="#accordionExample">
<div class="accordion-body">
<strong>This is the first item's accordion body.</strong> It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingTwo">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
Accordion Item #2
</button>
</h2>
<div id="collapseTwo" class="accordion-collapse collapse" aria-labelledby="headingTwo" data-bs-parent="#accordionExample">
<div class="accordion-body">
<strong>This is the second item's accordion body.</strong> It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingThree">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
Accordion Item #3
</button>
</h2>
<div id="collapseThree" class="accordion-collapse collapse" aria-labelledby="headingThree" data-bs-parent="#accordionExample">
<div class="accordion-body">
<strong>This is the third item's accordion body.</strong> It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer mt-auto bg-dark text-light">
<div class="container py-3">
<div class="row d-flex footer-items">
<div class="col-lg-4">
<h5>Categories</h5>
<ul>
<li><a href="#">Watches</a></li>
<li><a href="#">Mobiles</a></li>
<li><a href="#">Tablets</a></li>
<li><a href="#">Audio</a></li>
<li><a href="#">Drones</a></li>
</ul>
</div>
<div class="col-lg-4">
<h5>Useful Links</h5>
<ul>
<li><a href="#">Terms</a></li>
<li><a href="#">Privacy</a></li>
<li><a href="#">About us</a></li>
<li><a href="#">Mission</a></li>
</ul>
</div>
<div class="col-lg-4">
<h5>Get Updates</h5>
<div class="d-flex subscribe">
<input type="text" class="form-control">
<button class="btn btn-warning">Subscribe</button>
</div>
<div class="mt-2">
<div class="btn-group me-2 social-icons" role="group" aria-label="First group">
<button type="button" class="btn btn-secondary mx-1 d-flex flex-column justify-content-center align-items-center">
<i class="bi bi-facebook"></i>
</button>
<button type="button" class="btn btn-secondary mx-1 d-flex flex-column justify-content-center align-items-center">
<i class="bi bi-instagram"></i>
</button>
<button type="button" class="btn btn-secondary mx-1 d-flex flex-column justify-content-center align-items-center">
<i class="bi bi-twitter"></i>
</button>
<button type="button" class="btn btn-secondary mx-1 d-flex flex-column justify-content-center align-items-center">
<i class="bi bi-linkedin"></i>
</button>
</div>
</div>
</div>
</div>
<div class="row text-center">
<span>@coderdost</span>
</div>
</div>
</div>
<!-- End of Footer -->
<div class="toast d-flex align-items-center text-white bg-primary border-0 position-fixed" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-body">
Item is successfully added to your cart.
</div>
<button type="button" class="btn-close btn-close-white ms-auto me-2" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
<!-- End of Toast -->
<script src="app.js"></script>
</body>
</html>