import { requireAdmin } from "@/lib/session";
import QuizForm from "../QuizForm";

export default async function NewQuizPage() {
  await requireAdmin();
  return (
    <div className="max-w-2xl mx-auto">
      <h1 className="text-2xl font-bold mb-6">کوییز جدید</h1>
      <QuizForm />
    </div>
  );
}
