diff --git a/site-astro/src/components/Footer.astro b/site-astro/src/components/Footer.astro index 0c1b871..f0f70bc 100644 --- a/site-astro/src/components/Footer.astro +++ b/site-astro/src/components/Footer.astro @@ -1,7 +1,7 @@ --- -// Styling lives in styles/footer.css, which is pulled in by backdrop.css — -// so a page gets the footer's chrome from the same import that gives it the -// background field. See the comment at the top of footer.css. +// Styling lives in styles/footer.css, imported by all three page-shell +// stylesheets (landing.css, docs.css, backdrop.css) so every page that +// renders this component gets it without a fourth per-page import. interface Props { variant?: 'home' | 'docs' | 'blog' | 'how' | 'live' } const { variant = 'docs' } = Astro.props; diff --git a/site-astro/src/styles/backdrop.css b/site-astro/src/styles/backdrop.css index 8faa50b..d0d67fb 100644 --- a/site-astro/src/styles/backdrop.css +++ b/site-astro/src/styles/backdrop.css @@ -1,8 +1,10 @@ -/* The shared footer rides along here on purpose. Every page shell already - imports this file, and a per-page footer import would be a third thing a - new page can silently forget - /live/ shipped without this very file once. - footer.css defines no tokens, so being hoisted above the :root below is - harmless. */ +/* footer.css is ALSO imported directly by landing.css and docs.css, the + two page-shell stylesheets that DON'T import this file — this file + alone was not the universal footer carrier the original comment here + claimed: only demo/, live/, and BlogPostLayout import it, while every + page renders