refactor: make the whole playoff banner clickable instead of a Bracket pill
CI / Lint (push) Successful in 8s
CI / Test (push) Successful in 8s
CI / Build & Push (push) Successful in 14s

Wrap the trophy + title + meta group in the bracket link itself so the
whole Stanley Cup Playoffs element doubles as the entry point. Cleaner
banner, one fewer control to style.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-04-19 13:15:17 -04:00
parent 64b2e4b5e1
commit 8468655bcf
2 changed files with 17 additions and 18 deletions
+2 -5
View File
@@ -17,7 +17,7 @@
<span class="header-title">NHL Scoreboard</span>
</header>
<section id="playoff-banner" class="playoff-banner hidden" aria-hidden="true">
<div class="banner-main">
<a class="banner-main" href="/bracket" aria-label="View the playoff bracket">
<svg class="banner-trophy" viewBox="0 0 32 40" aria-hidden="true">
<defs>
<linearGradient id="cup-gold" x1="0" x2="1" y1="0" y2="1">
@@ -43,10 +43,7 @@
<span class="meta-game7 hidden"></span>
</div>
</div>
</div>
<div class="banner-actions">
<a class="banner-bracket-link" href="/bracket">Bracket</a>
</div>
</a>
</section>
<main>
<section id="pinned-section" class="section pinned-section hidden">