feat(LOY-521): update profiling consent routes * feat(LOY-521):update consent routes Approved-by: Linus Flood
96 lines
2.5 KiB
TypeScript
96 lines
2.5 KiB
TypeScript
import type { LangRoute } from "@scandic-hotels/common/constants/routes/langRoute"
|
|
|
|
/**
|
|
* These are routes that define code entries for My pages
|
|
*/
|
|
|
|
export const scandicFriends: LangRoute = {
|
|
da: "/da/scandic-friends",
|
|
de: "/de/scandic-friends",
|
|
en: "/en/scandic-friends",
|
|
fi: "/fi/scandic-friends",
|
|
no: "/no/scandic-friends",
|
|
sv: "/sv/scandic-friends",
|
|
}
|
|
|
|
export const myPages: LangRoute = {
|
|
da: `${scandicFriends.da}/mine-sider`,
|
|
de: `${scandicFriends.de}/mein-bereich`,
|
|
en: `${scandicFriends.en}/my-pages`,
|
|
fi: `${scandicFriends.fi}/omat-sivut`,
|
|
no: `${scandicFriends.no}/mine-sider`,
|
|
sv: `${scandicFriends.sv}/mina-sidor`,
|
|
}
|
|
|
|
export const overview: LangRoute = {
|
|
da: `${myPages.da}/oversigt`,
|
|
de: `${myPages.de}/uberblick`,
|
|
en: `${myPages.en}/overview`,
|
|
fi: `${myPages.fi}/yleista`,
|
|
no: `${myPages.no}/oversikt`,
|
|
sv: `${myPages.sv}/oversikt`,
|
|
}
|
|
|
|
export const profile: LangRoute = {
|
|
da: `${myPages.da}/profil`,
|
|
de: `${myPages.de}/profil`,
|
|
en: `${myPages.en}/profile`,
|
|
fi: `${myPages.fi}/profiili`,
|
|
no: `${myPages.no}/profil`,
|
|
sv: `${myPages.sv}/profil`,
|
|
}
|
|
|
|
export const profileEdit: LangRoute = {
|
|
da: `${profile.da}/rediger`,
|
|
de: `${profile.de}/bearbeiten`,
|
|
en: `${profile.en}/edit`,
|
|
fi: `${profile.fi}/muokkaa`,
|
|
no: `${profile.no}/rediger`,
|
|
sv: `${profile.sv}/redigera`,
|
|
}
|
|
|
|
export const profileConsent: LangRoute = {
|
|
da: `${profile.da}/samtykke`,
|
|
de: `${profile.de}/einwilligung`,
|
|
en: `${profile.en}/consent`,
|
|
fi: `${profile.fi}/suostumus`,
|
|
no: `${profile.no}/samtykke`,
|
|
sv: `${profile.sv}/samtycke`,
|
|
}
|
|
|
|
export const points: LangRoute = {
|
|
da: `${myPages.da}/point`,
|
|
de: `${myPages.de}/punkte`,
|
|
en: `${myPages.en}/points`,
|
|
fi: `${myPages.fi}/pisteet`,
|
|
no: `${myPages.no}/poeng`,
|
|
sv: `${myPages.sv}/poang`,
|
|
}
|
|
|
|
export const benefits: LangRoute = {
|
|
da: `${myPages.da}/fordele`,
|
|
de: `${myPages.de}/vorteile`,
|
|
en: `${myPages.en}/benefits`,
|
|
fi: `${myPages.fi}/edut`,
|
|
no: `${myPages.no}/fordeler`,
|
|
sv: `${myPages.sv}/formaner`,
|
|
}
|
|
|
|
export const stays: LangRoute = {
|
|
da: `${myPages.da}/ophold`,
|
|
de: `${myPages.de}/aufenthalte`,
|
|
en: `${myPages.en}/stays`,
|
|
fi: `${myPages.fi}/varaukset`,
|
|
no: `${myPages.no}/opphold`,
|
|
sv: `${myPages.sv}/vistelser`,
|
|
}
|
|
|
|
export const partnerSas: LangRoute = {
|
|
da: `${myPages.da}/sas-eurobonus`,
|
|
de: `${myPages.de}/sas-eurobonus`,
|
|
en: `${myPages.en}/sas-eurobonus`,
|
|
fi: `${myPages.fi}/sas-eurobonus`,
|
|
no: `${myPages.no}/sas-eurobonus`,
|
|
sv: `${myPages.sv}/sas-eurobonus`,
|
|
}
|