mirror of
https://github.com/hanzoai/dataroom.git
synced 2026-10-30 18:41:07 +00:00
52 lines
1.0 KiB
TypeScript
52 lines
1.0 KiB
TypeScript
import { Metadata } from "next";
|
|
|
|
import "@/styles/globals.css";
|
|
|
|
import { APP_DESCRIPTION, APP_NAME, APP_URL } from "@/lib/branding";
|
|
|
|
const data = {
|
|
description: APP_DESCRIPTION,
|
|
title: `${APP_NAME} | Secure Data Room Infrastructure`,
|
|
url: "/",
|
|
};
|
|
|
|
export const metadata: Metadata = {
|
|
metadataBase: new URL(APP_URL),
|
|
title: data.title,
|
|
description: data.description,
|
|
openGraph: {
|
|
title: data.title,
|
|
description: data.description,
|
|
url: data.url,
|
|
siteName: APP_NAME,
|
|
images: [
|
|
{
|
|
url: "/_static/meta-image.png",
|
|
width: 800,
|
|
height: 600,
|
|
},
|
|
],
|
|
locale: "en_US",
|
|
type: "website",
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: data.title,
|
|
description: data.description,
|
|
creator: "@hanzoai",
|
|
images: ["/_static/meta-image.png"],
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en" className="dark">
|
|
<body>{children}</body>
|
|
</html>
|
|
);
|
|
}
|