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("RefundPolicyPage");
  return {
    title: t("title"),
  };
}

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