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

@@ -57,9 +57,9 @@ export default async function RootLayout({
<body>
<ServerIntlProvider intl={{ defaultLocale, locale, messages }}>
<TrpcProvider>
{!env.HIDE_FOR_NEXT_RELEASE && <>{sitewidealert}</>}
{sitewidealert}
{header}
{!env.HIDE_FOR_NEXT_RELEASE && <>{bookingwidget}</>}
{bookingwidget}
{children}
{footer}
<ToastHandler />