-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproduct.html
233 lines (216 loc) · 8.81 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AUZA PC Store - Products</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://kit.fontawesome.com/ecd69ea904.js" crossorigin="anonymous"></script>
<link rel="icon" type="image/x-icon" href="/img/logo.png">
</head>
<body>
<!-- Toast Notifications -->
<div class="position-fixed top-0 start-50 translate-middle-x m-3" style="z-index: 11">
<div id="cartToast" class="toast hide" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-body bg-success text-white">
Item has been added to your cart.
<button type="button" class="btn-close float-end" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
</div>
</div>
<header>
<!-- Jumbotron -->
<div class="text-center bg-white border-bottom">
<div class="container">
<div class="row gy-3 align-items-center">
<!-- Left elements -->
<div class="col-lg-2 col-sm-4 col-4">
<a href="index.html" class="float-start">
<img src="img/logo.png" height="100px" />
</a>
</div>
<!-- Left elements -->
<!-- Center elements -->
<div class="col-lg-8 col-sm-4 col-4 d-flex justify-content-center align-items-center">
<nav class="navbar navbar-expand-md navbar-light">
<!-- Navbar content -->
<ul class="navbar-nav mx-auto">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="product.html">Products</a>
</li>
<li class="nav-item">
<a class="nav-link" href="team.html">Team</a>
</li>
</ul>
</nav>
</div>
<!-- Center elements -->
<!-- Right elements -->
<div class="col-lg-2 col-sm-4 col-4">
<div class="d-flex justify-content-end align-items-center">
<a href="#" class="bg-primary text-white me-1 border rounded py-2 px-4 nav-link d-flex align-items-center" data-bs-toggle="modal" data-bs-target="#addToCart" style="white-space: nowrap;"> <i class="fa fa-shopping-cart me-md-2"></i><p class="d-none d-md-block mb-0">My cart</p> </a>
</div>
</div>
<!-- Right elements -->
</div>
</div>
</div>
</header>
<!-- image header -->
<img src="img/header/products.png" style="width: 100%;">
<!-- end of image header -->
<div class="container mt-4" style="max-width: 100%;">
<div class="row">
<div class="col-md-2">
<div class="filter-section">
<!-- Filters will go here -->
<h3 style="text-align: center;">Filters</h3>
<div class="filter-category">
<label style="text-align: left;">Sort by</label>
<select id="priceOption" onchange="filterProducts()" class="form-control">
<option value="all">All</option>
<option value="newest">Newest</option>
<option value="highest">Highest Price</option>
<option value="lowest">Lowest Price</option>
</select>
</div>
<br>
<div class="filter-category">
<label style="text-align: left;">Brand</label>
<select id="brandOption" onchange="filterProducts()" class="form-control">
<option value="all">All</option>
<option value="acer">Acer</option>
<option value="lenovo">Lenovo</option>
<option value="msi">MSI</option>
<option value="asus">ASUS</option>
</select>
</div>
<br>
<div class="filter-category">
<label style="text-align: left;">Category</label>
<select id="categoryOption" onchange="filterProducts()" class="form-control">
<option value="all">All</option>
<option value="laptop">Laptops</option>
<option value="monitor">Monitor</option>
<option value="desktop">Desktop</option>
</select>
</div>
</div>
</div>
<div class="col">
<div class="row" id="allProducts"></div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="p-1 text-lg-start bg-body-tertiary text-muted">
<!-- Section: Links -->
<section class="">
<div class="container text-center text-md-start mt-5">
<!-- Grid row -->
<div class="row mt-3">
<!-- Grid column -->
<div class="col-md-3 col-lg-4 col-xl-3 mx-auto mb-4">
<!-- Content -->
<img src="img/logo.png" height="150px" style="padding: 10px;" />
<p>
AUZA is your go-to spot for top-tier gaming laptops, desktops, and monitors that boost your performance.
</p>
</div>
<!-- Grid column -->
<!-- Grid column -->
<div class="col-md-2 col-lg-2 col-xl-2 mx-auto mb-4">
<!-- Links -->
<h6 class="text-uppercase fw-bold mb-4">
Products
</h6>
<p>
<a href="product.html?category=laptop" class="text-reset">Laptops</a>
</p>
<p>
<a href="product.html?category=desktop" class="text-reset">Desktops</a>
</p>
<p>
<a href="product.html?category=monitor" class="text-reset">Monitors</a>
</p>
</div>
<!-- Grid column -->
<!-- Grid column -->
<div class="col-md-4 col-lg-3 col-xl-3 mx-auto mb-md-0 mb-4">
<!-- Links -->
<h6 class="text-uppercase fw-bold mb-4">Contact</h6>
<p><i class="fas fa-home me-3"></i> Ozamiz City</p>
<p>
<i class="fas fa-envelope me-3"></i>
</p>
<p><i class="fas fa-phone me-3"></i> +63 (917) 864-6316 (Globe)</p>
<p><i class="fas fa-phone me-3"></i> +63 (2) 7502-8501 (Landline) </p>
</div>
<!-- Grid column -->
</div>
<!-- Grid row -->
</div>
</section>
<!-- Section: Links -->
<!-- Copyright -->
<div class="text-center p-4">
© 2024 Copyright:
<a class="text-reset fw-bold" href="">Auza PC Store
</a>
</div>
<!-- Copyright -->
</footer>
<!-- Footer -->
<!-- Cart Modal -->
<div class="modal fade" id="addToCart">
<div class="modal-dialog modal-dialog-scrollable">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title">My Cart</h4>
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
</div>
<!-- Modal body -->
<div class="modal-body" id="cart">
Your cart is empty :(
</div>
<!-- Modal footer -->
<div class="modal-footer">
<b>Total: </b><p id="total">₱0.00</p>
<button type="button" class="btn btn-success text-nowrap" onclick="window.location='checkout.html';">Checkout</button>
</div>
</div>
</div>
</div>
<!-- See More Modal -->
<div class="modal fade" id="seeMore" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="modalProductTitle"></h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<img id="modalProductImage" class="img-fluid mx-auto d-block" style="width: 300px; height: 300px; object-fit: cover;" alt="Product Image">
<p id="modalProductDescription"></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- Scripts -->
<script src="js/Core.js"></script>
<script src="js/Alert.js"></script>
</body>
</html>