2023-07-09 03:27:52 +00:00
|
|
|
import { config } from "@fortawesome/fontawesome-svg-core";
|
|
|
|
import "@fortawesome/fontawesome-svg-core/styles.css";
|
2023-07-01 20:43:53 +00:00
|
|
|
import { Inter } from "next/font/google";
|
|
|
|
import "./globals.css";
|
|
|
|
|
2023-07-02 13:55:18 +00:00
|
|
|
import Config from "../../config.json";
|
2023-07-09 03:27:52 +00:00
|
|
|
config.autoAddCss = false;
|
2023-07-01 21:08:39 +00:00
|
|
|
|
2023-07-01 20:43:53 +00:00
|
|
|
const inter = Inter({ subsets: ["latin"] });
|
|
|
|
|
2023-07-09 18:28:50 +00:00
|
|
|
export const metadata = Config.metadata; // Site metadata from the config
|
2023-07-01 20:43:53 +00:00
|
|
|
|
|
|
|
export default function RootLayout({
|
2023-07-10 04:06:28 +00:00
|
|
|
children,
|
2023-07-01 20:43:53 +00:00
|
|
|
}: {
|
2023-07-10 04:06:28 +00:00
|
|
|
children: React.ReactNode;
|
2023-07-01 20:43:53 +00:00
|
|
|
}) {
|
2023-07-10 04:06:28 +00:00
|
|
|
return (
|
|
|
|
<html lang="en">
|
|
|
|
<body className={inter.className}>{children}</body>
|
|
|
|
</html>
|
|
|
|
);
|
2023-07-01 20:43:53 +00:00
|
|
|
}
|