<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
        http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">

  <!-- Homepage / Login -->
  <url>
    <loc>http://purplepill.ro/</loc>
    <lastmod>2025-10-27</lastmod>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
  </url>

  <!-- Authentication Pages -->
  <url>
    <loc>http://purplepill.ro/login</loc>
    <lastmod>2025-10-27</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.9</priority>
  </url>

  <url>
    <loc>http://purplepill.ro/register</loc>
    <lastmod>2025-10-27</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.9</priority>
  </url>

  <url>
    <loc>http://purplepill.ro/forgot-password</loc>
    <lastmod>2025-10-27</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>

  <!-- Public Legal Documents -->
  <url>
    <loc>http://purplepill.ro/public/privacy-policy</loc>
    <lastmod>2025-10-27</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>

  <url>
    <loc>http://purplepill.ro/public/terms-conditions</loc>
    <lastmod>2025-10-27</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>

  <url>
    <loc>http://purplepill.ro/public/cookies-policy</loc>
    <lastmod>2025-10-27</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- Events Listing -->
  <url>
    <loc>https://purplepill.ro/events</loc>
    <lastmod>2025-10-31</lastmod>
    <changefreq>hourly</changefreq>
    <priority>0.9</priority>
  </url>

  <!-- 
    IMPORTANT: This is a static sitemap fallback.
    
    For dynamic event URLs, configure your web server to proxy /sitemap.xml
    requests to your backend API at /api/sitemap.xml which generates the
    complete sitemap with all active events dynamically.
    
    Nginx configuration example:
    
    location = /sitemap.xml {
        proxy_pass https://purplepill.ro/api/sitemap.xml;
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }
    
    The backend endpoint generates URLs like:
    - https://purplepill.ro/event/nodejs-meetup-belgrade-1730000000000
    - https://purplepill.ro/event/react-workshop-bucharest-1731000000000
    
    With dynamic priorities based on event dates and automatic lastmod timestamps.
  -->

</urlset>
