export async function getPage(page: string) {
  const res = await fetch(
    `http://localhost:3000/api/content/${page}`,
    { cache: "no-store" }
  );

  if (!res.ok) return null;

  return res.json();
}