import type { Metadata } from "next";
import OrnamentalFenceClient from "./OrnamentalFenceClient";

export const metadata: Metadata = {
  title: "Ornamental Fence & Gates | 4 Models | VG Fence Products — KWC Ontario",
  description: "Ornamental aluminum fence and gates in 4 residential models — Tokio, Rio, Denver, Oslo. Rackable panels, matching gates, posts and hardware. Serving Kitchener, Waterloo, Cambridge and 250km across Ontario.",
  keywords: "ornamental fence Ontario, ornamental aluminum fence KWC, ornamental fence Kitchener, ornamental fence Waterloo, residential ornamental fence, ornamental fence panels, aluminum fence and gates, ornamental fence supply Ontario, decorative fence contractor supply, iron fence Ontario, fence supply Kitchener Waterloo Cambridge",
  alternates: {
    canonical: "/products/ornamental-fence",
  },
  openGraph: {
    title: "Ornamental Fence & Gates — 4 Models | VG Fence Products",
    description: "Tokio, Rio, Denver, Oslo — 4 ornamental aluminum fence models with matching gates and hardware. Serving contractors across Ontario from KWC.",
    type: "website",
    url: "https://vgfence.com/products/ornamental-fence",
    locale: "en_CA",
    siteName: "VG Fence Products",
  },
  other: {
    "geo.region": "CA-ON",
    "geo.placename": "Kitchener, Ontario",
    "geo.position": "43.4516;-80.4925",
    "ICBM": "43.4516, -80.4925",
  }
};

const productSchema = {
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Ornamental Aluminum Fence & Gates",
  "description": "Residential ornamental aluminum fence panels and gates in 4 models: Tokio, Rio, Denver, Oslo. Rackable panels in 48\" and 60\" heights with matching walk gates and all hardware.",
  "brand": { "@type": "Brand", "name": "VG Fence Products" },
  "offers": {
    "@type": "Offer",
    "availability": "https://schema.org/InStock",
    "seller": {
      "@type": "LocalBusiness",
      "name": "VG Fence Products",
      "address": { "@type": "PostalAddress", "addressLocality": "Kitchener", "addressRegion": "ON", "addressCountry": "CA" },
      "email": "info@vgfenceproducts.com",
      "url": "https://vgfence.com",
      "areaServed": "Ontario, Canada"
    }
  }
};

const businessSchema = {
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "VG Fence Products",
  "description": "B2B fence materials supplier — ornamental fence, chain link, composite, glass railing and stain products. Serving contractors and builders across Ontario.",
  "address": { "@type": "PostalAddress", "addressLocality": "Kitchener", "addressRegion": "ON", "addressCountry": "CA" },
  "email": "info@vgfenceproducts.com",
  "url": "https://vgfence.com",
  "areaServed": ["Kitchener","Waterloo","Cambridge","Guelph","Hamilton","Brantford","Toronto","London","Windsor","Barrie","Niagara","Milton","Oakville","Burlington","Mississauga","Brampton","Woodstock","Stratford","Sarnia"],
  "serviceType": "Fence Materials Supply"
};

export default function OrnamentalFencePage() {
  return (
    <>
      <script
        type="application/ld+json"
        dangerouslySetInnerHTML={{ __html: JSON.stringify(productSchema) }}
      />
      <script
        type="application/ld+json"
        dangerouslySetInnerHTML={{ __html: JSON.stringify(businessSchema) }}
      />
      <OrnamentalFenceClient />
    </>
  );
}
