import { PageHeader } from '@/components/shared/page-header';
import { BrochuresAdminPanel } from '@/components/admin/brochures-admin-panel';

/**
 * Per-port admin page for managing brochures (Phase 7 §5.8).
 *
 * Lists brochures, lets per-port admins upload new versions via direct-to-
 * storage presigned URLs (so the 20MB+ file never traverses Next.js's
 * body-size limit - see §11.1), and toggle the default flag.
 */
export default function BrochuresAdminPage() {
  return (
    <div className="space-y-6">
      <PageHeader
        title="Brochures"
        description="Port-wide marketing PDFs available to the sales send-out flow. The default brochure is the one /clients picker pre-selects."
      />
      <BrochuresAdminPanel />
    </div>
  );
}
