---
import Layout from '@/layouts/AdminLayout.astro';
import GenericCollectionManager from '@/components/admin/collections/GenericCollectionManager';
---

<Layout title="Headlines | Spark Intelligence">
  <div class="p-8">
     <GenericCollectionManager 
        client:only="react" 
        collection="headline_inventory" 
        title="Headline Inventory"
        displayField="text"
        fields={[
            { key: 'text', label: 'Headline Text', type: 'text' },
            { key: 'type', label: 'Type (H1/H2)', type: 'text' },
            { key: 'category', label: 'Category', type: 'text' },
            { key: 'spintax_root', label: 'Spintax Root', type: 'text' }
        ]}
     />
  </div>
</Layout>
