import { getServerSession } from "next-auth/next" import { redirect } from "next/navigation" import Link from "next/link" import NewsForm from "../NewsForm" export default async function NewNewsPage() { const session = await getServerSession() if (!session) { redirect("/admin/login") } return (