38 lines
822 B
TypeScript
38 lines
822 B
TypeScript
import { Geist, Geist_Mono } from 'next/font/google';
|
|
|
|
import '@workspace/ui/globals.css';
|
|
// import "@/app/globals.css"
|
|
import { Providers } from '@/components/providers';
|
|
import { Metadata } from 'next';
|
|
|
|
const fontSans = Geist({
|
|
subsets: ['latin'],
|
|
variable: '--font-sans',
|
|
});
|
|
|
|
const fontMono = Geist_Mono({
|
|
subsets: ['latin'],
|
|
variable: '--font-mono',
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Create Next App',
|
|
description: 'Generated by create next app',
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<body
|
|
className={`${fontSans.variable} ${fontMono.variable} font-sans antialiased `}
|
|
>
|
|
<Providers>{children}</Providers>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|