feat(BOOK-436): Added manage cookie bot dynamic content to content pages
Approved-by: Linus Flood
This commit is contained in:
@@ -2,6 +2,7 @@ import { JsonToHtml } from "@scandic-hotels/design-system/JsonToHtml"
|
||||
import { DynamicContentEnum } from "@scandic-hotels/trpc/types/dynamicContent"
|
||||
import { SidebarEnums } from "@scandic-hotels/trpc/types/sidebar"
|
||||
|
||||
import { CookieConsentButton } from "@/components/Blocks/DynamicContent/ManageCookieConsent/CookieConsentButton"
|
||||
import EmployeeBenefitsAuthCard from "@/components/DigitalTeamMemberCard/EmployeeBenefits/AuthCard"
|
||||
|
||||
import ShortcutsList from "../Blocks/ShortcutsList"
|
||||
@@ -33,6 +34,8 @@ export default function Sidebar({ blocks }: SidebarProps) {
|
||||
return (
|
||||
<EmployeeBenefitsAuthCard key={`${block.typename}-${idx}`} />
|
||||
)
|
||||
case DynamicContentEnum.Sidebar.components.cookie_consent_button:
|
||||
return <CookieConsentButton key={`${block.typename}-${idx}`} />
|
||||
default:
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user