import { generateRegistryMetadata, generateRegistryStructuredData } from "@/lib/seo"
import { ReviewsPage } from "@/components/reviews-page"
import type { Metadata } from "next"

export async function generateMetadata(): Promise<Metadata> {
  return generateRegistryMetadata("reviews")
}

export default function Reviews() {
  const structuredData = generateRegistryStructuredData("reviews")

  return (
    <>
      <script
        type="application/ld+json"
        dangerouslySetInnerHTML={{ __html: JSON.stringify(structuredData) }}
      />
      <ReviewsPage />
    </>
  )
}
