|
import { Inter } from "next/font/google"; |
|
import "./globals.css"; |
|
import Sidebar from '@/components/Sidebar'; |
|
import { FilmProvider } from "@/context/FilmContext"; |
|
import { config } from "@fortawesome/fontawesome-svg-core"; |
|
import "@fortawesome/fontawesome-svg-core/styles.css"; |
|
config.autoAddCss = false; |
|
const inter = Inter({ subsets: ["latin"] }); |
|
|
|
export const metadata = { |
|
title: "Home", |
|
description: "Generated by create next app", |
|
}; |
|
|
|
export default function RootLayout({ children }) { |
|
return ( |
|
<html lang="en"> |
|
<body className={inter.className}> |
|
<header> |
|
<Sidebar /> |
|
</header> |
|
<FilmProvider>{children}</FilmProvider> |
|
</body> |
|
</html> |
|
); |
|
} |
|
|