asi-calculator/app/layout.tsx

23 lines
532 B
TypeScript
Raw Normal View History

2024-03-29 15:06:40 +01:00
import type { Metadata } from 'next'
import { Fira_Code } from 'next/font/google'
import './globals.css'
2024-03-29 12:36:05 +01:00
2024-03-30 01:32:46 +01:00
const firaCode = Fira_Code({ subsets: ['latin'], variable: '--font-firaCode' })
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-29 15:06:40 +01:00
<body className={firaCode.className}>{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
}