import type { Metadata } from "next";
import { EntityPageView } from "../components/EntityPage";
import { getEntityPage } from "../content/pop-media";
import { buildPageMetadata } from "../seo/metadata";

const page = getEntityPage("surse");

export const metadata: Metadata = buildPageMetadata("surse");

export default function SursePage() {
  if (!page) {
    return null;
  }

  return <EntityPageView page={page} />;
}
