forked from CodnanBaig/green-paradise
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathallProducts.html
133 lines (130 loc) · 4.87 KB
/
allProducts.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script
src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/10.1.0/swiper-bundle.min.js"
integrity="sha512-4Ooh3fl4STrmn95ZbS/J6l8csp/FvSKPaeDAH/IaPQGJIx9lmpuxXZTCYKR2W5+Bt7i74exPvAT2PsWnac+sow=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<!-- Bootstrap CSS -->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link
rel="stylesheet"
href="https://unpkg.com/swiper/swiper-bundle.min.css"
/>
<link
href="https://api.fontshare.com/v2/css?f[]=clash-display@200,400,700,500,600,1,300&display=swap"
rel="stylesheet"
/>
<link rel="shortcut icon" href="GP.png" type="image/x-icon">
<link rel="stylesheet" href="./styles/allProducts.css" />
<link rel="stylesheet" href="./styles/index.css" />
<link rel="stylesheet" href="./styles/nav.css" />
<link rel="stylesheet" href="./styles/footer.css" />
<link rel="stylesheet" href="./styles/popularProducts.css" />
<title>Green Paradise - Catalog</title>
</head>
<style>
.active > a {
background-color: #486e00 !important;
}
</style>
<body>
<div class="background">
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
<nav class="navbar sticky-top navbar-expand-lg bg-light"></nav>
<section id="main" class="container mt-5">
<h1 class="heading">Catalog</h1>
<a href="allProducts.html"><p class="mb-2" onclick="clearCategoryFilter()">Reset filters</p></a>
<div id="secondmain" class="row g-5">
<div id="filtering" class="col-lg-4 col-sm-12 container">
<div class="row g-3">
<div class="form-check col-lg-12 col-sm-3 col-xs-6">
<input class="form-check-input" type="checkbox" value="Planters" id="flexCheckChecked">
<label class="form-check-label" for="flexCheckChecked">
Planters
</label>
</div>
<div class="form-check col-lg-12 col-sm-3 col-xs-6">
<input class="form-check-input" type="checkbox" value="Flowering" id="flexCheckChecked">
<label class="form-check-label" for="flexCheckChecked">
Flowering
</label>
</div>
<div class="form-check col-lg-12 col-sm-3 col-xs-6">
<input class="form-check-input" type="checkbox" value="Easy-Care" id="flexCheckChecked">
<label class="form-check-label" for="flexCheckChecked">
Easy-Care
</label>
</div>
<div class="form-check col-lg-12 col-sm-3 col-xs-6">
<input class="form-check-input" type="checkbox" value="Faux" id="flexCheckChecked">
<label class="form-check-label" for="flexCheckChecked">
Faux
</label>
</div>
</div>
<div class="functions mt-3">
<i class="bi bi-sort-down"></i>
<select id="sortbtn" class="form-select">
<option value="">Sort by price</option>
<option value="asc">Price: Low to high</option>
<option value="desc">Price: High to low</option>
</select>
</div>
</div>
<div class="col-lg-8 col-sm-12">
<div id="mainitems" class="row g-4"></div>
</div>
<div id="pagination" class="mt-3">
<ul
class="pagination justify-content-end"
id="paginationButtons"
></ul>
</div>
</div>
</section>
<section id="popular-products" class="mt-5 mb-5">
<div class="container">
<div class="row">
<div class="col-12">
<h1 class="heading">Popular Products</h1>
</div>
</div>
<div class="row mt-2 g-5">
<div class="col-12">
<div class="swiper-container">
<div class="swiper-wrapper" id="popular-products-container">
<!-- Product cards will be added here -->
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="footer mt-auto py-3 bg-light"></footer>
</body>
</html>
<script src="scripts/allProducts.js" type="module"></script>