cv/src/app/layout.tsx

29 lines
568 B
TypeScript
Raw Normal View History

2023-05-24 06:43:30 +00:00
import React from 'react'
2023-05-24 04:23:20 +00:00
import { Inter } from 'next/font/google'
2023-05-24 06:43:30 +00:00
import './globals.css'
2023-05-24 07:24:20 +00:00
import { PersonProvider } from './components/PersonContext'
2023-05-24 06:43:30 +00:00
2023-05-24 04:23:20 +00:00
const inter = Inter({ subsets: ['latin'] })
export const metadata = {
2023-05-24 07:24:20 +00:00
title: 'David Hrdina Němeček | CV.',
2023-05-24 04:23:20 +00:00
description: 'Curriculum Vitae',
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
2023-05-24 07:24:20 +00:00
<body className={inter.className}>
<PersonProvider>
{children}
</PersonProvider>
</body>
2023-05-24 04:23:20 +00:00
</html>
)
}