import type { Metadata } from "next"; import { createPageAction } from "@/actions/pages"; import { PageForm } from "@/components/admin/PageForm"; import { requireAdmin } from "@/lib/auth/dal"; export const metadata: Metadata = { title: "New page" }; export default async function NewPagePage() { await requireAdmin(); return (

New page

); }