Commit f3814c9
committed
fix: address maintainer feedback on hero section
- Remove duplicate tabs-section below hero (was redundant)
- Remove 'Explore Projects' button entirely
- Add 'All Projects' badge to left of Games in hero
- Convert hero feature-badges into functional tab buttons
(retain .tab class, data-category, ARIA roles for JS compat)
- Move Random Project button into hero section, centered
- Add .feature-badge.active CSS for selected state
- Compact badge sizing so all 5 fit on one row
- Change btn-random-project to inline-flex for centering
No JS changes needed — all existing functionality preserved.1 parent cde2e0f commit f3814c9
2 files changed
Lines changed: 49 additions & 41 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
202 | 206 | | |
203 | 207 | | |
204 | 208 | | |
205 | | - | |
| 209 | + | |
206 | 210 | | |
207 | | - | |
| 211 | + | |
208 | 212 | | |
209 | 213 | | |
210 | 214 | | |
211 | | - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
212 | 229 | | |
213 | 230 | | |
214 | 231 | | |
| |||
218 | 235 | | |
219 | 236 | | |
220 | 237 | | |
221 | | - | |
| 238 | + | |
222 | 239 | | |
223 | 240 | | |
224 | 241 | | |
| |||
860 | 877 | | |
861 | 878 | | |
862 | 879 | | |
863 | | - | |
| 880 | + | |
864 | 881 | | |
865 | 882 | | |
866 | 883 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
536 | | - | |
537 | | - | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
538 | 544 | | |
539 | 545 | | |
540 | | - | |
541 | | - | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
542 | 549 | | |
543 | 550 | | |
544 | | - | |
545 | | - | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
546 | 554 | | |
547 | 555 | | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
| 556 | + | |
571 | 557 | | |
572 | 558 | | |
573 | 559 | | |
574 | 560 | | |
575 | 561 | | |
576 | 562 | | |
577 | | - | |
578 | | - | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
579 | 568 | | |
580 | | - | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
581 | 572 | | |
582 | 573 | | |
583 | 574 | | |
| |||
0 commit comments