Add optional `updated_at` field to the Project interface for
tracking last modification. Update base URL to use an
environment variable for better configurability. Improve
error handling during sitemap data fetching by logging
errors and returning static routes as a fallback.
Refactor change frequency and priority logic for clarity
and maintainability.
Change the base URL from localhost to the production URL.
Implement a check for the build environment to use mock data
for generating the sitemap during the build process.
This ensures that sitemap is correctly populated
with project routes even when the API is not available.
Refactor project data parsing to ensure type safety by casting
the project data as a string. Enhance the sitemap generation
by fetching data from a dynamic API route, allowing for
more accurate and up-to-date sitemap entries. Remove unused
project markdown files to clean up the project structure.
These changes improve code reliability and maintainability.