feat: add initial support for points page

This commit is contained in:
Arvid Norlin
2024-05-13 15:24:15 +02:00
parent e853f3980a
commit 7ad8726633
10 changed files with 185 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ import {
benefits,
myPages,
overview,
points,
profile,
profileEdit,
stays,
@@ -19,4 +20,5 @@ export const authRequired = [
...Object.values(profile),
...Object.values(profileEdit),
...Object.values(stays),
...Object.values(points),
]

View File

@@ -48,6 +48,16 @@ export const profileEdit = {
sv: `${profile.sv}/redigera`,
}
/** @type {import('@/types/routes').LangRoute} */
export const points = {
da: `${myPages.da}/points`,
de: `${myPages.de}/points`,
en: `${myPages.en}/points`,
fi: `${myPages.fi}/points`,
no: `${myPages.no}/points`,
sv: `${myPages.sv}/points`,
}
/** @type {import('@/types/routes').LangRoute} */
export const benefits = {
da: `${myPages.da}/fordele`,