import type { LegacyPageKey } from "@/lib/legacy-pages";
import { legacyPages } from "@/lib/legacy-pages";

export function LegacyPage({ pageKey }: { pageKey: LegacyPageKey }) {
  const page = legacyPages[pageKey];

  return <div dangerouslySetInnerHTML={{ __html: page.html }} />;
}
