<?xml version="1.0" encoding="UTF-8"?>
<urlset
  xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
  xmlns:xhtml="http://www.w3.org/1999/xhtml">

  <!-- ─── Public pages ─────────────────────────────────── -->

  <url>
    <loc>https://zidhub.com/</loc>
    <lastmod>2026-04-14</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>

  <url>
    <loc>https://zidhub.com/about</loc>
    <lastmod>2026-04-14</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>

  <url>
    <loc>https://zidhub.com/contact</loc>
    <lastmod>2026-04-14</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>

  <url>
    <loc>https://zidhub.com/leaderboard</loc>
    <lastmod>2026-04-14</lastmod>
    <changefreq>daily</changefreq>
    <priority>0.8</priority>
  </url>

  <url>
    <loc>https://zidhub.com/achievements</loc>
    <lastmod>2026-04-14</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.7</priority>
  </url>

  <url>
    <loc>https://zidhub.com/how-it-works</loc>
    <lastmod>2026-04-14</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- ─── Courses (public browse) ──────────────────────── -->

  <url>
    <loc>https://zidhub.com/courses</loc>
    <lastmod>2026-04-14</lastmod>
    <changefreq>daily</changefreq>
    <priority>0.9</priority>
  </url>

  <!-- ─── Scientific Library (public browse) ───────────── -->

  <url>
    <loc>https://zidhub.com/library</loc>
    <lastmod>2026-04-14</lastmod>
    <changefreq>daily</changefreq>
    <priority>0.9</priority>
  </url>

  <!-- ─── Authentication ───────────────────────────────── -->

  <url>
    <loc>https://zidhub.com/login</loc>
    <lastmod>2026-04-14</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>

  <url>
    <loc>https://zidhub.com/register</loc>
    <lastmod>2026-04-14</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>

  <url>
    <loc>https://zidhub.com/verify-email</loc>
    <lastmod>2026-04-14</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.3</priority>
  </url>

  <url>
    <loc>https://zidhub.com/resend-verification</loc>
    <lastmod>2026-04-14</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.3</priority>
  </url>

  <url>
    <loc>https://zidhub.com/forgot-password</loc>
    <lastmod>2026-04-14</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.3</priority>
  </url>

  <!--
    NOTE: The following routes are intentionally excluded from this sitemap:

    Protected (require login) — not indexable by search engines:
      /dashboard, /search, /matches, /requests, /notifications,
      /profile, /blocked, /my-reports, /rooms, /partnership/:id,
      /courses/:id/learn, /my-courses, /my-courses-manage,
      /my-books-manage

    Dynamic (require known IDs) — use server-side sitemap generation
    for production to list real entries:
      /profile/:id     → list all public user profiles
      /courses/:id     → list all published courses
      /library/:id     → list all approved books

    Admin-only — never indexed:
      /admin, /admin/*, /unauthorized

    Password reset — token-based, not indexable:
      /reset-password/:token
  -->

</urlset>