'x'
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user