32 lines
636 B
TypeScript
32 lines
636 B
TypeScript
import type { Metadata } from 'next'
|
|
import { GeistSans } from 'geist/font/sans'
|
|
import { GeistMono } from 'geist/font/mono'
|
|
import './globals.css'
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'v0 App',
|
|
description: 'Created with v0',
|
|
generator: 'v0.app',
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<head>
|
|
<style>{`
|
|
html {
|
|
font-family: ${GeistSans.style.fontFamily};
|
|
--font-sans: ${GeistSans.variable};
|
|
--font-mono: ${GeistMono.variable};
|
|
}
|
|
`}</style>
|
|
</head>
|
|
<body>{children}</body>
|
|
</html>
|
|
)
|
|
}
|