Commit eeae08e
Nav: a single Blog link instead of one per breakpoint
The nav carried two Blog anchors — one in .nav-links for desktop and a
.nav-cta-link duplicate for mobile — relying on CSS to hide whichever
didn't apply. styles.css is served with max-age=14400 and no version
query, so a browser holding the previous stylesheet against the new HTML
rendered both at once.
Keep one anchor, tagged .nav-blog, and collapse its siblings rather than
the whole container under 940px. Blog is a destination rather than an
in-page anchor, so it survives the breakpoint where the rest fall away —
same reachability, and no arrangement of stale CSS can duplicate it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 6e2d3af commit eeae08e
3 files changed
Lines changed: 7 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | 80 | | |
83 | 81 | | |
84 | 82 | | |
| |||
379 | 377 | | |
380 | 378 | | |
381 | 379 | | |
382 | | - | |
| 380 | + | |
383 | 381 | | |
384 | 382 | | |
385 | 383 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | 72 | | |
75 | 73 | | |
76 | 74 | | |
| |||
539 | 537 | | |
540 | 538 | | |
541 | 539 | | |
542 | | - | |
| 540 | + | |
543 | 541 | | |
544 | 542 | | |
545 | 543 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | 550 | | |
554 | 551 | | |
555 | 552 | | |
| |||
648 | 645 | | |
649 | 646 | | |
650 | 647 | | |
651 | | - | |
652 | 648 | | |
653 | 649 | | |
654 | 650 | | |
| |||
660 | 656 | | |
661 | 657 | | |
662 | 658 | | |
663 | | - | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
664 | 662 | | |
665 | 663 | | |
666 | 664 | | |
| |||
0 commit comments