add titles, description and images for seo

This commit is contained in:
2024-08-10 18:29:26 +02:00
parent ed10692318
commit 385f17eea1
19 changed files with 598 additions and 241 deletions
+4
View File
@@ -51,6 +51,10 @@ export function stripWhitespace(s: string): string {
return s.replace(/\s/g, "");
}
export function stripHtml(s: string): string {
return s.replace(/(<([^>]+)>)/gi, "");
}
export function formatPhoneE164(phone: string): string {
phone = stripWhitespace(phone);
if (phone.startsWith("+") || phone.length != 8) {