This commit is contained in:
eric
2026-06-07 01:17:46 -05:00
parent 283d65d1d1
commit cd885f5fcd
110 changed files with 17876 additions and 11 deletions

View File

@@ -3,7 +3,7 @@ import { notFound } from "next/navigation";
import { LocaleProvider } from "../context/LocaleContext";
import type { Locale } from "../context/LocaleContext";
import { getThemeMessages } from "@/app/lib/theme-data";
import Navbar from "../components/Navbar";
import RouteAwareNavbar from "../components/RouteAwareNavbar";
import SetLangAttr from "../components/SetLangAttr";
const LOCALES: Locale[] = ["zh", "en"];
@@ -35,7 +35,7 @@ export default async function LocaleLayout({
return (
<LocaleProvider locale={locale as Locale} messages={messages}>
<SetLangAttr />
<Navbar />
<RouteAwareNavbar />
{children}
</LocaleProvider>
);