import { requireStaffAuth } from "@/lib/staff-auth";
import ContactsList from "@/components/staff/ContactsList";

export const metadata = {
  title: "Contacts - Staff Dashboard",
  description: "Manage contact form submissions",
};

export default async function ContactsPage() {
  const user = await requireStaffAuth();

  return (
    <div className="space-y-6">
      <div>
        <h1 className="text-3xl font-bold text-brand-ink">Contact Messages</h1>
        <p className="text-gray-600 mt-1">
          View and respond to contact form submissions
        </p>
      </div>

      <ContactsList user={user} />
    </div>
  );
}
