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

<AdminLayout title="Generated Articles">
  <CollectionTable
    endpoint="/api/collections/posts"
    columns={['title', 'status', 'target_city', 'published_at', 'created_at']}
    title="Articles"
    client:load
  />
</AdminLayout>
