71 líneas
1.8 KiB
TypeScript
71 líneas
1.8 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Hasher - Hash Search & Generator",
|
|
description: "Search for hashes or generate them from plaintext. Supports MD5, SHA1, SHA256, SHA512, and Bcrypt. Powered by Elasticsearch.",
|
|
keywords: ["hash", "md5", "sha1", "sha256", "sha512", "bcrypt", "hash generator", "hash search", "elasticsearch"],
|
|
authors: [{ name: "Hasher" }],
|
|
creator: "Hasher",
|
|
publisher: "Hasher",
|
|
applicationName: "Hasher",
|
|
icons: {
|
|
icon: "/logo.png",
|
|
apple: "/logo.png",
|
|
},
|
|
manifest: "/manifest.json",
|
|
openGraph: {
|
|
type: "website",
|
|
title: "Hasher - Hash Search & Generator",
|
|
description: "Search for hashes or generate them from plaintext. Supports MD5, SHA1, SHA256, SHA512, and Bcrypt.",
|
|
siteName: "Hasher",
|
|
images: [
|
|
{
|
|
url: "/logo.png",
|
|
width: 80,
|
|
height: 80,
|
|
alt: "Hasher Logo",
|
|
},
|
|
],
|
|
},
|
|
twitter: {
|
|
card: "summary",
|
|
title: "Hasher - Hash Search & Generator",
|
|
description: "Search for hashes or generate them from plaintext. Supports MD5, SHA1, SHA256, SHA512, and Bcrypt.",
|
|
images: ["/logo.png"],
|
|
},
|
|
viewport: {
|
|
width: "device-width",
|
|
initialScale: 1,
|
|
maximumScale: 1,
|
|
},
|
|
themeColor: "#2563eb",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
|
>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|