<?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"
        xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
        xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
                            http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd
                            http://www.google.com/schemas/sitemap-image/1.1
                            http://www.google.com/schemas/sitemap-image/1.1/sitemap-image.xsd">
  <!-- Main pages -->
  <url>
    <loc>https://rilll.vercel.app/</loc>
    <lastmod>2024-07-05</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
    <image:image>
      <image:loc>https://rilll.vercel.app/images/syahril.jpg</image:loc>
      <image:title>Syahril - Software Engineer</image:title>
    </image:image>
  </url>
  <url>
    <loc>https://rilll.vercel.app/about</loc>
    <lastmod>2024-07-05</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://rilll.vercel.app/projects</loc>
    <lastmod>2024-07-05</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.9</priority>
  </url>
  <url>
    <loc>https://rilll.vercel.app/blog</loc>
    <lastmod>2024-07-05</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
  </url>
  <url>
    <loc>https://rilll.vercel.app/contact</loc>
    <lastmod>2024-07-05</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.7</priority>
  </url>
  
  <!-- 
  Note: For dynamic content like blog posts and projects, 
  consider implementing a dynamic sitemap generator using Next.js API routes.
  This can query your database and generate an up-to-date sitemap automatically.
  
  Example implementation:
  1. Create a file at app/api/sitemap/route.ts
  2. Query your database for all blog posts and projects
  3. Format the data as XML
  4. Return with Content-Type: application/xml
  
  Then update robots.txt to point to this endpoint.
  -->
</urlset>