---
import BaseLayout from '../layouts/BaseLayout.astro';
import ContactForm from '../components/ContactForm.astro';
import ContactList from '../components/ContactList.astro';
import { getContacts } from '../lib/directus';
import { site } from '../lib/site';

const contacts = await getContacts();
---

<BaseLayout title="Contact" description="How to reach Swansea Airport and its public contacts.">
  <div class="container stack">


    <ContactForm />
    <ContactList contacts={contacts} />
  </div>
</BaseLayout>
