- Next.js 16 App Router site with the ANOUMA design system - Payload CMS (PostgreSQL) for offers, events, posts and page content - WebRTC video-call system with custom signaling server - SMTP email reminders and booking-request notifications - Customer accounts, calendar-based availability, and booking workflow
30 lines
766 B
TypeScript
30 lines
766 B
TypeScript
import type { MetadataRoute } from "next";
|
|
import { siteConfig } from "@/lib/site";
|
|
|
|
const routes = [
|
|
"",
|
|
"/ueber-mich",
|
|
"/angebote",
|
|
"/angebote/prozessbegleitung",
|
|
"/angebote/doula-begleitung",
|
|
"/angebote/erdenkinder",
|
|
"/angebote/maedchenkreis",
|
|
"/angebote/singkreise",
|
|
"/angebote/singkreise/singen-im-kreis",
|
|
"/angebote/singkreise/singen-fuer-schwangere",
|
|
"/angebote/singkreise/mama-baby-singkreis",
|
|
"/aktuelles",
|
|
"/termin-buchen",
|
|
"/kontakt",
|
|
"/impressionen",
|
|
];
|
|
|
|
export default function sitemap(): MetadataRoute.Sitemap {
|
|
return routes.map((route) => ({
|
|
url: `${siteConfig.domain}${route}`,
|
|
lastModified: new Date(),
|
|
changeFrequency: route === "" ? "weekly" : "monthly",
|
|
priority: route === "" ? 1 : 0.7,
|
|
}));
|
|
}
|