This commit is contained in:
Your Name committed 2026-07-25 00:20:42 -04:00
1 parent 497e3d4d5b
commit 94cbb52348
2 files changed
+46 -27

No files matched your search

+23 -6
View File
@@ -214,6 +214,10 @@
z-index: 1;
}
.site-footer-stage {
@apply relative;
}
.site-footer-brand-finale {
@apply flex min-h-[55svh] items-center justify-center overflow-hidden border-t border-line-primary/20 bg-surface-page px-6 py-20 text-center;
}
@@ -240,13 +244,21 @@
}
.site-footer-with-finale {
padding-top: 100svh;
min-height: 100svh;
}
.site-footer-stage {
position: fixed;
inset: 0;
z-index: 0;
display: grid;
grid-template-rows: minmax(0, 1fr) auto;
min-height: 100svh;
pointer-events: none;
}
.site-footer-brand-finale {
@apply fixed inset-0 min-h-[100svh] py-24;
z-index: 0;
pointer-events: none;
@apply min-h-0 py-16;
}
.site-footer-finale-logo {
@@ -256,15 +268,20 @@
.site-footer-finale-wordmark {
@apply text-8xl;
}
.site-footer-navigation {
pointer-events: auto;
}
}
@media (prefers-reduced-motion: reduce) {
.site-footer-brand-finale {
.site-footer-stage {
position: relative;
display: block;
}
.site-footer-with-finale {
padding-top: 0;
min-height: 0;
}
}
+23 -21
View File
@@ -58,28 +58,29 @@ export default function Footer({
return (
<footer className={`site-footer text-text-main${hasBrandFinale ? ' site-footer-with-finale' : ''}`}>
{hasBrandFinale && (
<section
className="site-footer-brand-finale"
aria-label={brandName || t('footer.brand', 'Brand')}
>
{settings?.logoUrl ? (
<Image
src={settings.logoUrl}
alt=""
width={640}
height={240}
unoptimized
className="site-footer-finale-logo"
/>
) : (
<p className="site-footer-finale-wordmark">{brandName}</p>
)}
</section>
)}
<div className="site-footer-stage">
{hasBrandFinale && (
<section
className="site-footer-brand-finale"
aria-label={brandName || t('footer.brand', 'Brand')}
>
{settings?.logoUrl ? (
<Image
src={settings.logoUrl}
alt=""
width={640}
height={240}
unoptimized
className="site-footer-finale-logo"
/>
) : (
<p className="site-footer-finale-wordmark">{brandName}</p>
)}
</section>
)}
<div className="site-footer-navigation">
<div className="mx-auto grid max-w-7xl grid-cols-1 gap-12 md:grid-cols-4">
<div className="site-footer-navigation">
<div className="mx-auto grid max-w-7xl grid-cols-1 gap-12 md:grid-cols-4">
{/* Col 1 — Brand */}
<div className="space-y-6">
@@ -208,6 +209,7 @@ export default function Footer({
</div>
</div>
</div>
</div>
</div>
</footer>