39 lines
1,018 B
TypeScript
39 lines
1,018 B
TypeScript
import type { Metadata } from "next";
|
|
import { ThemeProvider } from "@/components/theme-provider"
|
|
|
|
import "./globals.css";
|
|
import "./scrollbar.css";
|
|
import { TooltipProvider } from "@/components/ui/tooltip";
|
|
import { Geist } from "next/font/google";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
const geist = Geist({subsets:['latin'],variable:'--font-sans'});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "암냥 | :two_hearts: imnya.ng",
|
|
description: "imnyang's Portfolio Site",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning className={cn("font-sans", geist.variable)}>
|
|
<head />
|
|
<body className="antialiased">
|
|
<ThemeProvider
|
|
attribute="class"
|
|
defaultTheme="system"
|
|
enableSystem
|
|
disableTransitionOnChange
|
|
>
|
|
<TooltipProvider>
|
|
{children}
|
|
</TooltipProvider>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|