Merged in fix/move-sas-comparison-to-dynamic-content (pull request #1279)

Move SASTierComparison block to DynamicContent

Approved-by: Erik Tiekstra
This commit is contained in:
Anton Gunnarsson
2025-02-11 09:36:41 +00:00
parent 1d4993fb7f
commit 6eb01750e8
20 changed files with 211 additions and 147 deletions

View File

@@ -1,35 +0,0 @@
fragment SasTierComparison_ContentPage on ContentPageBlocksSasTierComparison {
__typename
sas_tier_comparison {
comparisonConnection {
totalCount
edges {
node {
__typename
... on SasTierComparison {
title
preamble
scandic_column_title
sas_column_title
tier_matches {
title
scandic_friends_tier_name
sas_eb_tier_name
content {
json
}
link {
href
title
}
}
cta {
title
href
}
}
}
}
}
}
}

View File

@@ -9,7 +9,6 @@
#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"
@@ -76,15 +75,6 @@ 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 {

View File

@@ -0,0 +1,24 @@
query GetAllSasTierComparison($lang: String!) {
all_sas_tier_comparison(locale: $lang) {
items {
scandic_column_title
sas_column_title
tier_matches {
title
scandic_friends_tier_name
sas_eb_tier_name
content {
json
}
link {
href
title
}
}
cta {
title
href
}
}
}
}