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

const page = getEntityPage("despre");

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

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

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