Files
altbin.dev/app/layout.tsx
T

52 lines
1.5 KiB
TypeScript
Raw Normal View History

2025-08-20 14:14:33 +02:00
import AuthProvider from '@/components/SessionProvider';
import ToasterProvider from '@/components/ui/ToasterProvider';
import { ReactNode } from 'react';
import './globals.css';
2025-08-13 17:09:12 +02:00
2025-08-20 14:14:33 +02:00
import type { Metadata, Viewport } from "next";
2025-08-13 17:09:12 +02:00
export const metadata: Metadata = {
2025-08-20 14:14:33 +02:00
title: "AltBin - Modern text and code sharing",
description:
"AltBin is a fast and modern pastebin for sharing text and code snippets with ease. Secure, minimal, and developer-friendly.",
metadataBase: new URL("https://altbin.dev"),
openGraph: {
title: "AltBin - Modern text and code sharing",
description:
"Easily share text and code snippets with AltBin. A sleek and secure pastebin for developers.",
url: "https://altbin.dev",
siteName: "AltBin",
images: ["/og-image.png"],
locale: "en_US",
type: "website",
},
twitter: {
card: "summary_large_image",
title: "AltBin - Modern text and code sharing",
description:
"Share and manage text/code snippets effortlessly with AltBin. Secure and developer-friendly.",
images: ["/og-image.png"],
creator: "@AltBinApp",
},
icons: {
icon: "/favicon.png",
shortcut: "/favicon.png",
},
};
export const viewport: Viewport = {
themeColor: "#0f172a",
2025-08-13 17:09:12 +02:00
};
2025-08-20 14:14:33 +02:00
export default function RootLayout({ children }: { children: ReactNode }) {
2025-08-13 17:09:12 +02:00
return (
<html lang="en">
2025-08-20 14:14:33 +02:00
<body className="bg-[#0a0a0f] text-neutral-100 font-mono">
<AuthProvider>
<ToasterProvider />
{children}
</AuthProvider>
2025-08-13 17:09:12 +02:00
</body>
</html>
);
2025-08-20 14:14:33 +02:00
}