fix: add benefits block

This commit is contained in:
Christel Westerberg
2024-04-10 10:10:19 +02:00
parent 8ca4767806
commit c398309cdd
10 changed files with 183 additions and 32 deletions

View File

@@ -1,20 +1,3 @@
#import "../Fragments/Image.graphql"
fragment Preamble on MyPage {
preamble {
text {
json
embedded_itemsConnection(limit: 30) {
edges {
node {
__typename
...Image
}
}
}
}
}
}
fragment Breadcrumbs on MyPage {
breadcrumbs {
parents {
@@ -53,7 +36,7 @@ query GetBenefitsPage($locale: String!, $url: String!) {
}
}
...Breadcrumbs
...Preamble
preamble
title
url
}