mirror of
https://github.com/AderKonstantin/aderktech-chronark.com-.git
synced 2025-06-08 13:48:42 +03:00
76 lines
1.5 KiB
TypeScript
76 lines
1.5 KiB
TypeScript
import "../global.css";
|
|
import { Inter } from "@next/font/google";
|
|
import LocalFont from "@next/font/local";
|
|
import { Metadata } from "next";
|
|
import { Analytics } from "./components/analytics";
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
default: "chronark.com",
|
|
template: "%s | chronark.com",
|
|
},
|
|
description: "Software engineer at upstash.com and founder of planetfall.io",
|
|
openGraph: {
|
|
title: "chronark.com",
|
|
description:
|
|
"Software engineer at upstash.com and founder of planetfall.io",
|
|
url: "https://chronark.com",
|
|
siteName: "chronark.com",
|
|
images: [
|
|
{
|
|
url: "https://chronark.com/og.png",
|
|
width: 1920,
|
|
height: 1080,
|
|
},
|
|
],
|
|
locale: "en-US",
|
|
type: "website",
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
googleBot: {
|
|
index: true,
|
|
follow: true,
|
|
"max-video-preview": -1,
|
|
"max-image-preview": "large",
|
|
"max-snippet": -1,
|
|
},
|
|
},
|
|
twitter: {
|
|
title: "Chronark",
|
|
card: "summary_large_image",
|
|
},
|
|
icons: {
|
|
shortcut: "/favicon.png",
|
|
},
|
|
};
|
|
const inter = Inter({
|
|
subsets: ["latin"],
|
|
variable: "--font-inter",
|
|
});
|
|
|
|
const calSans = LocalFont({
|
|
src: "../public/fonts/CalSans-SemiBold.ttf",
|
|
variable: "--font-calsans",
|
|
});
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en" className={[inter.variable, calSans.variable].join(" ")}>
|
|
<body
|
|
className={`bg-black ${process.env.NODE_ENV === "development" ? "debug-screens" : undefined
|
|
}`}
|
|
>
|
|
<Analytics />
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|