asi-calculator/app/layout.tsx

26 lines
568 B
TypeScript
Raw Normal View History

2024-03-29 15:06:40 +01:00
import type { Metadata } from 'next'
2024-03-31 15:24:07 +02:00
import { Hanken_Grotesk } from 'next/font/google'
import '@/styles/globals.css'
2024-03-29 12:36:05 +01:00
2024-03-31 04:08:51 +02:00
const hankenGrotesk = Hanken_Grotesk({
subsets: ['latin'],
variable: '--font-hanken-grotesk'
})
2024-03-29 12:36:05 +01:00
export const metadata: Metadata = {
2024-03-30 01:32:46 +01:00
title: 'ASI Calculator',
description: 'See how much ASI you get for your OCEAN, AGIX, or FET.'
2024-03-29 15:06:40 +01:00
}
2024-03-29 12:36:05 +01:00
export default function RootLayout({
2024-03-29 15:06:40 +01:00
children
2024-03-29 12:36:05 +01:00
}: Readonly<{
2024-03-29 15:06:40 +01:00
children: React.ReactNode
2024-03-29 12:36:05 +01:00
}>) {
return (
<html lang="en">
2024-03-31 04:08:51 +02:00
<body className={hankenGrotesk.variable}>{children}</body>
2024-03-29 12:36:05 +01:00
</html>
2024-03-29 15:06:40 +01:00
)
2024-03-29 12:36:05 +01:00
}