feat(WEB-154): my profile view

This commit is contained in:
Simon Emanuelsson
2024-04-05 08:28:20 +02:00
parent 3b05b9f205
commit 82e4d40203
95 changed files with 1239 additions and 196 deletions
+16
View File
@@ -0,0 +1,16 @@
import { pageNames, profilePageNames } from "@/constants/myPages"
import type { Lang } from "@/types/lang"
/* Authenticated routes */
export const protectedRoutes: string[] = [
...Object.keys(pageNames).map(
(locale) => `/${locale}/${pageNames[locale as Lang]}`
),
...Object.keys(profilePageNames).map(
(locale) => `/${locale}/${profilePageNames[locale as Lang]}`
),
...Object.keys(profilePageNames).map(
(locale) => `/${locale}/${profilePageNames[locale as Lang]}/verify`
),
]