---
import BaseLayout from '../layouts/BaseLayout.astro';
import DocumentList from '../components/DocumentList.astro';
import { getDocuments } from '../lib/directus';

const documents = await getDocuments();
---

<BaseLayout title="Documents" description="Airport documents and downloads for pilots, visitors, and staff.">
  <div class="container">
    <DocumentList documents={documents} />
  </div>
</BaseLayout>
