34 lines
657 B
TypeScript
34 lines
657 B
TypeScript
import type { MetadataRoute } from "next";
|
|
|
|
const BASE = "https://soccer-2026.info";
|
|
|
|
export default function sitemap(): MetadataRoute.Sitemap {
|
|
const now = new Date();
|
|
return [
|
|
{
|
|
url: `${BASE}/en`,
|
|
lastModified: now,
|
|
changeFrequency: "hourly",
|
|
priority: 1.0,
|
|
alternates: {
|
|
languages: {
|
|
en: `${BASE}/en`,
|
|
de: `${BASE}/de`,
|
|
},
|
|
},
|
|
},
|
|
{
|
|
url: `${BASE}/de`,
|
|
lastModified: now,
|
|
changeFrequency: "hourly",
|
|
priority: 1.0,
|
|
alternates: {
|
|
languages: {
|
|
en: `${BASE}/en`,
|
|
de: `${BASE}/de`,
|
|
},
|
|
},
|
|
},
|
|
];
|
|
}
|