Files
web/apps/scandic-web/components/ChatbotScript/constants.ts
Erik Tiekstra 800df0ade9 feat(BOOK-67): Added functionality to show/hide the chatbot
Approved-by: Linus Flood
2025-10-16 10:59:47 +00:00

19 lines
438 B
TypeScript

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