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

export const metadata: Metadata = {
  title: "Temporary Fence Rental | Construction, Events & Site Safety | VG Fence Products — KWC Ontario",
  description: "Temporary fence rental for construction sites, events, and crowd control across 250km in Ontario from Kitchener–Waterloo. 6x10 and 6x5 panels, gates, privacy screens, sandbags, and all accessories. Same-day setup available in KWC.",
  keywords: "temporary fence rental Kitchener, temporary fence rental Waterloo, temp fence rental KWC, construction fence rental Ontario, temporary fencing Cambridge, event fence rental Guelph, construction site fence rental Hamilton, crowd control fence Ontario, temporary fence panels rental, temp fence rental contractor Ontario",
  alternates: {
    canonical: "/temporary-fencing",
  },
  openGraph: {
    title: "Temporary Fence Rental — Construction, Events & Safety | VG Fence Products KWC",
    description: "Temporary fence rental and sales across Ontario. Construction panels, gates, privacy screens, safety fence and all accessories. 250km from Kitchener–Waterloo.",
    type: "website",
    url: "https://vgfence.com/temporary-fencing",
    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 serviceSchema = {
  "@context": "https://schema.org",
  "@type": "Service",
  "name": "Temporary Fence Rental — Construction, Events & Site Safety",
  "description": "Temporary fence rental and sales for construction sites, events, crowd control, and emergency situations. 6x10 and 6x5 panels, gates, privacy screens, sandbags, and all accessories. Serving Ontario from Kitchener–Waterloo.",
  "provider": {
    "@type": "LocalBusiness",
    "name": "VG Fence Products",
    "address": { "@type": "PostalAddress", "addressLocality": "Kitchener", "addressRegion": "ON", "addressCountry": "CA" },
    "email": "info@vgfenceproducts.com",
    "url": "https://vgfence.com"
  },
  "areaServed": [
    "Kitchener","Waterloo","Cambridge","Ayr","Breslau","Elmira","St. Jacobs","New Hamburg","Baden","Wellesley",
    "Guelph","Fergus","Elora","Rockwood","Acton","Georgetown",
    "Hamilton","Burlington","Milton","Oakville","Stoney Creek","Grimsby","Brantford","Paris",
    "Mississauga","Brampton","Vaughan","Markham","Richmond Hill",
    "Woodstock","Ingersoll","Tillsonburg","Stratford","St. Marys",
    "London","St. Thomas","Strathroy","Komoka",
    "Windsor","Chatham","Leamington","Sarnia","Petrolia"
  ],
  "serviceType": "Temporary Fence Rental"
};

const businessSchema = {
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "VG Fence Products",
  "description": "Temporary fence rental and B2B fence supply — serving contractors, builders, and event organizers across Ontario from Kitchener–Waterloo.",
  "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": "Temporary Fence Rental & Supply"
};

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