import type { Metadata } from "next";
import { Barlow, Barlow_Condensed } from "next/font/google";
import "./globals.css";
import Navbar from "@/components/Navbar";
import Footer from "@/components/Footer";
import ConstructionPopup from "@/components/ConstructionPopup";


const barlow = Barlow({
  subsets: ["latin"],
  weight: ["300", "400", "500", "600"],
  variable: "--font-body",
});

const barlowCondensed = Barlow_Condensed({
  subsets: ["latin"],
  weight: ["400", "500", "600", "700", "800"],
  variable: "--font-display",
});

export const metadata: Metadata = {
  metadataBase: new URL("https://vgfenceproducts.ca"),
  title: "VG Fence Products | B2B Fence Supply Ontario — KWC",
  description: "B2B fence supply Ontario. Chain link, ornamental, glass railing, Expert Stain & Seal, temp fence rental. Contractor pricing. 250km from Kitchener–Waterloo.",
  icons: {
    icon: "/assets/favicon.webp",
  },
  alternates: {
    canonical: "/",
  },
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en">
      <body className={`${barlow.variable} ${barlowCondensed.variable}`}>
        <Navbar />
        <main>
          {children}
        </main>
        <Footer />
        <ConstructionPopup />

      </body>
    </html>
  );
}
