From 46bea0f219ab945d972d4c702bea1d30ad29bb17 Mon Sep 17 00:00:00 2001 From: Eric Moore Date: Sat, 5 Dec 2026 10:34:28 -0600 Subject: [PATCH] site: take down the Holon banner On phones it pushed the page down over the language menu. The banner component and its strings stay in the repo so it can come back. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01A6v8RAjvQgMfLkhiDcFccG --- src/app/layout.tsx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) 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}