Commit 82fbaca
feat(ui): make new site design mobile-responsive
The redesign was built desktop-first with no media queries below 800px.
This adds a three-tier responsive treatment (mobile <=640 / tablet 641-1024
/ desktop >1024) across both the static design mockup and the live app.
Live app (src/):
- Navbar.tsx gets a useState hamburger that exposes all primary + more
links in a single flat panel on <md viewports.
- Landing page: hero CTAs stack with w-full sm:w-auto, preview grid
collapses to single column below lg, section padding tightened.
- Dashboard: page padding scaled with viewport; hero (map + Quick log)
and log + DXpeditions grids drop to single column at lg; band-activity
strip wraps to a 4-col grid on mobile. The 7-column QSO table renders
as stacked QSO cards on <md via a parallel md:hidden tree over the
same filteredContacts (no <Table> changes).
- New-contact: page padding, outer layout single-col below xl, callsign
mega-input scales 32->56px, lookup card grid restructures, form
footer reverses with Save QSO on top on mobile.
Static mockup (new-design/):
- Global mobile/tablet rules at end of styles.css including the
hamburger CSS-only toggle and a .tbl card-view with data-label
::before fallbacks.
- Hamburger HTML + per-page media queries in all three pages.
- data-label attributes on every <td> in the dashboard table for the
card-view labels.
Verified: lint, typecheck, and build all clean.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 60fa5c7 commit 82fbaca
8 files changed
Lines changed: 2379 additions & 138 deletions
File tree
- new-design
- src
- app
- dashboard
- new-contact
- components
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
| 427 | + | |
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
| 452 | + | |
456 | 453 | | |
457 | 454 | | |
458 | 455 | | |
459 | 456 | | |
460 | | - | |
| 457 | + | |
461 | 458 | | |
462 | 459 | | |
463 | 460 | | |
| |||
483 | 480 | | |
484 | 481 | | |
485 | 482 | | |
486 | | - | |
| 483 | + | |
487 | 484 | | |
488 | 485 | | |
489 | 486 | | |
| |||
501 | 498 | | |
502 | 499 | | |
503 | 500 | | |
504 | | - | |
| 501 | + | |
505 | 502 | | |
506 | | - | |
507 | 503 | | |
508 | 504 | | |
509 | 505 | | |
510 | 506 | | |
511 | 507 | | |
512 | 508 | | |
513 | | - | |
| 509 | + | |
514 | 510 | | |
515 | 511 | | |
516 | 512 | | |
| |||
535 | 531 | | |
536 | 532 | | |
537 | 533 | | |
538 | | - | |
| 534 | + | |
539 | 535 | | |
540 | 536 | | |
541 | 537 | | |
| |||
550 | 546 | | |
551 | 547 | | |
552 | 548 | | |
553 | | - | |
| 549 | + | |
554 | 550 | | |
555 | 551 | | |
556 | 552 | | |
| |||
643 | 639 | | |
644 | 640 | | |
645 | 641 | | |
646 | | - | |
| 642 | + | |
647 | 643 | | |
648 | 644 | | |
649 | 645 | | |
| |||
792 | 788 | | |
793 | 789 | | |
794 | 790 | | |
795 | | - | |
796 | | - | |
| 791 | + | |
| 792 | + | |
797 | 793 | | |
798 | 794 | | |
799 | | - | |
800 | | - | |
| 795 | + | |
| 796 | + | |
801 | 797 | | |
802 | 798 | | |
803 | 799 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
| 148 | + | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
201 | | - | |
| 200 | + | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
| 303 | + | |
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
344 | 344 | | |
345 | | - | |
346 | 345 | | |
347 | 346 | | |
348 | 347 | | |
| |||
370 | 369 | | |
371 | 370 | | |
372 | 371 | | |
373 | | - | |
374 | | - | |
| 372 | + | |
| 373 | + | |
375 | 374 | | |
376 | 375 | | |
377 | | - | |
| 376 | + | |
378 | 377 | | |
379 | 378 | | |
380 | 379 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
58 | 63 | | |
59 | 64 | | |
60 | | - | |
| 65 | + | |
61 | 66 | | |
62 | 67 | | |
63 | 68 | | |
| |||
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
69 | 84 | | |
70 | 85 | | |
71 | 86 | | |
| |||
102 | 117 | | |
103 | 118 | | |
104 | 119 | | |
105 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
106 | 143 | | |
107 | 144 | | |
108 | 145 | | |
| |||
0 commit comments