<?xml version="1.0" encoding="UTF-8"?>
<!--
  Static sitemap for BORAlearn.
  Dynamic routes (blog posts, forum threads, subject revision pages) should be
  generated server-side and merged here at build time. See the note below each
  section for how to do that.
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

  <!-- ── Core public pages ── -->
  <url>
    <loc>https://boralearn.com/</loc>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://boralearn.com/subjects</loc>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
  </url>
  <url>
    <loc>https://boralearn.com/practice</loc>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
  </url>
  <url>
    <loc>https://boralearn.com/adaptive</loc>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://boralearn.com/past-papers</loc>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://boralearn.com/groups</loc>
    <changefreq>weekly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://boralearn.com/forum</loc>
    <changefreq>daily</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://boralearn.com/blog</loc>
    <changefreq>daily</changefreq>
    <priority>0.8</priority>
  </url>

  <!-- ── About / info pages ── -->
  <url>
    <loc>https://boralearn.com/how-it-works</loc>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://boralearn.com/pricing</loc>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://boralearn.com/for-teachers</loc>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://boralearn.com/for-schools</loc>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://boralearn.com/faqs</loc>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://boralearn.com/contact</loc>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>

  <!--
    ── Dynamic routes (generate at build time) ──────────────────────────────
    The following route groups are dynamic and should be pre-fetched from the
    Django API at build time and appended here:

    Blog posts:   GET /api/learn/public/blog/?published=true
      → /blog/{slug}

    Forum threads: GET /api/learn/public/forum/threads/
      → /forum/{slug}

    Subject revision pages: GET /api/learn/public/subjects/
      → /revise/{class.slug}/{subject.slug}

    Past papers:  GET /api/learn/public/past-papers/subjects/
      → /past-papers/{level}/{subject.slug}

    A Vite plugin (e.g. vite-plugin-sitemap) or a post-build Node.js script
    can fetch these endpoints and write the <url> entries above.
  -->

</urlset>
