asi-calculator/app/layout.tsx

35 lines
820 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-04-01 02:15:51 +02:00
import '@/styles/loading-ui.css'
2024-04-01 05:19:05 +02:00
import Script from 'next/script'
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-04-01 05:19:05 +02:00
<head>
<Script
async
src="https://a.kretschmann.io/script.js"
data-website-id="6565eff1-a1c8-4b3e-a6c4-08ecb00b06ab"
/>
</head>
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
}