Merged in feature/tier-matching-component (pull request #1175)
SAS Tier matching comparison block (SW-921) Approved-by: Joakim Jäderberg Approved-by: Matilda Landström
This commit is contained in:
45
lib/graphql/Fragments/Blocks/SasTierComparison.graphql
Normal file
45
lib/graphql/Fragments/Blocks/SasTierComparison.graphql
Normal file
@@ -0,0 +1,45 @@
|
||||
fragment SasTierComparison_ContentPage on ContentPageBlocksSasTierComparison {
|
||||
__typename
|
||||
sas_tier_comparison {
|
||||
comparisonConnection {
|
||||
totalCount
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
... on SasTierComparison {
|
||||
title
|
||||
preamble
|
||||
scandic_friends {
|
||||
title
|
||||
label
|
||||
tiers {
|
||||
tier_code
|
||||
tier_label
|
||||
}
|
||||
read_more_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
sas_eb {
|
||||
title
|
||||
label
|
||||
tiers {
|
||||
tier_code
|
||||
tier_label
|
||||
}
|
||||
read_more_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
cta {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,6 +9,7 @@
|
||||
#import "../../Fragments/Blocks/Table.graphql"
|
||||
#import "../../Fragments/Blocks/TextCols.graphql"
|
||||
#import "../../Fragments/Blocks/UspGrid.graphql"
|
||||
#import "../../Fragments/Blocks/SasTierComparison.graphql"
|
||||
#import "../../Fragments/ContentPage/NavigationLinks.graphql"
|
||||
|
||||
#import "../../Fragments/Sidebar/Content.graphql"
|
||||
@@ -75,6 +76,15 @@ query GetContentPageBlocksBatch2($locale: String!, $uid: String!) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetContentPageBlocksBatch3($locale: String!, $uid: String!) {
|
||||
content_page(uid: $uid, locale: $locale) {
|
||||
blocks {
|
||||
__typename
|
||||
...SasTierComparison_ContentPage
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetContentPageRefs($locale: String!, $uid: String!) {
|
||||
content_page(locale: $locale, uid: $uid) {
|
||||
header {
|
||||
|
||||
Reference in New Issue
Block a user