SW-1382 start page offers section * feat(SW-1382): Add InfoCard component to CardsGrid and StartPage * feat(SW-1382): Add dynamic image positioning for InfoCard in CardsGrid * refactor(SW-1382): Update InfoCard data transformation and prop naming * fix(SW-1382): Add flex display to InfoCard image container Approved-by: Christian Andolf Approved-by: Erik Tiekstra
74 lines
1.6 KiB
GraphQL
74 lines
1.6 KiB
GraphQL
#import "../System.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"
|
|
|
|
fragment InfoCardBlock on InfoCard {
|
|
scripted_top_title
|
|
heading
|
|
body_text
|
|
image
|
|
title
|
|
|
|
primary_button {
|
|
is_contentstack_link
|
|
cta_text
|
|
open_in_new_tab
|
|
external_link {
|
|
title
|
|
href
|
|
}
|
|
linkConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageLink
|
|
...CollectionPageLink
|
|
...ContentPageLink
|
|
...DestinationCityPageLink
|
|
...DestinationCountryPageLink
|
|
...DestinationOverviewPageLink
|
|
...HotelPageLink
|
|
...LoyaltyPageLink
|
|
...StartPageLink
|
|
}
|
|
}
|
|
}
|
|
}
|
|
secondary_button {
|
|
is_contentstack_link
|
|
cta_text
|
|
open_in_new_tab
|
|
external_link {
|
|
title
|
|
href
|
|
}
|
|
linkConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageLink
|
|
...CollectionPageLink
|
|
...ContentPageLink
|
|
...DestinationCityPageLink
|
|
...DestinationCountryPageLink
|
|
...DestinationOverviewPageLink
|
|
...HotelPageLink
|
|
...LoyaltyPageLink
|
|
...StartPageLink
|
|
}
|
|
}
|
|
}
|
|
}
|
|
system {
|
|
...System
|
|
}
|
|
}
|