initial framework
This commit is contained in:
@ -1,9 +1,25 @@
|
||||
|
||||
import type { Metadata } from "next";
|
||||
import "./globals.css";
|
||||
import { IBM_Plex_Sans, IBM_Plex_Mono } from 'next/font/google';
|
||||
import { Provider } from "@/components/ui/provider";
|
||||
import { Flex } from "@chakra-ui/react";
|
||||
import { Toaster } from "@/components/ui/toaster";
|
||||
|
||||
const ibmPlexSans = IBM_Plex_Sans({
|
||||
subsets: ['latin'],
|
||||
variable: '--font-ibm'
|
||||
});
|
||||
|
||||
const ibmPlexMono = IBM_Plex_Mono({
|
||||
subsets: ['latin'],
|
||||
weight: '600',
|
||||
variable: '--font-ibm-mono'
|
||||
})
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Create Next App",
|
||||
description: "Generated by create next app",
|
||||
title: "LMGCITFY",
|
||||
description: "Let me GCI that for you.",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
@ -12,8 +28,15 @@ export default function RootLayout({
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>{children}</body>
|
||||
<html lang="en" suppressHydrationWarning={true}>
|
||||
<body className={`${ibmPlexSans.variable} ${ibmPlexMono.variable}`}>
|
||||
<Provider>
|
||||
<Flex backgroundImage={'url(/background.gif)'} backgroundRepeat={'repeat'} minH={'100vh'} minW={'full'} justify={'center'} align={'center'}>
|
||||
{children}
|
||||
</Flex>
|
||||
<Toaster />
|
||||
</Provider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user