-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
149 lines (147 loc) · 7.61 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Barter Better</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css" integrity="sha512-MV7K8+y+gLIBoVD59lQIYicR65iaqukzvf/nwasF0nqhPay5w/9lJmVM2hMDcnK1OnMGCdVK+iQrJ7lzPJQd1w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/css/bootstrap.min.css" integrity="sha384-r4NyP46KrjDleawBgD5tp8Y7UzmLA05oM1iAEQ17CSuDqnUK2+k9luXQOfXJCJ4I" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.min.js" integrity="sha384-oesi62hOLfzrys4LxRF63OJCXdXDipiYWBnvTl9Y9/TRlw5xlKIEHpNyvvDShgf/" crossorigin="anonymous"></script>
</head>
<body>
<div class="app-container">
<header id="header">
<button type="submit" value="submit" class="btn btn-regular" id="login"><div data-netlify-identity-button></div></button>
<div class="login-container" id="login">
<a href="./register.html"><button class="btn btn-regular" id="login-btn" type="submit" value="submit"><span>Register <i class="fa fa-user"></i></span></button></a>
</div>
<input type="search" name="search" id="search-bar" placeholder=" Search..."><button type="submit" value="search" name="search" class="btn btn-regular" id="magnifying-glass"> <i class="fa fa-search"></i> </button>
<button type="submit" class="btn btn-success" id="sidebar-hamburger"> <i class="fa fa-bars"></i> </button>
<a href="./index.html">
<div class="logo" id="logo">
<img src="./img/logo2.png" alt="">
<h2>Barter|Better</h2>
</div>
</a>
<div class="sidebar" id="sidebar">
<button type="submit" class="btn btn-danger" id="sidebar-close-btn"> <i class="fa fa-close"></i> </button>
<div class="filters-container" id="filters-container">
<div class="clear" id="clear-filter">
<label for="clear"></label>
<br>
<button type="submit" value="submit" name="clear" id="clear-filters" class="btn btn-warning">Clear filters</button>
</div>
<div class="apply" id="apply-filter">
<label for="apply"></label>
<br>
<button type="submit" value="submit" name="apply" id="apply-filters" class="btn btn-success">Apply filters</button>
</div>
<div class="category" id="category-filter">
<label for="category"></label>
<fieldset id="category-section">
<legend>Category</legend>
<div>
<input type="checkbox" id="collections" name="interest" value="collections" checked/>
<label for="collections">Collections</label>
</div>
<div>
<input type="checkbox" id="clothing" name="interest" value="clothing"/>
<label for="clothing">Clothing</label>
</div>
<div>
<input type="checkbox" id="tools" name="interest" value="tools" />
<label for="tools">Tools</label>
</div>
<div>
<input type="checkbox" id="fresh-produce" name="interest" value="fresh-produce" />
<label for="fresh-produce">Fresh Produce</label>
</div>
<div>
<input type="checkbox" id="electronics" name="interest" value="electronics" />
<label for="electronics">Electronics</label>
</div>
<div>
<input type="checkbox" id="services" name="interest" value="services" />
<label for="services">Services</label>
</div>
<div>
<input type="checkbox" id="misc" name="interest" value="misc" />
<label for="misc">Miscellaneous</label>
</div>
</fieldset>
</div>
<div class="region" id="region-filter">
<fieldset id="region-section">
<legend>Region</legend>
<div>
<input type="checkbox" id="ec" name="ec" checked>
<label for="ec"><p> Eastern Cape</p></label>
</div>
<div>
<input type="checkbox" id="fs" name="fs">
<label for="fs"><p> Free State</p></label>
</div>
<div>
<input type="checkbox" id="gp" name="gp">
<label for="gp"><p> Gauteng</p></label>
</div>
<div>
<input type="checkbox" id="kzn" name="kzn">
<label for="kzn"><p> Kwa-Zulu Natal</p></label>
</div>
<div>
<input type="checkbox" id="lp" name="lp">
<label for="lp"><p> Limpopo</p></label>
</div>
<div>
<input type="checkbox" id="mp" name="mp">
<label for="mp"><p> Mpumalanga</p></label>
</div>
<div>
<input type="checkbox" id="nc" name="nc">
<label for="nc"><p> Northern Cape</p></label>
</div>
<div>
<input type="checkbox" id="nw" name="nw">
<label for="nw"><p> North West</p></label>
</div>
<div>
<input type="checkbox" id="wc" name="wc">
<label for="wc"><p> Western Cape</p></label>
</div>
</fieldset>
</div>
</div>
</div>
<div class="create-new-post" id="create-new-post">
<a href="./createpost.html"> <button class="btn btn-success" id="create-new-post-btn">Create a new post <i class="fa fa-pen"></i> </button></a>
</div>
</header>
<main>
<div class="container-fluid" id="app-container">
<ul id="paginated-list" aria-live="polite">
</ul>
</div>
</main>
<footer>
<nav class="pagination-container">
<button class="pagination-button" id="prev-button" title="Previous page" aria-label="Previous page"> <i class="fa fa-angle-left"></i> </button>
<div id="pagination-numbers"></div>
<button class="pagination-button" id="next-button" title="Next page" aria-label="Next page"> <i class="fa fa-angle-right"></i> </button>
</nav>
<a href="#"> <button type="submit" value"submit" class="btn btn-regular" id="back-to-top"> <i class="fa fa-chevron-up"></i> </button> </a>
</footer>
</div>
<script src="./form-data.js"></script>
<script src="./connect.js"></script>
<!-- <script defer src="./netlify.js"></script>
<script defer src="./netlifyModule.js"></script> -->
<script defer src="./pagination.js"></script>
<script defer src="./data.js"></script>
<script defer src="./app.js"></script>
</body>
</html>