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

export const metadata: Metadata = {
  title: {
    default: "Stream — Movies & Series",
    template: "%s | Stream",
  },
  description:
    "Discover movies and series in a fast, mobile-friendly streaming experience.",
  metadataBase: new URL(
    process.env.NEXT_PUBLIC_SITE_URL || "https://stream.carmekhomeph.com"
  ),
  openGraph: {
    title: "Stream — Movies & Series",
    description:
      "Discover movies and series in a fast, mobile-friendly streaming experience.",
    type: "website",
  },
  robots: {
    index: true,
    follow: true,
  },
};

export default function RootLayout({
  children,
}: Readonly<{ children: React.ReactNode }>) {
  return (
    <html lang="en">
      <body>{children}</body>
    </html>
  );
}
