feat : update

This commit is contained in:
2026-08-27 14:11:20 +00:00 Unverified
parent eee932259f
commit 992d3f94f9
61 changed files with 76 additions and 55 deletions
+2 -26
View File
@@ -1,7 +1,6 @@
import type { Metadata } from "next";
import { Anuphan, Inter } from "next/font/google";
import "./globals.css";
import { cn } from "@/lib/utils";
import { config } from "@/lib/config";
const inter = Inter({
@@ -65,12 +64,6 @@ export const metadata: Metadata = {
},
};
import { TooltipProvider } from "@/components/ui/tooltip";
import { Toaster } from "sonner";
import { ThemeProvider } from "@/components/theme-provider";
import { PageProgress } from "@/components/page-progress";
import { VersionCheck } from "@/components/version-check";
export default function RootLayout({
children,
}: Readonly<{
@@ -79,28 +72,11 @@ export default function RootLayout({
return (
<html
lang="th"
className={cn(
"h-full",
"antialiased",
inter.variable,
anuphan.variable,
)}
className={`dark h-full antialiased ${inter.variable} ${anuphan.variable}`}
suppressHydrationWarning
>
<body className="font-app" suppressHydrationWarning>
<PageProgress />
<ThemeProvider
attribute="class"
defaultTheme="dark"
enableSystem
disableTransitionOnChange
>
<TooltipProvider>
<Toaster richColors closeButton position="bottom-right" theme="dark" />
<VersionCheck />
{children}
</TooltipProvider>
</ThemeProvider>
{children}
</body>
</html>
);