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:
Anton Gunnarsson
2025-01-22 08:15:31 +00:00
parent dc115ca368
commit eacca33847
13 changed files with 416 additions and 1 deletions

View 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
}
}
}
}
}
}
}

View File

@@ -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 {