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

const pageMetadata: Metadata = {
  title: "Opportunity submitted",
  /* 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 <PostingThankyou />;
}
