---
import AdminLayout from '../../../layouts/AdminLayout.astro';
import CollectionTable from '../../../components/admin/CollectionTable';
---

<AdminLayout title="Campaigns">
  <CollectionTable
    endpoint="/api/collections/campaign_masters"
    columns={['name', 'campaign_type', 'status', 'created_at']}
    title="Campaigns"
    client:load
  />
</AdminLayout>
