cv/src/app/layout.tsx

30 lines
608 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-27 03:25:48 +00:00
import { PersonProvider } from './hooks/PersonContext'
import { personalData } from '../PersonalData'
2023-05-24 06:43:30 +00:00
2023-05-24 04:23:20 +00:00
const inter = Inter({ subsets: ['latin'] })
export const metadata = {
title: personalData.name + ' | 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>
)
}