<?xml version="1.0" encoding="UTF-8"?>
<!--
  public/sitemap.xml
  
  Hand-written sitemap for the portfolio site.
  
  Why hand-written instead of auto-generated?
  @astrojs/sitemap@3.2.1 has a confirmed bug (undefined._routes.reduce crash)
  with Astro 4.16.x. For a portfolio with < 20 pages, a hand-written sitemap
  is simpler, more reliable, and takes < 5 minutes to update when adding a project.

  Maintenance:
  When you add a new project MDX file (e.g., src/content/projects/new-project.mdx),
  add three <url> entries here — one per language (/en/, /es/, /de/).
  Update the <lastmod> date when page content changes significantly.

  UPDATE: Replace "alejandro.engineering" with your actual domain.
  UPDATE: Update <lastmod> dates to reflect actual last-modified dates.
-->
<urlset
  xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

  <!-- ── Home ──────────────────────────────────────────────────────────── -->
  <url>
    <loc>https://alejandro.engineering/en/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>monthly</changefreq>
    <priority>1.0</priority>
    <xhtml:link rel="alternate" hreflang="en" href="https://alejandro.engineering/en/"/>
    <xhtml:link rel="alternate" hreflang="es" href="https://alejandro.engineering/es/"/>
    <xhtml:link rel="alternate" hreflang="de" href="https://alejandro.engineering/de/"/>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://alejandro.engineering/en/"/>
  </url>
  <url>
    <loc>https://alejandro.engineering/es/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.9</priority>
    <xhtml:link rel="alternate" hreflang="en" href="https://alejandro.engineering/en/"/>
    <xhtml:link rel="alternate" hreflang="es" href="https://alejandro.engineering/es/"/>
    <xhtml:link rel="alternate" hreflang="de" href="https://alejandro.engineering/de/"/>
  </url>
  <url>
    <loc>https://alejandro.engineering/de/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.9</priority>
    <xhtml:link rel="alternate" hreflang="en" href="https://alejandro.engineering/en/"/>
    <xhtml:link rel="alternate" hreflang="es" href="https://alejandro.engineering/es/"/>
    <xhtml:link rel="alternate" hreflang="de" href="https://alejandro.engineering/de/"/>
  </url>

  <!-- ── Projects list ─────────────────────────────────────────────────── -->
  <url>
    <loc>https://alejandro.engineering/en/projects/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.9</priority>
  </url>
  <url>
    <loc>https://alejandro.engineering/es/projects/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://alejandro.engineering/de/projects/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>

  <!-- ── Project: Bachelor's Thesis ───────────────────────────────────── -->
  <!-- UPDATE: replace "thesis" with actual slug, update lastmod date -->
  <url>
    <loc>https://alejandro.engineering/en/projects/thesis/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.8</priority>
    <xhtml:link rel="alternate" hreflang="en" href="https://alejandro.engineering/en/projects/thesis/"/>
    <xhtml:link rel="alternate" hreflang="es" href="https://alejandro.engineering/es/projects/thesis/"/>
    <xhtml:link rel="alternate" hreflang="de" href="https://alejandro.engineering/de/projects/thesis/"/>
  </url>
  <url>
    <loc>https://alejandro.engineering/es/projects/thesis/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://alejandro.engineering/de/projects/thesis/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- ── About ─────────────────────────────────────────────────────────── -->
  <url>
    <loc>https://alejandro.engineering/en/about/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://alejandro.engineering/es/about/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://alejandro.engineering/de/about/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.6</priority>
  </url>

  <!-- ── CV ────────────────────────────────────────────────────────────── -->
  <url>
    <loc>https://alejandro.engineering/en/cv/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://alejandro.engineering/es/cv/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://alejandro.engineering/de/cv/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.6</priority>
  </url>

  <!-- ── Contact ───────────────────────────────────────────────────────── -->
  <url>
    <loc>https://alejandro.engineering/en/contact/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://alejandro.engineering/es/contact/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.5</priority>
  </url>
  <url>
    <loc>https://alejandro.engineering/de/contact/</loc>
    <lastmod>2024-01-01</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.5</priority>
  </url>

</urlset>
