30 lines
613 B
TypeScript
30 lines
613 B
TypeScript
import React from 'react'
|
|
import { Inter } from 'next/font/google'
|
|
|
|
import './globals.css'
|
|
import { PersonProvider } from './components/PersonContext'
|
|
import { personalData } from '../PersonalData'
|
|
|
|
const inter = Inter({ subsets: ['latin'] })
|
|
|
|
export const metadata = {
|
|
title: personalData.name + ' | CV.',
|
|
description: 'Curriculum Vitae',
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={inter.className}>
|
|
<PersonProvider>
|
|
{children}
|
|
</PersonProvider>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|