import { PAGES } from "@/constants/pages";
import { InnerPageLayout } from "@/components/shared/InnerPageLayout";
import { IndraprasthaLawnSchema } from "@/components/schema/IndraprasthaLawnSchema";
import { notFound } from "next/navigation";

const slug = "/indraprastha-lawn-royal-palace-pune";
const data = PAGES[slug];

export const metadata = {
  title: data?.metaTitle || "Indraprastha Lawn Pune | Grand Event Venue",
  description: data?.metaDescription || "Plan grand weddings, receptions and large celebrations at Indraprastha Lawn with expansive outdoor space, resort facilities and accommodation.",
  keywords: data?.metaKeywords,
  alternates: {
    canonical: data?.canonicalUrl,
  },
  openGraph: {
    title: data?.ogTitle,
    description: data?.ogDescription,
    url: data?.canonicalUrl,
    siteName: "The Grand Heritage Resorts",
    images: [
      {
        url: data?.ogImage,
        alt: data?.ogImageAlt,
        title: data?.ogImageTitle,
      },
    ],
    locale: "en_IN",
  },

};

export default function IndraprasthaLawnPage() {
  if (!data) notFound();
  return (
    <>
      <IndraprasthaLawnSchema data={data} />
      <InnerPageLayout data={data} />
    </>
  );
}
