import { requireSuperAdminAuth } from "@/lib/staff-auth";
import StaffManagement from "@/components/staff/StaffManagement";

export const metadata = {
  title: "Staff Management - Dashboard",
  description: "Manage staff and admin accounts",
};

export default async function StaffManagementPage() {
  const user = await requireSuperAdminAuth();

  return (
    <div className="space-y-6">
      <div>
        <h1 className="text-3xl font-bold text-brand-ink">Staff Management</h1>
        <p className="text-gray-600 mt-1">Manage staff and admin accounts</p>
      </div>

      <StaffManagement currentUser={user} />
    </div>
  );
}
