fix(site): move legacy banner to base layout and fix mobile text size (#855)

This commit is contained in:
Darius Cepulis
2026-03-10 12:00:09 -05:00
committed by GitHub
parent 15d1a66bda
commit bfea1e7fd2
3 changed files with 4 additions and 4 deletions
+2
View File
@@ -8,6 +8,7 @@ import '@/styles/globals.css';
import BannerInit from '@/components/BannerInit.astro';
import { PreferenceSync } from '@/components/docs/PreferenceSync';
import LegacyBanner from '@/components/LegacyBanner.astro';
import ThemeInit from '@/components/ThemeInit.astro';
interface Props {
@@ -155,6 +156,7 @@ const fullTitle =
>
<PreferenceSync client:idle />
<LegacyBanner />
<slot />
</div>
</body>
-2
View File
@@ -8,7 +8,6 @@ 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';
@@ -42,7 +41,6 @@ const docsSidebarId = 'docs-sidebar';
<DocsSidebarRestoration docsSidebarId={docsSidebarId} />
<slot name="head" slot="head" />
</Fragment>
<LegacyBanner />
<div
class:list={[
"grid min-h-screen grid-cols-1",