mirror of
https://github.com/arkorty/Osborne.git
synced 2026-03-18 00:57:14 +00:00
53 lines
1.1 KiB
TypeScript
53 lines
1.1 KiB
TypeScript
import type { Metadata } from "next";
|
|
import localFont from "next/font/local";
|
|
import "./globals.css";
|
|
|
|
const geistSans = localFont({
|
|
src: "./fonts/GeistVF.woff",
|
|
variable: "--font-geist-sans",
|
|
weight: "100 900",
|
|
});
|
|
const geistMono = localFont({
|
|
src: "./fonts/GeistMonoVF.woff",
|
|
variable: "--font-geist-mono",
|
|
weight: "100 900",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Osborne",
|
|
description: "Real-time multi-user text editor with rooms.",
|
|
openGraph: {
|
|
title: "Osborne",
|
|
description: "Real-time multi-user text editor with rooms.",
|
|
url: "https://o.webark.in",
|
|
siteName: "Osborne",
|
|
images: [
|
|
{
|
|
url: "https://o.webark.in/og-image.png",
|
|
width: 1500,
|
|
height: 768,
|
|
alt: "Osborne",
|
|
},
|
|
],
|
|
locale: "en_US",
|
|
type: "website",
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
|
suppressHydrationWarning
|
|
>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|