fix: reuse currentWebHrefs for signup

This commit is contained in:
Chuma McPhoy
2024-10-11 12:02:40 +02:00
parent 84881ee16a
commit e0121e7a17
3 changed files with 27 additions and 30 deletions

View File

@@ -1,17 +1,28 @@
export const bookingTermsAndConditions = {
da: "https://www.scandichotels.dk/kundeservice/priser-og-bookingvilkar/vilkar-og-betingelser3",
de: "https://www.scandichotels.de/kundenbetreuung/preise-und-richtlinien/reservierungsbedingungen",
en: "https://www.scandichotels.com/customer-service/rates-and-policies/terms-conditions",
fi: "https://www.scandichotels.fi/asiakaspalvelu/hinnat-ja-varausehdot/varausehdot",
no: "https://www.scandichotels.no/kundeservice/priser-og-bestillingsvilkar/reservasjonsbetingelser",
sv: "https://www.scandichotels.se/kundservice/priser-och-bokningsregler/bokningsregler",
import { LangRoute } from "@/types/routes"
const baseUrl: LangRoute = {
da: "https://www.scandichotels.dk",
de: "https://www.scandichotels.de",
en: "https://www.scandichotels.com",
fi: "https://www.scandichotels.fi",
no: "https://www.scandichotels.no",
sv: "https://www.scandichotels.se",
}
export const privacyPolicy = {
da: "https://www.scandichotels.dk/kundeservice/priser-og-bookingvilkar/persondatapolitik",
de: "https://www.scandichotels.de/kundenbetreuung/preise-und-richtlinien/reservierungsbedingungen",
en: "https://www.scandichotels.com/customer-service/rates-and-policies/privacy-policy",
fi: "https://www.scandichotels.fi/asiakaspalvelu/hinnat-ja-varausehdot/tietosuojaseloste",
no: "https://www.scandichotels.no/kundeservice/priser-og-bestillingsvilkar/personvernpolicy",
sv: "https://www.scandichotels.se/kundservice/priser-och-bokningsregler/integritetspolicy",
export const bookingTermsAndConditions: LangRoute = {
da: `${baseUrl.da}/kundeservice/priser-og-bookingvilkar/vilkar-og-betingelser3`,
de: `${baseUrl.de}/kundenbetreuung/preise-und-richtlinien/reservierungsbedingungen`,
en: `${baseUrl.en}/customer-service/rates-and-policies/terms-conditions`,
fi: `${baseUrl.fi}/asiakaspalvelu/hinnat-ja-varausehdot/varausehdot`,
no: `${baseUrl.no}/kundeservice/priser-og-bestillingsvilkar/reservasjonsbetingelser`,
sv: `${baseUrl.sv}/kundservice/priser-och-bokningsregler/bokningsregler`,
}
export const privacyPolicy: LangRoute = {
da: `${baseUrl.da}/kundeservice/priser-og-bookingvilkar/persondatapolitik`,
de: `${baseUrl.de}/kundenbetreuung/preise-und-richtlinien/datenschutzrichtlinie`,
en: `${baseUrl.en}/customer-service/rates-and-policies/privacy-policy`,
fi: `${baseUrl.fi}/asiakaspalvelu/hinnat-ja-varausehdot/tietosuojaseloste`,
no: `${baseUrl.no}/kundeservice/priser-og-bestillingsvilkar/personvernpolicy`,
sv: `${baseUrl.sv}/kundservice/priser-och-bokningsregler/integritetspolicy`,
}

View File

@@ -17,17 +17,3 @@ export const signupVerify: LangRoute = {
da: `${signup.da}/bekraeft`,
de: `${signup.de}/verifizieren`,
}
/* No work has been scoped out to implement terms of privacy pages for new web yet,
* which is why these currently link to routes in current web.
* TODO: Align w. stakeholders, make tickets (and reference them here) to update these
* links when the time comes.
*/
export const signupTerms: LangRoute = {
en: "https://www.scandichotels.com/customer-service/rates-and-policies/privacy-policy",
sv: "https://www.scandichotels.se/kundservice/priser-och-bokningsregler/integritetspolicy",
no: "https://www.scandichotels.no/kundeservice/priser-og-bestillingsvilkar/personvernpolicy",
fi: "https://www.scandichotels.fi/asiakaspalvelu/hinnat-ja-varausehdot/tietosuojaseloste",
da: "https://www.scandichotels.dk/kundeservice/priser-og-bookingvilkar/persondatapolitik",
de: "https://www.scandichotels.de/kundenbetreuung/preise-und-richtlinien/datenschutzrichtlinie",
}