File size: 708 Bytes
6ba7c23 cb20bdc 0527ba9 6ba7c23 0527ba9 6ba7c23 0527ba9 cb20bdc 0527ba9 6ba7c23 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
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>
);
}
|