feat: add initial support for points page
This commit is contained in:
@@ -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),
|
||||
]
|
||||
|
||||
@@ -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`,
|
||||
|
||||
Reference in New Issue
Block a user