feat(SW-219): add support for content card in cards grid in content pages
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import { env } from "@/env/server"
|
||||
import { serverClient } from "@/lib/trpc/server"
|
||||
|
||||
import ContentCard from "@/components/TempDesignSystem/ContentCard"
|
||||
|
||||
import { MOCK_FACILITIES } from "./Facilities/mockData"
|
||||
import { setActivityCard } from "./Facilities/utils"
|
||||
import DynamicMap from "./Map/DynamicMap"
|
||||
@@ -67,35 +65,6 @@ export default async function HotelPage() {
|
||||
</div>
|
||||
<Rooms rooms={roomCategories} />
|
||||
<Facilities facilities={facilities} />
|
||||
{/* NOTE: These are added here for testing. Remove before PR */}
|
||||
{/* Example of ContentCard with Button CTA's */}
|
||||
<ContentCard
|
||||
title="Special Offer"
|
||||
description="Mattis sit duis pulvinar ultricies auctor euismod. Augue mattis mauris at est iaculis pulvinar pulvinar."
|
||||
alwaysStack={true}
|
||||
primaryCTA={{
|
||||
label: "Book Now",
|
||||
href: "/booking",
|
||||
}}
|
||||
secondaryCTA={{
|
||||
label: "Learn More",
|
||||
href: "/offers",
|
||||
openInNewTab: true,
|
||||
}}
|
||||
backgroundImage="https://www.scandichotels.com/imageVault/publishedmedia/sixadhu91jy67aal2pla/Scandic_Downtown_Camper_cocktail_lounge_bar_the_ne.jpg"
|
||||
/>
|
||||
|
||||
{/* Example of ContentCard with SidePeek */}
|
||||
<ContentCard
|
||||
title="Explore Facilities"
|
||||
description="Mattis sit duis pulvinar ultricies auctor euismod. Augue mattis mauris at est iaculis pulvinar pulvinar."
|
||||
sidePeekCTA={{
|
||||
label: "View Facilities",
|
||||
onClick: true,
|
||||
}}
|
||||
style="default"
|
||||
backgroundImage="https://www.scandichotels.com/imageVault/publishedmedia/sixadhu91jy67aal2pla/Scandic_Downtown_Camper_cocktail_lounge_bar_the_ne.jpg"
|
||||
/>
|
||||
</main>
|
||||
{googleMapsApiKey ? (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user