simple-links/src/app/layout.tsx

24 lines
568 B
TypeScript
Raw Normal View History

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";
import Config from "../../config.json";
config.autoAddCss = false;
2023-07-01 21:08:39 +00:00
2023-07-01 20:43:53 +00:00
const inter = Inter({ subsets: ["latin"] });
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
}