47 lines
1022 B
JavaScript
47 lines
1022 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,
|
|
)}
|
|
>
|
|
<head>
|
|
<link rel="icon" href="/favicon.ico" />
|
|
{/* You can add more links or meta tags here if needed */}
|
|
</head>
|
|
<body className="flex min-h-full">
|
|
<div className="flex w-full flex-col">{children}</div>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|