This commit is contained in:
eric
2026-03-09 05:07:59 -05:00
parent 302a072036
commit eb852fb11d
27 changed files with 1523 additions and 169 deletions

View File

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