<?xml version="1.0" encoding="UTF-8"?>
<!--
  AFRINIA — sitemap.xml
  ─────────────────────
  Canonical domain: https://afrinia.org

  Static pages are listed here directly.

  IMPORTANT — dynamic blog posts:
  Each blog post published via the admin panel lives at
    /en/blog/<slug>  and  /fr/blog/<slug>
  Because these URLs come from Firestore at runtime, they cannot be
  listed here automatically.

  Workflow for Phase 1 (manual): After publishing a new article, copy the
  block below for each slug and re-deploy. Replace YYYY-MM-DD and YOUR-SLUG.

  <url>
    <loc>https://afrinia.org/en/blog/YOUR-SLUG</loc>
    <lastmod>YYYY-MM-DD</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
    <xhtml:link rel="alternate" hreflang="en"        href="https://afrinia.org/en/blog/YOUR-SLUG"/>
    <xhtml:link rel="alternate" hreflang="fr"        href="https://afrinia.org/fr/blog/YOUR-SLUG"/>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://afrinia.org/fr/blog/YOUR-SLUG"/>
  </url>

  Long-term solution (Phase 2): A Firebase Cloud Function that reads all
  published posts from Firestore and returns this file dynamically.
-->
<urlset
  xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

  <!-- ── Home ──────────────────────────────────────────────────────────── -->
  <url>
    <loc>https://afrinia.org/</loc>
    <lastmod>2026-04-21</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>

  <!-- ── About ─────────────────────────────────────────────────────────── -->
  <url>
    <loc>https://afrinia.org/about</loc>
    <lastmod>2026-04-21</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>

  <!-- ── Blog listing — French (x-default) ────────────────────────────── -->
  <url>
    <loc>https://afrinia.org/fr/blog</loc>
    <lastmod>2026-04-21</lastmod>
    <changefreq>daily</changefreq>
    <priority>0.9</priority>
    <xhtml:link rel="alternate" hreflang="fr"        href="https://afrinia.org/fr/blog"/>
    <xhtml:link rel="alternate" hreflang="en"        href="https://afrinia.org/en/blog"/>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://afrinia.org/fr/blog"/>
  </url>

  <!-- ── Blog listing — English ────────────────────────────────────────── -->
  <url>
    <loc>https://afrinia.org/en/blog</loc>
    <lastmod>2026-04-21</lastmod>
    <changefreq>daily</changefreq>
    <priority>0.9</priority>
    <xhtml:link rel="alternate" hreflang="en"        href="https://afrinia.org/en/blog"/>
    <xhtml:link rel="alternate" hreflang="fr"        href="https://afrinia.org/fr/blog"/>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://afrinia.org/fr/blog"/>
  </url>

  <!-- ── Audio ─────────────────────────────────────────────────────────── -->
  <url>
    <loc>https://afrinia.org/audio</loc>
    <lastmod>2026-04-21</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- ── Contact ───────────────────────────────────────────────────────── -->
  <url>
    <loc>https://afrinia.org/contact</loc>
    <lastmod>2026-04-21</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.6</priority>
  </url>

  <!-- ── Builders (coming soon) ────────────────────────────────────────── -->
  <url>
    <loc>https://afrinia.org/builders</loc>
    <lastmod>2026-04-21</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>

</urlset>
