44 lines
1.0 KiB
JavaScript
44 lines
1.0 KiB
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 - DeceptiConf',
|
||
default: 'DeceptiConf - A community-driven design conference',
|
||
},
|
||
description:
|
||
'At OurVerse you’ll learn about the latest dark patterns being developed to trick even the smartest visitors, and you’ll learn how to deploy them without ever being detected.',
|
||
}
|
||
|
||
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>
|
||
)
|
||
}
|