-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcategory.html
More file actions
274 lines (260 loc) · 13.2 KB
/
Copy pathcategory.html
File metadata and controls
274 lines (260 loc) · 13.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IRONZONE - Disciplines & Categories</title>
<link rel="stylesheet" href="styles/main.css">
<link rel="stylesheet" href="styles/header.css">
<link rel="stylesheet" href="styles/category.css">
</head>
<body>
<!-- Header Component -->
<header class="header">
<div class="header__container">
<button class="header__menu-btn" id="menuBtn">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<line x1="3" y1="6" x2="21" y2="6"></line>
<line x1="3" y1="12" x2="21" y2="12"></line>
<line x1="3" y1="18" x2="21" y2="18"></line>
</svg>
</button>
<h1 class="header__logo">IRONZONE</h1>
<!-- Desktop Navigation Menu -->
<nav class="desktop-menu">
<a class="desktop-menu__item" href="index.html">HOME</a>
<a class="desktop-menu__item" href="category.html">CATEGORIES</a>
<a class="desktop-menu__item" href="profile.html">PROFILE</a>
</nav>
<button class="header__cart-btn" id="cartBtn">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<circle cx="9" cy="21" r="1"></circle>
<circle cx="20" cy="21" r="1"></circle>
<path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path>
</svg>
</button>
</div>
</header>
<!-- Mobile Menu -->
<div class="mobile-menu__overlay" id="menuOverlay"></div>
<div class="mobile-menu" id="mobileMenu">
<div class="mobile-menu__items">
<a class="mobile-menu__item" href="index.html">
<div class="mobile-menu__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
<path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"></path>
</svg>
</div>
<span>HOME</span>
</a>
<a class="mobile-menu__item" href="category.html">
<div class="mobile-menu__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
<path d="M3 3h8v8H3V3m10 0h8v8h-8V3M3 13h8v8H3v-8m10 0h8v8h-8v-8z"></path>
</svg>
</div>
<span>CATEGORIES</span>
</a>
<a class="mobile-menu__item" href="profile.html">
<div class="mobile-menu__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"></path>
</svg>
</div>
<span>PROFILE</span>
</a>
<a class="mobile-menu__item" href="cart.html">
<div class="mobile-menu__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
<circle cx="9" cy="21" r="1"></circle>
<circle cx="20" cy="21" r="1"></circle>
<path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path>
</svg>
</div>
<span>CART</span>
</a>
</div>
</div>
<!-- Filter Button -->
<div class="category-page__filter-bar">
<button class="filter-btn" id="filterBtn">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polygon points="22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"></polygon>
</svg>
</button>
</div>
<!-- Main Categories Section -->
<section class="disciplines">
<h2 class="disciplines__title">DISCIPLINES</h2>
<!-- Boxing Category -->
<article class="category-card category-card--boxing" id="boxingCategory">
<div class="category-card__header">
<div class="category-card__icon">
<svg width="32" height="32" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2L15.09 8.26h6.81L17.45 12.91l3.09 6.26L12 16.61l-8.54 2.56l3.09-6.26L2.1 8.26h6.81L12 2z"></path>
</svg>
</div>
<div class="category-card__info">
<h3 class="category-card__name">BOXING</h3>
<p class="category-card__description">Gloves • Bags • Wraps • Shorts • Headgear</p>
</div>
<button class="category-card__toggle" id="boxingToggle">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</button>
</div>
<div class="category-card__product-count">
<span>48 products</span>
</div>
<div class="category-card__subcategories" id="boxingSubcats">
<button class="subcategory-btn">Gloves</button>
<button class="subcategory-btn">Heavy Bags</button>
<button class="subcategory-btn">Speed Bags</button>
<button class="subcategory-btn">Wraps</button>
<button class="subcategory-btn">More</button>
</div>
</article>
<!-- Gym & Weights Category -->
<article class="category-card category-card--gym" id="gymCategory">
<div class="category-card__header">
<div class="category-card__icon">
<svg width="32" height="32" viewBox="0 0 24 24" fill="currentColor">
<path d="M6 4h12v2H6V4zm1 4h10v12H7V8zm11 0h4v12h-4V8zM1 8h4v12H1V8z"></path>
</svg>
</div>
<div class="category-card__info">
<h3 class="category-card__name">GYM & WEIGHTS</h3>
<p class="category-card__description">Barbells • Dumbbells • Benches • Belts • Straps</p>
</div>
<button class="category-card__toggle" id="gymToggle">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</button>
</div>
<div class="category-card__product-count">
<span>100 products</span>
</div>
<div class="category-card__subcategories" id="gymSubcats">
<button class="subcategory-btn">Barbells</button>
<button class="subcategory-btn">Dumbbells</button>
<button class="subcategory-btn">Benches</button>
<button class="subcategory-btn">Belts</button>
<button class="subcategory-btn">Strap</button>
</div>
</article>
<!-- Calisthenics Category -->
<article class="category-card category-card--calisthenics" id="calisthenicsCategory">
<div class="category-card__header">
<div class="category-card__icon">
<svg width="32" height="32" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path>
</svg>
</div>
<div class="category-card__info">
<h3 class="category-card__name">CALISTHENICS</h3>
<p class="category-card__description">Pull-Up Bars • Rings • Parallettes • Bands • Dip</p>
</div>
<button class="category-card__toggle" id="calisthenicsToggle">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</button>
</div>
<div class="category-card__product-count">
<span>60 products</span>
</div>
<div class="category-card__subcategories" id="calisthenicsSubcats">
<button class="subcategory-btn">Pull-Up Bars</button>
<button class="subcategory-btn">Rings</button>
<button class="subcategory-btn">Parallettes</button>
<button class="subcategory-btn">Bands</button>
<button class="subcategory-btn">Dip</button>
</div>
</article>
</section>
<!-- More Categories Section -->
<section class="more-categories">
<h2 class="more-categories__title">MORE CATEGORIES</h2>
<!-- Apparel & Clothing -->
<article class="category-item" id="apparelCategory">
<div class="category-item__header">
<div class="category-item__icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="currentColor">
<path d="M8 2h8v2H8V2m-2 3h12v2H6V5m1 3h10v12H7V8z"></path>
</svg>
</div>
<div class="category-item__info">
<h3 class="category-item__name">Apparel & Clothing</h3>
<p class="category-item__count">124 products</p>
</div>
<button class="category-item__arrow">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</button>
</div>
</article>
<!-- Supplements & Nutrition -->
<article class="category-item" id="supplementsCategory">
<div class="category-item__header">
<div class="category-item__icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="currentColor">
<path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z"></path>
</svg>
</div>
<div class="category-item__info">
<h3 class="category-item__name">Supplements & Nutrition</h3>
<p class="category-item__count">56 products</p>
</div>
<button class="category-item__arrow">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</button>
</div>
</article>
<!-- Accessories -->
<article class="category-item" id="accessoriesCategory">
<div class="category-item__header">
<div class="category-item__icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path>
</svg>
</div>
<div class="category-item__info">
<h3 class="category-item__name">Accessories</h3>
<p class="category-item__count">71 products</p>
</div>
<button class="category-item__arrow">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</button>
</div>
</article>
<!-- Recovery & Wellness -->
<article class="category-item" id="recoveryCategory">
<div class="category-item__header">
<div class="category-item__icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path>
</svg>
</div>
<div class="category-item__info">
<h3 class="category-item__name">Recovery & Wellness</h3>
<p class="category-item__count">38 products</p>
</div>
<button class="category-item__arrow">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</button>
</div>
</article>
</section>
<script src="js/main.js"></script>
<script src="js/category.js"></script>
</body>
</html>