www_ourverse_new/src/app/layout.jsx
2024-09-16 17:21:11 +02:00

44 lines
884 B
JavaScript

import { DM_Sans, Inter } from 'next/font/google'
import clsx from 'clsx'
import '@/styles/tailwind.css'
const inter = Inter({
subsets: ['latin'],
display: 'swap',
variable: '--font-inter',
})
const dmSans = DM_Sans({
subsets: ['latin'],
weight: ['400', '500', '700'],
display: 'swap',
variable: '--font-dm-sans',
})
export const metadata = {
title: {
template: '%s - OurVerse',
default: 'OurVerse - A community-driven Metaverse Platform',
},
description:
'The Future of Collaboration is Now.',
}
export default function RootLayout({ children }) {
return (
<html
lang="en"
className={clsx(
'h-full bg-white antialiased',
inter.variable,
dmSans.variable,
)}
>
<body className="flex min-h-full">
<div className="flex w-full flex-col">{children}</div>
</body>
</html>
)
}