Add src/utils.ts

This commit is contained in:
Eric Lay 2026-03-11 08:52:47 -05:00
parent e12333aff2
commit 1c1333baf7
1 changed files with 3 additions and 0 deletions

3
src/utils.ts Normal file
View File

@ -0,0 +1,3 @@
export function createPageUrl(pageName: string) {
return '/' + pageName.replace(/ /g, '-');
}