elmeg-demo/frontend/app/sitemap.ts
fullsizemalt 2ac8719359
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
chore: Launch polish (SEO, Config)
2025-12-24 18:21:12 -08:00

22 lines
497 B
TypeScript

import { MetadataRoute } from 'next'
export default function sitemap(): MetadataRoute.Sitemap {
const baseUrl = 'https://elmeg.xyz'
const routes = [
'',
'/shows',
'/songs',
'/venues',
'/videos',
'/stats',
'/shows/upcoming',
].map((route) => ({
url: `${baseUrl}${route}`,
lastModified: new Date(),
changeFrequency: 'daily' as const,
priority: route === '' ? 1 : 0.8,
}))
return routes
}