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 = {
  metadataBase: new URL(
    "https://market-terminal-ai-picks.amplycoindustries.chatgpt.site",
  ),
  title: "AI Stock Picks By Email | Market Terminal",
  description:
    "An AI scans 1,250+ stocks and sends the few highest-ranked ideas to your inbox in under 60 seconds.",
  openGraph: {
    title: "AI Stock Picks. In Your Inbox.",
    description:
      "1,250+ stocks scanned. A few ranked ideas. Under 60 seconds to read.",
    type: "website",
    images: [
      {
        url: "/og.png",
        width: 1731,
        height: 909,
        alt: "Market Terminal AI Stock Picks by email",
      },
    ],
  },
  twitter: {
    card: "summary_large_image",
    title: "AI Stock Picks. In Your Inbox.",
    description:
      "1,250+ stocks scanned. A few ranked ideas. Under 60 seconds to read.",
    images: ["/og.png"],
  },
};

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