feat: sw-929 show booking widget on hotelreservation path and separate env for sitewide alerts

This commit is contained in:
Linus Flood
2024-11-20 12:40:23 +01:00
parent 1330c8b537
commit ea325796e3
10 changed files with 72 additions and 7 deletions

View File

@@ -8,7 +8,7 @@ import { setLang } from "@/i18n/serverContext"
import type { LangParams, PageArgs } from "@/types/params"
export default function SitewideAlertPage({ params }: PageArgs<LangParams>) {
if (env.HIDE_FOR_NEXT_RELEASE) {
if (env.HIDE_SITE_WIDE_ALERT) {
return null
}