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

<AdminLayout title="Blog Posts">
  <CollectionTable
    endpoint="/api/collections/posts"
    columns={['title', 'slug', 'status', 'published_at']}
    title="Posts"
    client:load
  />
</AdminLayout>
