57 lines
1.5 KiB
TypeScript
57 lines
1.5 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: "Terminal Tinder",
|
|
description: "Fall in love with your next color scheme",
|
|
openGraph: {
|
|
title: "Terminal Tinder",
|
|
description: "Fall in love with your next color scheme",
|
|
images: [
|
|
{
|
|
url: "/app-logo-social.png", // Make sure to create this image
|
|
width: 1200,
|
|
height: 630,
|
|
alt: "Terminal Tinder Logo",
|
|
},
|
|
],
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: "Terminal Tinder",
|
|
description: "Fall in love with your next color scheme",
|
|
images: ["/app-logo-social.png"], // Make sure to create this image
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
|
>
|
|
{children}
|
|
<footer className="absolute bottom-0 left-0 right-0 text-center p-2 text-sm text-gray-500 dark:text-gray-400">
|
|
DWS {new Date().getFullYear()}. <a href="https://dws.rip" className="underline" target="_blank" rel="noopener noreferrer">Powered By DWS</a>
|
|
</footer>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|