import '@/assets/globals.css'

import type {Metadata} from 'next'
import type {FunctionComponent, PropsWithChildren} from 'react'
import Navbar from '@/app/navbar'

export const metadata: Metadata = {
  title: 'Les 2: Voorbeeld | Backend frameworks',
  description: 'De voorbeeldcode voor les 3 van het vak Backend frameworks.',
  authors: [
    {
      name: 'Sebastiaan Henau',
    },
  ],
}

const RootLayout: FunctionComponent<PropsWithChildren> = ({children}) => {
  return (
    <html lang="en">
      <body className="h-[100vh]">
        <Navbar>{children}</Navbar>
      </body>
    </html>
  )
}

export default RootLayout
