asi-calculator/app/layout.tsx

23 lines
478 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-29 15:06:40 +01:00
const firaCode = Fira_Code({ subsets: ['latin'] })
2024-03-29 12:36:05 +01:00
export const metadata: Metadata = {
2024-03-29 15:06:40 +01:00
title: 'Create Next App',
description: 'Generated by create next app'
}
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
}