import { localizedMetadata } from "@/lib/i18n/serverMetadata";
import type { Metadata } from "next";
import Certificate from "@/features/achievements/components/Certificate";

const pageMetadata: Metadata = {
  title: "Certificate",
  /* Signed-in or terminal screen: nothing here is useful in search
     results, and these routes ship their HTML to anyone because the
     guards are client-side. */
  robots: { index: false, follow: false },
};

export async function generateMetadata(): Promise<Metadata> {
  return localizedMetadata(pageMetadata);
}

export default function Page() {
  return <Certificate />;
}
