diff --git a/app/layout.tsx b/app/layout.tsx index 332c66c..9d0d82b 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -8,35 +8,30 @@ import clsx from "clsx"; import { Metadata } from "next"; import { Providers } from "./providers"; import LoadScript from "@/utils/global"; -import { NextIntlClientProvider } from "next-intl"; import { type ReactNode } from "react"; -import storedLanguage from "@/store/language-store"; const inter = Inter({ subsets: ["latin"] }); -// export const metadata: Metadata = { -// title: { -// default: siteConfig.name, -// template: `%s - ${siteConfig.name}`, -// }, -// description: siteConfig.description, -// themeColor: [ -// { media: "(prefers-color-scheme: light)", color: "white" }, -// { media: "(prefers-color-scheme: dark)", color: "black" }, -// ], -// icons: { -// icon: "/logohumas.ico", -// shortcut: "/favicon-16x16.png", -// apple: "/apple-touch-icon.png", -// }, -// }; +export const metadata: Metadata = { + title: { + default: siteConfig.name, + template: `%s - ${siteConfig.name}`, + }, + description: siteConfig.description, + themeColor: [ + { media: "(prefers-color-scheme: light)", color: "white" }, + { media: "(prefers-color-scheme: dark)", color: "black" }, + ], + icons: { + icon: "/logohumas.ico", + shortcut: "/favicon-16x16.png", + apple: "/apple-touch-icon.png", + }, +}; export default function RootLayout({ children }: { children: ReactNode }) { return ( - + - - DIVISI HUMAS POLRI - Pengelolaan Informasi & Dokumentasi Polri - + {children}