feat(site): add legacy docs banner and v8 links (#786)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Darius Cepulis
2026-03-09 19:17:09 -05:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 732d509b11
commit ead03d76c4
9 changed files with 98 additions and 13 deletions
+2
View File
@@ -6,6 +6,7 @@ import { SEO_SUFFIX, SITE_TITLE } from '@/consts';
import '@/styles/globals.css';
import BannerInit from '@/components/BannerInit.astro';
import { PreferenceSync } from '@/components/docs/PreferenceSync';
import ThemeInit from '@/components/ThemeInit.astro';
@@ -128,6 +129,7 @@ const fullTitle =
<slot name="head" />
<ThemeInit />
<BannerInit />
</head>
<body
class:list={[
+2
View File
@@ -8,6 +8,7 @@ import StyleInit from '@/components/docs/StyleInit.astro';
import FilmGrain from '@/components/FilmGrain';
import Footer from '@/components/FooterDocs.astro';
import FooterEasterEgg from '@/components/FooterEasterEgg.astro';
import LegacyBanner from '@/components/LegacyBanner.astro';
import NavBarDocs from '@/components/NavBar/NavBarDocs.astro';
import { FRAMEWORK_LABELS, type SupportedFramework } from '@/types/docs';
import { getDocTitle } from '@/utils/docs/title';
@@ -41,6 +42,7 @@ const docsSidebarId = 'docs-sidebar';
<DocsSidebarRestoration docsSidebarId={docsSidebarId} />
<slot name="head" slot="head" />
</Fragment>
<LegacyBanner />
<div
class:list={[
"grid min-h-screen grid-cols-1",