export function slugify(text: string): string { return text .toLowerCase() .replace(/\s+/g, "-") .replace(/ü/g, "ue") .replace(/ä/g, "ae") .replace(/ö/g, "oe") .replace(/ß/g, "ss"); }