Merged in chore/partner-sas-404-page (pull request #3339)

chore: Fix partner-sas 404 page

* Fix 404 page

* Fix 404 links

* Fix links


Approved-by: Matilda Landström
This commit is contained in:
Anton Gunnarsson
2025-12-17 13:03:33 +00:00
parent 79f1c516c0
commit eb3b18b35e
6 changed files with 183 additions and 20 deletions

View File

@@ -0,0 +1,61 @@
import type { Lang } from "@scandic-hotels/common/constants/language"
type Texts = {
title: string
goToStartPage: {
question: string
link: string
linkText: string
}
}
export const texts: Record<Lang, Texts> = {
en: {
title: "Sorry, page not found.",
goToStartPage: {
question: "Would you like to go back to the ",
link: "https://sas.scandichotels.com/en",
linkText: "startpage",
},
},
sv: {
title: "Oj då, vi kunde inte hitta sidan du söker.",
goToStartPage: {
question: "Vill du gå tillbaka till ",
link: "https://sas.scandichotels.com/sv",
linkText: "startsidan",
},
},
de: {
title: "Tut uns leid, Seite nicht gefunden.",
goToStartPage: {
question: "Möchten Sie zurück zur ",
link: "https://sas.scandichotels.com/de",
linkText: "Startseite",
},
},
fi: {
title: "Valitettavasti sivua ei löydy.",
goToStartPage: {
question: "Haluaisitko mennä takaisin ",
link: "https://sas.scandichotels.com/fi",
linkText: "etusivulle",
},
},
no: {
title: "Oi da, vi fant ikke siden du lette etter...",
goToStartPage: {
question: "Vil du gå tilbake til ",
link: "https://sas.scandichotels.com/no",
linkText: "startsiden",
},
},
da: {
title: "Hov - siden kan ikke findes!",
goToStartPage: {
question: "Vil du gå tilbage til ",
link: "https://sas.scandichotels.com/da",
linkText: "startsiden",
},
},
}