<?xml version="1.0" encoding="UTF-8"?>
<!--
  HuddleUp sitemap.

  The app uses hash-based client routing (e.g. "/#/venues") so a crawler
  sees the same URL for every in-app view. We nevertheless list the
  clean-path equivalents here because:

    1. The Express server (server/server.js) has a SPA fallback that
       serves index.html for any non-API path, so /venues, /ai, /about,
       etc. all resolve to valid 200 responses.
    2. The bot renderer middleware (server/middleware/botRenderer.js)
       injects SEO-friendly HTML with schema.org markup for every one
       of those paths when a search/LLM crawler hits them.

  Auth-gated and admin routes (/onboarding, /preferences, /admin) are
  intentionally omitted so we don't ask crawlers to index pages that
  would either 302 to sign-in or be useless without a session.

  Per-event detail pages (#/event/:id) aren't listed either — the set is
  dynamic and short-lived (games roll off the schedule within days).
  If we ever want to expose those, a server-generated sitemap
  partitioned by league/date would be the right move.

  Update the <lastmod> values on deploys that materially change the
  referenced page; otherwise leave them be so crawlers don't get a
  spurious "changed" signal.
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

  <url>
    <loc>https://huddleupapp.org/</loc>
    <lastmod>2026-04-19</lastmod>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
  </url>

  <url>
    <loc>https://huddleupapp.org/venues</loc>
    <lastmod>2026-04-19</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
  </url>

  <url>
    <loc>https://huddleupapp.org/ai</loc>
    <lastmod>2026-04-19</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>

  <url>
    <loc>https://huddleupapp.org/about</loc>
    <lastmod>2026-04-19</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>

  <url>
    <loc>https://huddleupapp.org/devlog</loc>
    <lastmod>2026-04-19</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.5</priority>
  </url>

  <url>
    <loc>https://huddleupapp.org/terms</loc>
    <lastmod>2026-04-19</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>

</urlset>
