diff --git a/app/[locale]/(site)/layout.tsx b/app/[locale]/(site)/layout.tsx index b325767..bf3cc79 100644 --- a/app/[locale]/(site)/layout.tsx +++ b/app/[locale]/(site)/layout.tsx @@ -38,12 +38,11 @@ export default async function SiteLayout({ children, params }: SiteLayoutProps)
diff --git a/components/layout/site-header.tsx b/components/layout/site-header.tsx index d58ede6..2aac186 100644 --- a/components/layout/site-header.tsx +++ b/components/layout/site-header.tsx @@ -1,7 +1,7 @@ "use client"; import { AnimatePresence, motion, useReducedMotion } from "framer-motion"; -import { LayoutDashboard, Menu, X } from "lucide-react"; +import { Menu, X } from "lucide-react"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { useLocale, useTranslations } from "next-intl"; @@ -13,7 +13,6 @@ import { SiteLogo } from "@/components/layout/site-logo"; import { SoundToggle } from "@/components/sound-toggle"; import { ThemeToggle } from "@/components/theme-toggle"; import { Button } from "@/components/ui/button"; -import { buildAdminUrl } from "@/lib/admin-routing"; import { getLocalizedPath, stripLocalePrefix } from "@/lib/locale"; import { toast } from "@/lib/toast"; import { cn } from "@/lib/utils"; @@ -33,7 +32,6 @@ const disabledMobileNavItemClassName = "relative inline-flex cursor-not-allowed items-center justify-center rounded-nested px-4 py-3 text-sm font-medium text-foreground/55"; type SiteHeaderProps = { - isAdmin?: boolean; lightLogoUrl?: string | null; darkLogoUrl?: string | null; }; @@ -142,7 +140,6 @@ function NavLinks({ } export function SiteHeader({ - isAdmin = false, lightLogoUrl, darkLogoUrl, }: SiteHeaderProps) { @@ -313,13 +310,6 @@ export function SiteHeader({ variant="ghost" className={desktopControlButtonClassName} /> - {isAdmin ? ( - - ) : null}