feat(BOOK-67): Added functionality to show/hide the chatbot

Approved-by: Linus Flood
This commit is contained in:
Erik Tiekstra
2025-10-16 10:59:47 +00:00
parent 69a1b5f213
commit 800df0ade9
13 changed files with 147 additions and 72 deletions
@@ -1 +1,18 @@
export const CHATBOT_HIDE_ROUTES = ["/hotelreservation"]
import { Lang } from "@scandic-hotels/common/constants/language"
export const CHATBOT_SHOW_ROUTES = {
[Lang.en]: [
"/customer-service", // Customer service pages
"/scandic-friends", // My pages
"/hotels", // Hotel pages
],
[Lang.sv]: [],
[Lang.no]: [],
[Lang.fi]: [],
[Lang.da]: [],
[Lang.de]: [],
} as const
export const CHATBOT_HIDE_CONDITIONS = {
searchParams: [{ key: "view", value: "map" }],
} as const