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

const page = getEntityPage("evenimente");

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

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

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