Merged in feat/SW-1443-card-gallery-destination-overview (pull request #1362)
feat(SW-1443): added cardGallery block to destination overview page instead of carousel functionality * feat(SW-1443): added cardGallery block to destination overview page instead of carousel functionality Approved-by: Fredrik Thorsson
This commit is contained in:
@@ -1,17 +1,18 @@
|
||||
export namespace BlocksEnums {
|
||||
export const enum block {
|
||||
Accordion = "Accordion",
|
||||
CardGallery = "CardGallery",
|
||||
CardsGrid = "CardsGrid",
|
||||
CarouselCards = "CarouselCards",
|
||||
Content = "Content",
|
||||
DynamicContent = "DynamicContent",
|
||||
FullWidthCampaign = "FullWidthCampaign",
|
||||
HotelListing = "HotelListing",
|
||||
JoinScandicFriends = "JoinScandicFriends",
|
||||
Shortcuts = "Shortcuts",
|
||||
Table = "Table",
|
||||
TextCols = "TextCols",
|
||||
TextContent = "TextContent",
|
||||
UspGrid = "UspGrid",
|
||||
HotelListing = "HotelListing",
|
||||
FullWidthCampaign = "FullWidthCampaign",
|
||||
CarouselCards = "CarouselCards",
|
||||
JoinScandicFriends = "JoinScandicFriends",
|
||||
}
|
||||
}
|
||||
|
||||
10
types/enums/cardGallery.ts
Normal file
10
types/enums/cardGallery.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export const CardGalleryFilterEnum = {
|
||||
offers: "offers",
|
||||
popular_destinations: "popular_destinations",
|
||||
popular_hotels: "popular_hotels",
|
||||
popular_cities: "popular_cities",
|
||||
spa_wellness: "spa_wellness",
|
||||
} as const
|
||||
|
||||
export type CardGalleryFilter =
|
||||
(typeof CardGalleryFilterEnum)[keyof typeof CardGalleryFilterEnum]
|
||||
@@ -1,7 +1,7 @@
|
||||
export namespace DestinationOverviewPageEnum {
|
||||
export namespace ContentStack {
|
||||
export const enum blocks {
|
||||
CarouselCards = "DestinationOverviewPageBlocksCarouselCards",
|
||||
CardGallery = "DestinationOverviewPageBlocksCardGallery",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user