2026-04-23 17:19:48 +08:00
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Inter } from "next/font/google";
|
|
|
|
|
import "@/styles/globals.css";
|
|
|
|
|
|
|
|
|
|
const inter = Inter({ subsets: ["latin"], variable: "--font-inter" });
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
2026-04-23 17:58:43 +08:00
|
|
|
title: "SnapOtter | Self-Hosted Image Processing",
|
2026-04-23 17:19:48 +08:00
|
|
|
description:
|
2026-04-23 21:07:47 +08:00
|
|
|
"40+ image processing tools with local AI. Runs 100% offline. No data leaves your network. Open source and free forever.",
|
2026-04-23 17:19:48 +08:00
|
|
|
metadataBase: new URL("https://snapotter.com"),
|
|
|
|
|
openGraph: {
|
2026-04-23 17:58:43 +08:00
|
|
|
title: "SnapOtter | Self-Hosted Image Processing",
|
2026-04-23 17:19:48 +08:00
|
|
|
description:
|
2026-04-23 21:07:47 +08:00
|
|
|
"40+ image processing tools with local AI. Runs 100% offline. No data leaves your network.",
|
2026-04-23 17:19:48 +08:00
|
|
|
url: "https://snapotter.com",
|
|
|
|
|
siteName: "SnapOtter",
|
|
|
|
|
type: "website",
|
2026-04-23 17:31:17 +08:00
|
|
|
images: [
|
|
|
|
|
{
|
|
|
|
|
url: "/og-image.svg",
|
|
|
|
|
width: 1200,
|
|
|
|
|
height: 630,
|
2026-04-23 17:58:43 +08:00
|
|
|
alt: "SnapOtter | Self-Hosted Image Processing",
|
2026-04-23 17:31:17 +08:00
|
|
|
},
|
|
|
|
|
],
|
2026-04-23 17:19:48 +08:00
|
|
|
},
|
|
|
|
|
twitter: {
|
|
|
|
|
card: "summary_large_image",
|
2026-04-23 17:58:43 +08:00
|
|
|
title: "SnapOtter | Self-Hosted Image Processing",
|
2026-04-23 17:19:48 +08:00
|
|
|
description:
|
2026-04-23 21:07:47 +08:00
|
|
|
"40+ image processing tools with local AI. Runs 100% offline. No data leaves your network.",
|
2026-04-23 17:31:17 +08:00
|
|
|
images: ["/og-image.svg"],
|
2026-04-23 17:19:48 +08:00
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
|
|
|
return (
|
2026-04-23 17:45:51 +08:00
|
|
|
<html lang="en" className={inter.variable} suppressHydrationWarning>
|
2026-04-23 18:29:48 +08:00
|
|
|
<body
|
|
|
|
|
className="bg-background text-foreground font-[family-name:var(--font-inter)] antialiased"
|
|
|
|
|
suppressHydrationWarning
|
|
|
|
|
>
|
2026-04-23 17:19:48 +08:00
|
|
|
{children}
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|