2024-11-05 18:51:13 +01:00
|
|
|
import { Inter } from "next/font/google";
|
2024-11-05 18:06:15 +01:00
|
|
|
import "./globals.css";
|
|
|
|
|
2024-11-05 18:51:13 +01:00
|
|
|
const inter = Inter({
|
|
|
|
weight: ["400", "600", "700", "900"],
|
|
|
|
subsets: ["latin"],
|
2024-11-05 18:06:15 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
export const metadata = {
|
2024-11-05 18:51:13 +01:00
|
|
|
title: "MERNMail - a MERN stack webmail application",
|
|
|
|
description:
|
|
|
|
"MERNMail: Open-source webmail app built with MERN stack. Send, receive, & manage emails easily. Explore and contribute today!",
|
|
|
|
openGraph: {
|
|
|
|
title: "MERNMail - a MERN stack webmail application",
|
|
|
|
description:
|
|
|
|
"MERNMail: Open-source webmail app built with MERN stack. Send, receive, & manage emails easily. Explore and contribute today!",
|
|
|
|
url: `${process.env.NEXT_PUBLIC_WEBSITE_URL}`,
|
|
|
|
type: "website",
|
|
|
|
images: [
|
|
|
|
{
|
|
|
|
url: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/metadata/mernmail-cover.png`,
|
|
|
|
width: 2560,
|
|
|
|
height: 1440,
|
|
|
|
alt: "MERNMail - a MERN stack webmail application",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
twitter: {
|
|
|
|
card: "summary_large_image",
|
|
|
|
site: "@MERNMail",
|
|
|
|
title: "MERNMail - a MERN stack webmail application",
|
|
|
|
description:
|
|
|
|
"MERNMail: Open-source webmail app built with MERN stack. Send, receive, & manage emails easily. Explore and contribute today!",
|
|
|
|
images: [`${process.env.NEXT_PUBLIC_WEBSITE_URL}/metadata/svrjs-cover.png`],
|
|
|
|
creator: "@MERNMail",
|
|
|
|
},
|
2024-11-05 18:06:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export default function RootLayout({ children }) {
|
|
|
|
return (
|
|
|
|
<html lang="en">
|
2024-11-05 18:51:13 +01:00
|
|
|
<body className={`antialiased ${inter.className}`}>{children}</body>
|
2024-11-05 18:06:15 +01:00
|
|
|
</html>
|
|
|
|
);
|
|
|
|
}
|