From 017a7fca8856dffb44ac10ca0e58eb821cefd1af Mon Sep 17 00:00:00 2001 From: nmemmert Date: Wed, 6 May 2026 11:38:08 -0400 Subject: [PATCH] Clean up footer with More Platforms menu --- src/App.css | 39 +++++++++++++++++++++++++++++++++++++++ src/App.tsx | 20 ++++++++++++++++---- 2 files changed, 55 insertions(+), 4 deletions(-) diff --git a/src/App.css b/src/App.css index a6fe655..b99c736 100644 --- a/src/App.css +++ b/src/App.css @@ -1472,6 +1472,45 @@ opacity: 0.4; } +.footer-more-links { + position: relative; +} + +.footer-more-links summary { + color: var(--brand-muted); + cursor: pointer; + font-family: var(--brand-font-body); + font-weight: 400; + letter-spacing: 0.05em; + font-size: 0.95rem; + list-style: none; +} + +.footer-more-links summary::-webkit-details-marker { + display: none; +} + +.footer-more-links summary:hover { + color: var(--brand-gold); +} + +.footer-more-links[open] .footer-more-links-menu { + display: flex; +} + +.footer-more-links-menu { + display: none; + margin-top: 0.5rem; + padding: 0.7rem 0.85rem; + border: 1px solid rgba(201, 168, 76, 0.25); + border-radius: 10px; + background: rgba(12, 10, 7, 0.95); + gap: 0.7rem; + flex-wrap: wrap; + justify-content: center; + min-width: 260px; +} + .footer-copy { font-family: var(--brand-font-body); font-weight: 300; diff --git a/src/App.tsx b/src/App.tsx index e22f9cd..fbde084 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -433,6 +433,9 @@ function SiteFooter({ content }: { content: SiteContent }) { const amazonUrl = content.platformAmazonUrl || '/amazon' const creatorUrl = content.platformCreatorUrl || 'https://creators.spotify.com/pod/profile/nmemmert/' const facebookUrl = content.platformFacebookUrl || 'https://facebook.com/versebyversewithnate' + const extraFooterLinks = (content.customLinks ?? []).filter( + l => l.placement === 'footer' || l.placement === 'platforms', + ) return (