diff --git a/src/app/layout.tsx b/src/app/layout.tsx index e06aa8a2..e7677156 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -4,21 +4,11 @@ import { Geist, Geist_Mono } from "next/font/google"; import localFont from "next/font/local"; import type { ReactNode } from "react"; import type { Metadata } from "next"; -import { PREFIXED_LOCALES, LOCALIZED_ROUTES, ALL_LOCALE_CODES } from "@/i18n/config"; +import { PREFIXED_LOCALES, LOCALIZED_ROUTES } from "@/i18n/config"; import { DEFAULT_OG_IMAGE } from "@/lib/seo"; import V1Banner from "@/app/components/V1Banner"; -import FrameBanner, { type FrameBannerCopy } from "@/app/components/FrameBanner"; -import { getDictionary } from "@/i18n/dictionaries"; import { NEW_LOOK_ROUTES, DARK_SCENE_ROUTES } from "@/app/components/newLookRoutes"; -// The Holon banner's copy in every locale (a few short strings each). -const FRAME_BANNER: FrameBannerCopy = Object.fromEntries( - ALL_LOCALE_CODES.map((l) => { - const p = getDictionary(l).holonPage; - return [l, { strong: p.bannerStrong, body: p.bannerBody, cta: p.bannerCta }]; - }), -); - // Universal language persistence: a locale chosen anywhere is stored, and // this guard redirects localizable pages to // it before paint, so the language "sticks" across the whole site. Built from @@ -277,7 +267,6 @@ export default function Layout({ children }: { children: ReactNode }) { forcedTheme="dark" enableSystem={false} > - {children}