feat(SW-1384): Implement filtering for CarouselCards component * feat(SW-1384): Implement filtering for CarouselCards component * fix(SW-1384): Simplify CarouselCards filters scrolling styles * refactor(SW-1384): Simplify CarouselCards filtering logic Approved-by: Christian Andolf
96 lines
2.3 KiB
GraphQL
96 lines
2.3 KiB
GraphQL
#import "../System.graphql"
|
|
#import "./ContentCard.graphql"
|
|
#import "../PageLink/AccountPageLink.graphql"
|
|
#import "../PageLink/CollectionPageLink.graphql"
|
|
#import "../PageLink/ContentPageLink.graphql"
|
|
#import "../PageLink/DestinationCityPageLink.graphql"
|
|
#import "../PageLink/DestinationCountryPageLink.graphql"
|
|
#import "../PageLink/DestinationOverviewPageLink.graphql"
|
|
#import "../PageLink/HotelPageLink.graphql"
|
|
#import "../PageLink/LoyaltyPageLink.graphql"
|
|
#import "../PageLink/StartPageLink.graphql"
|
|
|
|
#import "../AccountPage/Ref.graphql"
|
|
#import "../ContentPage/Ref.graphql"
|
|
#import "../HotelPage/Ref.graphql"
|
|
#import "../LoyaltyPage/Ref.graphql"
|
|
#import "../CollectionPage/Ref.graphql"
|
|
#import "../DestinationCityPage/Ref.graphql"
|
|
#import "../DestinationCountryPage/Ref.graphql"
|
|
#import "../DestinationOverviewPage/Ref.graphql"
|
|
|
|
fragment CarouselCards_StartPage on StartPageBlocksCarouselCards {
|
|
carousel_cards {
|
|
heading
|
|
enable_filters
|
|
card_groups {
|
|
filter_category {
|
|
filter_identifier
|
|
filter_label
|
|
}
|
|
cardConnection {
|
|
edges {
|
|
node {
|
|
...ContentCardBlock
|
|
}
|
|
}
|
|
}
|
|
}
|
|
link {
|
|
cta_text
|
|
is_contentstack_link
|
|
open_in_new_tab
|
|
external_link {
|
|
href
|
|
title
|
|
}
|
|
linkConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageLink
|
|
...CollectionPageLink
|
|
...ContentPageLink
|
|
...DestinationCityPageLink
|
|
...DestinationCountryPageLink
|
|
...DestinationOverviewPageLink
|
|
...HotelPageLink
|
|
...LoyaltyPageLink
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment CarouselCards_StartPageRefs on StartPageBlocksCarouselCards {
|
|
carousel_cards {
|
|
card_groups {
|
|
cardConnection {
|
|
edges {
|
|
node {
|
|
...ContentCardBlockRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
link {
|
|
linkConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageRef
|
|
...CollectionPageRef
|
|
...ContentPageRef
|
|
...DestinationCityPageRef
|
|
...DestinationCountryPageRef
|
|
...DestinationOverviewPageRef
|
|
...HotelPageRef
|
|
...LoyaltyPageRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|