cleanup
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 57s

This commit is contained in:
Lee
2024-04-16 19:12:26 +01:00
parent 1d40c9b5d3
commit 9e0a914ccb
16 changed files with 15 additions and 24 deletions

View File

@ -1,51 +0,0 @@
import { Fonts } from "@/common/fonts";
import Container from "@/components/container";
import ThemeProvider from "@/components/theme-provider";
import { Metadata, Viewport } from "next";
import { ToastContainer } from "react-toastify";
import "react-toastify/dist/ReactToastify.css";
import "./globals.css";
import Config from "../../config.json";
export const viewport: Viewport = {
themeColor: "#3498DB",
};
export const metadata: Metadata = {
metadataBase: new URL(Config.siteUrl),
title: {
template: Config.siteName + " - %s",
default: Config.siteName,
},
description: Config.siteDescription,
keywords: "Minecraft, APIs, wrapper, utility, development",
openGraph: {
title: Config.siteName,
description: Config.siteDescription,
url: Config.siteUrl,
locale: "en_US",
type: "website",
},
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<>
<html className={Fonts.inter.className} lang="en" suppressHydrationWarning>
<head />
<body>
<ThemeProvider attribute="class" defaultTheme="dark" enableSystem>
<ToastContainer theme="dark" pauseOnFocusLoss={false} />
<Container>{children}</Container>
</ThemeProvider>
</body>
</html>
</>
);
}