import { PAGES } from "@/constants/pages";
import { InnerPageLayout } from "@/components/shared/InnerPageLayout";
import AwardsRecognitionsSchema from "@/components/schema/AwardsRecognitionsSchema";
import { notFound } from "next/navigation";

const slug = "/awards-recognitions";
const data = PAGES[slug];

export const metadata = {
  title: data?.metaTitle || "Awards & Recognition | The Grand Heritage Resorts Pune",
  description: data?.metaDescription || "Explore the awards and recognition earned by The Grand Heritage Resorts in Shikrapur on Pune–Nagar Highway for hospitality, events and guest experiences.",
  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 AwardsAndRecognitionsPage() {
  if (!data) notFound();
  return ( 
  <> 
  <AwardsRecognitionsSchema /> 
  <InnerPageLayout data={data} /> 
  </> 
  );
}
