---
import SiteLayout from "../../layouts/SiteLayout.astro";
import { getCollection } from "astro:content";

const entries = await getCollection("ia");
entries.sort((a, b) => (a.data.order ?? 9999) - (b.data.order ?? 9999));
---
<SiteLayout title="Cas pratique — Gouvernance des systèmes IA">
  <h1>Cas pratique — Gouvernance des systèmes IA</h1>
  <ul>
    {entries.map((e) => (
      <li><a href={`/ia/${e.slug}/`}>{e.data.title}</a></li>
    ))}
  </ul>
</SiteLayout>
