Polish public error and 404 screens with brand atmosphere.
Local Build and Deploy / deploy (push) Successful in 1m31s

Shared ErrorScreen composition, i18n for en/nl/it, Sentry on route errors, and a self-contained global-error fallback that matches the hotel gold theme.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
SimoandCursor committed 2026-07-18 20:00:04 +02:00
1 parent b22725d3a9
commit 1f552c2822
8 files changed
+348 -80

No files matched your search

+17
View File
@@ -40,6 +40,23 @@
"darkMode": "Dark mode"
},
"pages": {
"error": {
"code": "Error",
"title": "Something went wrong",
"subtitle": "The hotel hit an unexpected snag.",
"body": "Try again in a moment. If it keeps happening, contact staff with the reference below.",
"tryAgain": "Try again",
"backHome": "Back home",
"reference": "Reference: {digest}"
},
"notFound": {
"code": "404",
"title": "Page not found",
"subtitle": "This room doesn’t exist — or the furniture was moved.",
"body": "Check the link, or head back to the lobby.",
"backHome": "Back home",
"latestNews": "Latest news"
},
"staff": {
"title": "Staff",
"subtitle": "The team behind the hotel",
+17
View File
@@ -40,6 +40,23 @@
"darkMode": "Tema scuro"
},
"pages": {
"error": {
"code": "Errore",
"title": "Qualcosa è andato storto",
"subtitle": "L'hotel ha incontrato un imprevisto.",
"body": "Riprova tra poco. Se continua, contatta lo staff indicando il riferimento qui sotto.",
"tryAgain": "Riprova",
"backHome": "Torna alla home",
"reference": "Riferimento: {digest}"
},
"notFound": {
"code": "404",
"title": "Pagina non trovata",
"subtitle": "Questa stanza non esiste — o i mobili sono stati spostati.",
"body": "Controlla il link, oppure torna alla lobby.",
"backHome": "Torna alla home",
"latestNews": "Ultime notizie"
},
"staff": {
"title": "Staff",
"subtitle": "Il team dietro l'hotel",
+17
View File
@@ -40,6 +40,23 @@
"darkMode": "Donkere modus"
},
"pages": {
"error": {
"code": "Fout",
"title": "Er ging iets mis",
"subtitle": "Het hotel liep tegen een onverwachte snag aan.",
"body": "Probeer het zo opnieuw. Blijft het probleem? Neem contact op met de staff en noem de referentie hieronder.",
"tryAgain": "Opnieuw proberen",
"backHome": "Terug naar home",
"reference": "Referentie: {digest}"
},
"notFound": {
"code": "404",
"title": "Pagina niet gevonden",
"subtitle": "Deze kamer bestaat niet — of de meubels zijn verplaatst.",
"body": "Controleer de link, of ga terug naar de lobby.",
"backHome": "Terug naar home",
"latestNews": "Laatste nieuws"
},
"staff": {
"title": "Team",
"subtitle": "Het team achter het hotel",