import type { Metadata } from "next";
import "./globals.css";

export const metadata: Metadata = {
  title: "DashCaddy - Self-Hosting Made Beautiful",
  description:
    "Deploy 50+ Docker apps with one click. Automatic SSL, DNS, and reverse proxy configuration. The all-in-one self-hosting dashboard.",
  keywords: [
    "self-hosting",
    "docker",
    "dashboard",
    "caddy",
    "reverse proxy",
    "ssl",
    "dns",
    "homelab",
  ],
  openGraph: {
    title: "DashCaddy - Self-Hosting Made Beautiful",
    description:
      "Deploy 50+ Docker apps with one click. Automatic SSL, DNS, and reverse proxy configuration.",
    url: "https://dashcaddy.net",
    siteName: "DashCaddy",
    type: "website",
  },
  twitter: {
    card: "summary_large_image",
    title: "DashCaddy - Self-Hosting Made Beautiful",
    description:
      "Deploy 50+ Docker apps with one click. Automatic SSL, DNS, and reverse proxy.",
  },
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en" className="h-full antialiased">
      <body className="min-h-full flex flex-col bg-surface-950 text-surface-100" style={{ fontFamily: "'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif" }}>
        {children}
      </body>
    </html>
  );
}
