admin page

This commit is contained in:
Janis
2023-01-15 17:27:00 +01:00
parent a0598484b4
commit 65eab1f95e
6 changed files with 135 additions and 45 deletions

3
app/utils.tsx Normal file
View File

@@ -0,0 +1,3 @@
export function getUrlSafeString(value: string): string {
return encodeURIComponent(value.toLowerCase().replace(/[^a-z0-9 _-]+/gi, "-"));
}