This repository was archived by the owner on Jan 11, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproduct.html
More file actions
218 lines (205 loc) · 7.09 KB
/
product.html
File metadata and controls
218 lines (205 loc) · 7.09 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
All things Electronics: PC Parts, Custom Builds & More | SharkTek
</title>
<!-- JQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script>
$(document).ready(function () {
$("#importedFooter").load("./assets/commons/footer.txt");
$("#importedNavbar").load("./assets/commons/nav.txt");
});
</script>
<!-- Including Bootstrap CSS -->
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="./product_page_Extracted/assets/css/style.css"
/>
<style>
.small-img-group {
display: flex;
justify-content: space-between;
}
.small-img-col {
flex-basis: 24%;
cursor: pointer;
}
.spec-box {
background-color: #f7f7f7;
padding: 15px 15px 15px 33px;
margin-left: 0;
border-radius: 4px 4px 0 0;
position: relative;
overflow: hidden;
box-sizing: border-box;
}
#product-price {
font-weight: 900;
font-size: xx-large;
}
</style>
</head>
<body>
<div id="importedNavbar"></div>
<section class="container product my-5 pt-1">
<nav style="--bs-breadcrumb-divider: '>'" aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Library</li>
</ol>
</nav>
<div class="row mt-5">
<div class="col-lg-6 col-md-12 col-12">
<img
class="img-fluid w-100 pb-1"
id="main-img"
src="./assets/img/404.jpg"
alt=""
width="100%"
/>
<div class="small-img-group">
<div class="small-img-col">
<img class="small-img" src="./assets/img/100.jpg" width="100%" />
</div>
<div class="small-img-col">
<img class="small-img" src="./assets/img/101.jpg" width="100%" />
</div>
<div class="small-img-col">
<img class="small-img" src="./assets/img/102.jpg" width="100%" />
</div>
<div class="small-img-col">
<img class="small-img" src="./assets/img/404.jpg" width="100%" />
</div>
</div>
</div>
<div class="col-lg-6 col-md-12 col-12">
<h1>Product X</h1>
<hr class="pb-4" />
<ul class="spec-box">
<li>System with INTEL Core i5 12400F CPU Processor.</li>
<li>System with INTEL Core i5 12400F CPU Processor.</li>
<li>System with INTEL Core i5 12400F CPU Processor.</li>
<li>System with INTEL Core i5 12400F CPU Processor.</li>
<li>System with INTEL Core i5 12400F CPU Processor.</li>
<li>System with INTEL Core i5 12400F CPU Processor.</li>
<li>System with INTEL Core i5 12400F CPU Processor.</li>
</ul>
<div>
<input type="number" value="1" min="1" class="mt-4 form-control" />
<br />
<button class="buy-btn btn btn-primary">Add to Cart</button>
<button class="buy-btn btn btn-danger">Buy Now</button>
</div>
</div>
<!-- <div class="col-lg-2 col-md-12 col-12">
<span id="product-price">$ 3599.99</span>
</div> -->
</div>
</section>
<section>
<div class="small-container">
<div class="row">
<h2>Related Products</h2>
</div>
</div>
<div class="small-container">
<div class="row">
<div class="col-4">
<img
src="https://static1.xdaimages.com/wordpress/wp-content/uploads/wm/2023/10/macbook-air-15-display-on-main.jpg"
/>
<h4>MacBook Air (M2, 15-inch)</h4>
<div class="rating">
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-o"></i>
</div>
<p>$250.00</p>
</div>
<div class="col-4">
<img
src="https://static1.xdaimages.com/wordpress/wp-content/uploads/wm/2023/10/macbook-air-15-display-on-main.jpg"
/>
<h4>MacBook Air (M2, 15-inch)</h4>
<div class="rating">
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-half-o"></i>
<i class="fa fa-star-o"></i>
</div>
<p>$450.00</p>
</div>
<div class="col-4">
<img
src="https://static1.xdaimages.com/wordpress/wp-content/uploads/wm/2023/10/macbook-air-15-display-on-main.jpg"
/>
<h4>MacBook Air (M2, 15-inch)</h4>
<div class="rating">
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-half-o"></i>
</div>
<p>$650.00</p>
</div>
<div class="col-4">
<img
src="https://static1.xdaimages.com/wordpress/wp-content/uploads/wm/2023/10/macbook-air-15-display-on-main.jpg"
/>
<h4>MacBook Air (M2, 15-inch)</h4>
<div class="rating">
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-o"></i>
</div>
<p>$550.00</p>
</div>
</div>
</div>
</section>
<div id="importedFooter"></div>
<!-- Including Bootstrap Script -->
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"
></script>https://www.bestbuy.com/
<!-- Including Font Awesome -->
<script
src="https://kit.fontawesome.com/a44647bf31.js"
crossorigin="anonymous"
></script>
<script>
var mainImg = document.getElementById("main-img");
var smallImg = document.getElementsByClassName("small-img");
smallImg[0].onmouseover = function () {
mainImg.src = smallImg[0].src;
};
smallImg[1].onmouseover = function () {
mainImg.src = smallImg[1].src;
};
smallImg[2].onmouseover = function () {
mainImg.src = smallImg[2].src;
};
smallImg[3].onmouseover = function () {
mainImg.src = smallImg[3].src;
};
</script>
</body>
</html>