Erste brauchbare Version

This commit is contained in:
timg
2026-08-31 19:55:41 +02:00
parent 080c4d0f39
commit 892a4d4747
35 changed files with 7103 additions and 219 deletions
+30
View File
@@ -0,0 +1,30 @@
import { type MetadataRoute } from 'next';
type Route = MetadataRoute.Sitemap[number];
type Params = Readonly<{
path: string;
changeFrequency?: Route['changeFrequency'];
priority?: Route['priority'];
}>;
const baseURL = 'https://<domain>';
function buildRoute({ path, changeFrequency = 'yearly', priority = 0.0 }: Params) {
const route = {
url: `${baseURL}${path}`,
changeFrequency,
priority
} as Route;
return route;
}
export default function sitemap(): MetadataRoute.Sitemap {
return [
buildRoute({ path: '/', changeFrequency: 'monthly', priority: 1.0 })
];
}