-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwireframe-version.html
More file actions
448 lines (415 loc) · 20.4 KB
/
wireframe-version.html
File metadata and controls
448 lines (415 loc) · 20.4 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
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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Stuff Swap | Find Items Near You</title>
<link rel="stylesheet" href="css/wireframe-styles.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>
<body>
<!-- Header -->
<section class="top-bar">
<div class="menu-icon" onclick="toggleNav()">☰</div>
<div class="header-left">
<div class="logo"><strong>Stuff</strong> Swap</div>
<div class="page-title">Browse</div>
</div>
<nav class="nav-links" id="navLinks">
<a href="index.html">Home</a>
<a href="whatIsStuffSwap.html">About</a>
<a href="favorites.html">Favorites</a>
<a href="cart.html">Cart</a>
<a href="profile.html">Profile</a>
<a href="login.html">Login</a>
</nav>
<div class="search-container">
<div class="search-bar">
<span class="search-icon"><i class="fas fa-search"></i></span>
<input type="text" placeholder="Search | Category" id="searchInput">
<span class="clear-icon" id="clearSearch"><i class="fas fa-times"></i></span>
</div>
</div>
<div class="header-icons">
<a href="favorites.html" class="icon" id="favoritesBtn" title="Favorites"><i class="fas fa-heart"></i></a>
<a href="#" class="icon" id="swapRequestsBtn" title="Swap Requests"><i class="fas fa-exchange-alt"></i></a>
<a href="profile.html" class="icon" id="profileBtn" title="Profile"><i class="fas fa-user"></i></a>
</div>
</section>
<!-- Category Filter Bar -->
<section class="category-bar">
<div class="category-container">
<button class="category-btn active">
<i class="fas fa-filter"></i>
All
</button>
<button class="category-btn">Clothing</button>
<button class="category-btn">Furniture</button>
<button class="category-btn">Appliances</button>
<button class="category-btn">Electronics</button>
<button class="category-btn">Toys</button>
</div>
</section>
<!-- Main Content -->
<main class="main-content">
<!-- Left Section - Listings (60%) -->
<section class="listings-section">
<div class="listings-header">
<h1><i class="fas fa-map-marker-alt location-icon"></i> Swappers near you</h1>
</div>
<!-- Refine Search Filters -->
<div class="refine-filters">
<select class="filter-dropdown">
<option>Category ▾</option>
<option>Clothing</option>
<option>Furniture</option>
<option>Appliances</option>
<option>Electronics</option>
<option>Toys</option>
</select>
<select class="filter-dropdown">
<option>Size ▾</option>
<option>Small</option>
<option>Medium</option>
<option>Large</option>
</select>
<select class="filter-dropdown">
<option>Color ▾</option>
<option>Red</option>
<option>Blue</option>
<option>Green</option>
<option>Black</option>
<option>White</option>
</select>
<select class="filter-dropdown">
<option>Quality ▾</option>
<option>New</option>
<option>Like New</option>
<option>Good</option>
<option>Fair</option>
</select>
<select class="filter-dropdown">
<option>Miles ▾</option>
<option>1 mile</option>
<option>5 miles</option>
<option>10 miles</option>
<option>25 miles</option>
</select>
</div>
<!-- Product Listings Grid -->
<div class="listings-grid">
<!-- Row 1 -->
<div class="listing-card">
<div class="listing-image">
<img src="assets/images/SMN Motorbike Helmet.png" alt="Motorbike Helmet">
</div>
<div class="listing-info">
<div class="listing-header">
<span class="username">@sportswapper</span>
<button class="favorite-btn"><i class="far fa-heart"></i></button>
</div>
<h3 class="listing-title">SMN Motorbike Helmet</h3>
<span class="category-tag">#Sports</span>
</div>
</div>
<div class="listing-card">
<div class="listing-image">
<img src="assets/images/Beige Livingroom Couch.png" alt="Living Room Couch">
</div>
<div class="listing-info">
<div class="listing-header">
<span class="username">@furnitureguru</span>
<button class="favorite-btn"><i class="far fa-heart"></i></button>
</div>
<h3 class="listing-title">Beige Livingroom Couch</h3>
<span class="category-tag">#Furniture</span>
</div>
</div>
<div class="listing-card">
<div class="listing-image">
<img src="assets/images/Red Skateboard.png" alt="Red Skateboard">
</div>
<div class="listing-info">
<div class="listing-header">
<span class="username">@skatepro</span>
<button class="favorite-btn"><i class="far fa-heart"></i></button>
</div>
<h3 class="listing-title">Red Skateboard</h3>
<span class="category-tag">#Sports</span>
</div>
</div>
<div class="listing-card">
<div class="listing-image">
<img src="assets/images/Vintage Mahogany Dresser.png" alt="Vintage Dresser">
</div>
<div class="listing-info">
<div class="listing-header">
<span class="username">@vintagecollector</span>
<button class="favorite-btn"><i class="far fa-heart"></i></button>
</div>
<h3 class="listing-title">Vintage Mahogany Dresser</h3>
<span class="category-tag">#Furniture</span>
</div>
</div>
<!-- Row 2 -->
<div class="listing-card">
<div class="listing-image">
<img src="assets/images/Faded Pastel Jeans.png" alt="Faded Jeans">
</div>
<div class="listing-info">
<div class="listing-header">
<span class="username">@fashionista</span>
<button class="favorite-btn"><i class="far fa-heart"></i></button>
</div>
<h3 class="listing-title">Faded Pastel Jeans</h3>
<span class="category-tag">#Clothes</span>
</div>
</div>
<div class="listing-card">
<div class="listing-image">
<img src="assets/images/iPhone 16 Pro.png" alt="iPhone 16 Pro">
</div>
<div class="listing-info">
<div class="listing-header">
<span class="username">@techswapper</span>
<button class="favorite-btn"><i class="far fa-heart"></i></button>
</div>
<h3 class="listing-title">iPhone 16 Pro</h3>
<span class="category-tag">#Tech</span>
</div>
</div>
<div class="listing-card">
<div class="listing-image">
<img src="assets/images/Netted Leather Cushion Livingroom Chair.png" alt="Leather Chair">
</div>
<div class="listing-info">
<div class="listing-header">
<span class="username">@homeimprover</span>
<button class="favorite-btn"><i class="far fa-heart"></i></button>
</div>
<h3 class="listing-title">Netted, Leather Cushion Livingroom Chair</h3>
<span class="category-tag">#Furniture</span>
</div>
</div>
<div class="listing-card">
<div class="listing-image">
<img src="assets/images/Gray Velvet Sofa.jpeg" alt="Gray Sofa">
</div>
<div class="listing-info">
<div class="listing-header">
<span class="username">@sofalover</span>
<button class="favorite-btn"><i class="far fa-heart"></i></button>
</div>
<h3 class="listing-title">Light Gray Livingroom Sofa</h3>
<span class="category-tag">#Furniture</span>
</div>
</div>
<!-- Row 3 -->
<div class="listing-card">
<div class="listing-image">
<img src="assets/images/Rustic Metallic Lamp.png" alt="Rustic Lamp">
</div>
<div class="listing-info">
<div class="listing-header">
<span class="username">@decorator</span>
<button class="favorite-btn"><i class="far fa-heart"></i></button>
</div>
<h3 class="listing-title">Rustic Metallic Lamp</h3>
<span class="category-tag">#Decor</span>
</div>
</div>
<div class="listing-card">
<div class="listing-image">
<img src="assets/images/Gray Padded Office Chair.png" alt="Office Chair">
</div>
<div class="listing-info">
<div class="listing-header">
<span class="username">@officeguru</span>
<button class="favorite-btn"><i class="far fa-heart"></i></button>
</div>
<h3 class="listing-title">Gray Padded Office Chair</h3>
<span class="category-tag">#Furniture</span>
</div>
</div>
<div class="listing-card">
<div class="listing-image">
<img src="assets/images/Vintage Clock.png" alt="Vintage Clock">
</div>
<div class="listing-info">
<div class="listing-header">
<span class="username">@timekeeper</span>
<button class="favorite-btn"><i class="far fa-heart"></i></button>
</div>
<h3 class="listing-title">Vintage Clock</h3>
<span class="category-tag">#Decor</span>
</div>
</div>
<div class="listing-card">
<div class="listing-image">
<img src="assets/images/Electric Blue Bicycle.png" alt="Blue Bicycle">
</div>
<div class="listing-info">
<div class="listing-header">
<span class="username">@cyclist</span>
<button class="favorite-btn"><i class="far fa-heart"></i></button>
</div>
<h3 class="listing-title">Electric Blue Bicycle</h3>
<span class="category-tag">#Sports</span>
</div>
</div>
</div>
<!-- Pagination -->
<div class="pagination" id="pagination"></div>
</section>
<!-- Right Section - Interactive Map (40%) -->
<section class="map-section">
<div class="map-container">
<div class="map-controls">
<button class="map-btn" id="redoSearchBtn">Redo search in map</button>
<div class="map-actions">
<button class="map-action-btn" id="expandMapBtn">
<i class="fas fa-expand"></i>
</button>
<button class="map-action-btn" id="collapseMapBtn">
<i class="fas fa-compress"></i>
</button>
</div>
</div>
<div class="interactive-map" id="map">
<!-- Map will be rendered here -->
<div class="map-background">
<div class="map-grid"></div>
</div>
<!-- Map Pins -->
<div class="map-pin" data-username="sportswapper" data-title="SMN Motorbike Helmet" data-category="Sports" style="top: 20%; left: 25%;">
<div class="pin-icon">🪖</div>
<div class="pin-tooltip">
<div class="tooltip-image">
<img src="assets/images/SMN Motorbike Helmet.png" alt="Motorbike Helmet">
</div>
<div class="tooltip-content">
<h4>@sportswapper</h4>
<p class="tooltip-title">SMN Motorbike Helmet</p>
<p class="tooltip-distance">0.8 miles away</p>
<p class="tooltip-category">Sports</p>
</div>
</div>
</div>
<div class="map-pin" data-username="furnitureguru" data-title="Beige Livingroom Couch" data-category="Furniture" style="top: 45%; left: 60%;">
<div class="pin-icon">🛋️</div>
<div class="pin-tooltip">
<div class="tooltip-image">
<img src="assets/images/Beige Livingroom Couch.png" alt="Living Room Couch">
</div>
<div class="tooltip-content">
<h4>@furnitureguru</h4>
<p class="tooltip-title">Beige Livingroom Couch</p>
<p class="tooltip-distance">1.2 miles away</p>
<p class="tooltip-category">Furniture</p>
</div>
</div>
</div>
<div class="map-pin" data-username="skatepro" data-title="Red Skateboard" data-category="Sports" style="top: 70%; left: 35%;">
<div class="pin-icon">🛹</div>
<div class="pin-tooltip">
<div class="tooltip-image">
<img src="assets/images/Red Skateboard.png" alt="Red Skateboard">
</div>
<div class="tooltip-content">
<h4>@skatepro</h4>
<p class="tooltip-title">Red Skateboard</p>
<p class="tooltip-distance">0.5 miles away</p>
<p class="tooltip-category">Sports</p>
</div>
</div>
</div>
<div class="map-pin" data-username="vintagecollector" data-title="Vintage Mahogany Dresser" data-category="Furniture" style="top: 30%; left: 75%;">
<div class="pin-icon">🪑</div>
<div class="pin-tooltip">
<div class="tooltip-image">
<img src="assets/images/Vintage Mahogany Dresser.png" alt="Vintage Dresser">
</div>
<div class="tooltip-content">
<h4>@vintagecollector</h4>
<p class="tooltip-title">Vintage Mahogany Dresser</p>
<p class="tooltip-distance">2.1 miles away</p>
<p class="tooltip-category">Furniture</p>
</div>
</div>
</div>
<div class="map-pin" data-username="techswapper" data-title="iPhone 16 Pro" data-category="Tech" style="top: 55%; left: 80%;">
<div class="pin-icon">📱</div>
<div class="pin-tooltip">
<div class="tooltip-image">
<img src="assets/images/iPhone 16 Pro.png" alt="iPhone 16 Pro">
</div>
<div class="tooltip-content">
<h4>@techswapper</h4>
<p class="tooltip-title">iPhone 16 Pro</p>
<p class="tooltip-distance">1.8 miles away</p>
<p class="tooltip-category">Tech</p>
</div>
</div>
</div>
<!-- Your Location Marker -->
<div class="your-location">
<div class="location-pulse"></div>
<div class="location-marker">📍</div>
</div>
</div>
</div>
</section>
</main>
<div id="swap-requests-fullpage" style="display:none"></div>
<!-- Footer -->
<footer class="main-footer">
<div class="footer-content">
<!-- Left Section - Branding -->
<div class="footer-brand">
<div class="footer-logo">
<span class="logo-text">STUFF</span>
<span class="logo-accent">SWAP</span>
</div>
<p class="footer-tagline">Thoughtful swapping for growing communities.</p>
<p class="footer-copyright">© 2024 Stuff Swap. Community Exchange Platform. All Rights Reserved.</p>
</div>
<!-- Middle Section - Newsletter -->
<div class="footer-newsletter">
<h3>COMMUNITY INSIGHTS FOR CLEVER SWAPPERS</h3>
<h4>DIRECT TO YOUR INBOX</h4>
<div class="newsletter-form">
<input type="email" placeholder="YOUR E-MAIL" class="newsletter-input">
<button class="newsletter-btn">SUBSCRIBE</button>
</div>
</div>
<!-- Right Section - Social & Contact -->
<div class="footer-contact">
<div class="social-section">
<h3>FOLLOW US</h3>
<div class="social-icons">
<a href="#" class="social-icon">📷</a>
<a href="#" class="social-icon">👥</a>
<a href="#" class="social-icon">🐦</a>
</div>
</div>
<div class="contact-section">
<h3>CONTACT US</h3>
<p class="contact-info">support@stuffswap.com</p>
</div>
</div>
</div>
<!-- Bottom Legal Links -->
<div class="footer-legal">
<a href="#" class="legal-link">PRIVACY POLICY</a>
<a href="#" class="legal-link">TERMS AND CONDITIONS</a>
</div>
</footer>
<script src="js/wireframe-script.js"></script>
<script>
function toggleNav() {
document.getElementById('navLinks').classList.toggle('show');
}
</script>
</body>
</html>