import type { Metadata } from "next";
import { getTranslations } from "next-intl/server";
import PolicyContent from "@/components/sections/PolicyPage/PolicyContent";

export async function generateMetadata(): Promise<Metadata> {
  const t = await getTranslations("PrivacyPolicyPage");
  return {
    title: t("title"),
  };
}

export default function PrivacyPolicyPage() {
  return <PolicyContent namespace="PrivacyPolicyPage" policyKey="privacy_policy" />;
}
