feat(SW-1391): add join scandic friends block
This commit is contained in:
77
lib/graphql/Fragments/Blocks/JoinScandicFriends.graphql
Normal file
77
lib/graphql/Fragments/Blocks/JoinScandicFriends.graphql
Normal file
@@ -0,0 +1,77 @@
|
||||
#import "../PageLink/AccountPageLink.graphql"
|
||||
#import "../PageLink/ContentPageLink.graphql"
|
||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||
#import "../PageLink/HotelPageLink.graphql"
|
||||
#import "../PageLink/CollectionPageLink.graphql"
|
||||
#import "../PageLink/DestinationCityPageLink.graphql"
|
||||
#import "../PageLink/DestinationCountryPageLink.graphql"
|
||||
#import "../PageLink/DestinationOverviewPageLink.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 JoinScandicFriends_StartPage on StartPageBlocksJoinScandicFriends {
|
||||
__typename
|
||||
join_scandic_friends {
|
||||
show_header
|
||||
scripted_top_title
|
||||
title
|
||||
preamble
|
||||
image
|
||||
show_usp
|
||||
usp
|
||||
has_primary_button
|
||||
primary_button {
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
is_contentstack_link
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...ContentPageLink
|
||||
...LoyaltyPageLink
|
||||
...HotelPageLink
|
||||
...CollectionPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment JoinScandicFriends_StartPageRefs on StartPageBlocksJoinScandicFriends {
|
||||
join_scandic_friends {
|
||||
primary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...ContentPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...CollectionPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
#import "../../Fragments/Blocks/CardsGrid.graphql"
|
||||
#import "../../Fragments/Blocks/FullWidthCampaign.graphql"
|
||||
#import "../../Fragments/Blocks/CarouselCards.graphql"
|
||||
#import "../../Fragments/Blocks/JoinScandicFriends.graphql"
|
||||
|
||||
query GetStartPage($locale: String!, $uid: String!) {
|
||||
start_page(locale: $locale, uid: $uid) {
|
||||
@@ -27,6 +28,7 @@ query GetStartPage($locale: String!, $uid: String!) {
|
||||
}
|
||||
}
|
||||
}
|
||||
...JoinScandicFriends_StartPage
|
||||
}
|
||||
system {
|
||||
...System
|
||||
@@ -56,6 +58,7 @@ query GetStartPageRefs($locale: String!, $uid: String!) {
|
||||
}
|
||||
}
|
||||
}
|
||||
...JoinScandicFriends_StartPageRefs
|
||||
}
|
||||
system {
|
||||
...System
|
||||
|
||||
Reference in New Issue
Block a user