File size: 843 Bytes
6ba7c23 0527ba9 aa651ae 085e9e0 25dca33 085e9e0 6ba7c23 0527ba9 085e9e0 974899d 085e9e0 c0b3c6a 085e9e0 c0b3c6a 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 28 29 |
import { Inter } from "next/font/google";
import "./globals.css";
import { FilmProvider } from "@/context/FilmContext";
import { config } from "@fortawesome/fontawesome-svg-core";
import "@fortawesome/fontawesome-svg-core/styles.css";
import Header from "@/components/Header";
import { TvShowsProvider } from "@/context/TvshowContext";
config.autoAddCss = true;
const inter = Inter({ subsets: ["latin"] });
export default function RootLayout({ children }) {
return (
<html lang="en">
<body className={inter.className}>
<header>
<link rel="manifest" href="webmanifest.json"/>
<Header />
</header>
<div className="app-container">
<TvShowsProvider>
<FilmProvider>{children}</FilmProvider>
</TvShowsProvider>
</div>
</body>
</html>
);
}
|