TerminalTinder/app/layout.tsx

57 lines
1.5 KiB
TypeScript
Raw Normal View History

2024-09-09 09:50:12 -04:00
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 = {
2024-09-09 17:03:22 -04:00
title: "Terminal Tinder",
2024-09-10 14:41:05 -04:00
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
2024-09-09 17:03:22 -04:00
},
2024-09-09 09:50:12 -04:00
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
2024-09-09 17:03:22 -04:00
<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>
2024-09-09 09:50:12 -04:00
</body>
</html>
);
}