feat(SW-2270): Added hotel listing block to campaign overview page

Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-06-30 09:29:20 +00:00
parent 4229e9b11b
commit 0393f7b7b9
10 changed files with 89 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ import CampaignHotelListingClient from "./Client"
interface CampaignHotelListingProps {
heading: string
preamble?: string | null
hotelIds: string[]
visibleCountMobile?: 3 | 6
visibleCountDesktop?: 3 | 6
@@ -11,6 +12,7 @@ interface CampaignHotelListingProps {
export default async function CampaignHotelListing({
heading,
preamble,
hotelIds,
visibleCountMobile,
visibleCountDesktop,
@@ -24,6 +26,7 @@ export default async function CampaignHotelListing({
return (
<CampaignHotelListingClient
heading={heading}
preamble={preamble}
hotels={hotels}
visibleCountMobile={visibleCountMobile}
visibleCountDesktop={visibleCountDesktop}