import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Libre_Baskerville } from "next/font/google";
import "./globals.css";
import "@/lib/gsap-setup";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";

const halant = Halant({
  variable: "--font-halant",  subsets: ["latin"],
  weight: ["300", "400", "500", "600", "700"],
});

const inter = Inter({
  variable: "--font-inter",  subsets: ["latin"],
});

const libreBaskerville = Libre_Baskerville({
  variable: "--font-libre-baskerville",  subsets: ["latin"],
  weight: ["400", "700"],
});

export const metadata: Metadata = {
  title: "Ginger and Baker | Elevated Fort Collins Dining & Events",  description: "Discover Ginger and Baker: an all-day gathering place in Fort Collins for exquisite food, artisan bakery, unique cafe experiences, and unforgettable events. Reserve your table or plan your celebration today.",  keywords: "Ginger and Baker, Fort Collins restaurant, Fort Collins bakery, Fort Collins events, cafe, dining, wedding venue Fort Collins, artisan pastries, craft cocktails, private events",  metadataBase: new URL("https://gingerandbaker.com"),
  openGraph: {
    title: "Ginger and Baker | Elevated Fort Collins Dining & Events",    description: "Discover Ginger and Baker: an all-day gathering place in Fort Collins for exquisite food, artisan bakery, unique cafe experiences, and unforgettable events. Reserve your table or plan your celebration today.",    url: "https://gingerandbaker.com",    siteName: "Ginger and Baker",    images: [
      {
        url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=7nqvyy",        alt: "Elegant restaurant interior with food"
      }
    ],
    type: "website"
  },
  twitter: {
    card: "summary_large_image",    title: "Ginger and Baker | Elevated Fort Collins Dining & Events",    description: "Discover Ginger and Baker: an all-day gathering place in Fort Collins for exquisite food, artisan bakery, unique cafe experiences, and unforgettable events. Reserve your table or plan your celebration today.",    images: [
      "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=7nqvyy"
    ]
  },
  robots: {
    index: true,
    follow: true
  }
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en" suppressHydrationWarning>
      <ServiceWrapper>
        <body
          className={`${libreBaskerville.variable} ${inter.variable} antialiased`}
        >
          <Tag />
          {children}
        </body>
      </ServiceWrapper>
    </html>
  );
}