Implemented language selection

This commit is contained in:
Takeshi Kimata
2024-05-03 12:10:36 +09:00
parent 1e01535134
commit 72c71efedc
6 changed files with 146 additions and 107 deletions

View File

@@ -3,7 +3,7 @@ import { Metadata } from "next";
import { siteConfig } from "@/config/site";
import { fontSans } from "@/config/fonts";
import { Providers } from "./providers";
import { Navbar } from "@/components/navbar";
import Header from "./Header";
import clsx from "clsx";
export const metadata: Metadata = {
@@ -41,7 +41,7 @@ export default function RootLayout({
>
<Providers themeProps={{ attribute: "class", defaultTheme: "dark" }}>
<div className="relative flex flex-col min-h-screen light:bg-neutral-50 dark:bg-neutral-800">
<Navbar />
<Header locale={locale} />
<main>{children}</main>
{/* <footer className="w-full flex items-center justify-center py-3">
<Link