import type { Metadata } from 'next';
import './globals.css';
import NavBar from './components/NavBar';
import { I18nProvider } from './components/I18nProvider';
import SiteFooter from './components/SiteFooter';

export const metadata: Metadata = {
  title: 'Lomavuokraus.fi',
  description: 'Modern vacation rentals in Finland.',
};

export default function RootLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return (
    <html lang="en">
      <body>
        <I18nProvider>
          <NavBar />
          {children}
          <SiteFooter />
        </I18nProvider>
      </body>
    </html>
  );
}
