<?xml version="1.0" encoding="UTF-8"?>
<!--
  Sitemap — SEO index of public pages.

  Static URLs are listed below. Dynamic restaurant/menu URLs need server-side
  generation after Supabase integration.

  TODO (SITEMAP-DYNAMIC): Generate dynamic sitemap entries:
  - Fetch all public restaurants from Supabase
  - Generate <url> entries for each /resto/:slug and /menu/:slug
  - Set <lastmod> based on restaurant.updated_at
  - Consider sitemap index for 1000+ restaurants
  
  Priority guidelines:
  - 1.0: Homepage
  - 0.8: Restaurant directory, individual restaurants
  - 0.6: Individual menus
  - 0.4: Auth pages (login, signup)
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <!-- Homepage — highest priority -->
  <url>
    <loc>https://menuqr.pl/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>

  <!-- Restaurant Directory — high value SEO page -->
  <url>
    <loc>https://menuqr.pl/restauracje</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>daily</changefreq>
    <priority>0.9</priority>
  </url>

  <!-- Auth pages — lower priority but should be indexed -->
  <url>
    <loc>https://menuqr.pl/login</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.4</priority>
  </url>

  <url>
    <loc>https://menuqr.pl/signup</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>

  <!--
    TODO (SITEMAP-RESTAURANTS): Dynamic restaurant entries
    Example entry structure:
    
    <url>
      <loc>https://menuqr.pl/resto/la-dolce-vita</loc>
      <lastmod>2024-03-01</lastmod>
      <changefreq>weekly</changefreq>
      <priority>0.8</priority>
    </url>
    
    <url>
      <loc>https://menuqr.pl/menu/la-dolce-vita</loc>
      <lastmod>2024-03-01</lastmod>
      <changefreq>daily</changefreq>
      <priority>0.7</priority>
    </url>
  -->
</urlset>
