import type { Metadata } from "next"; import { notFound } from "next/navigation"; import { AdminNav } from "@/components/AdminNav"; import { requireMe } from "@/lib/server"; import { AdminInvitations } from "./AdminInvitations"; export const metadata: Metadata = { title: "Meghívók" }; export default async function AdminInvitationsPage() { const me = await requireMe("/admin/meghivok"); if (!me.user.roles.includes("admin")) notFound(); return (

Meghívók

Az oldalra csak meglévő felhasználó vagy meghívott léphet be. A meghívó 30 napig érvényes, és a linkkel bármelyik Google-fiókkal elfogadható.

); }