This commit is contained in:
Rama Priyanto 2025-02-05 18:23:03 +07:00
parent 18d3603734
commit c02c6661f7
1 changed files with 4 additions and 4 deletions

View File

@ -2,6 +2,8 @@
"use client";
import { fontSans } from "@/config/fonts";
import { siteConfig } from "@/config/site";
import { Inter } from "next/font/google";
import "@/styles/globals.css";
import clsx from "clsx";
import { Metadata } from "next";
@ -10,6 +12,7 @@ import LoadScript from "@/utils/global";
import { NextIntlClientProvider } from "next-intl";
import { useEffect, useState, type ReactNode } from "react";
import storedLanguage from "@/store/language-store";
const inter = Inter({ subsets: ["latin"] });
// export const metadata: Metadata = {
// title: {
@ -63,10 +66,7 @@ export default function RootLayout({ children }: { children: ReactNode }) {
<LoadScript />
</head>
<body
className={clsx(
"bg-background font-sans antialiased",
fontSans.variable
)}
className={clsx("bg-background font-sans antialiased", inter.className)}
>
<NextIntlClientProvider locale={localeNow} messages={messages}>
<Providers themeProps={{ attribute: "class", defaultTheme: "dark" }}>