fix: add intents for buttons

This commit is contained in:
Christel Westerberg
2024-04-11 16:47:35 +02:00
parent 85b83bc58b
commit a99b2d3f08
17 changed files with 171 additions and 130 deletions

View File

@@ -1,45 +0,0 @@
fragment Breadcrumbs on MyPage {
breadcrumbs {
parents {
href
title
}
title
}
}
query GetBenefitsPage($locale: String!, $url: String!) {
all_my_page(where: { code_defined_route: $url, locale: $locale }) {
items {
blocks {
... on MyPageBlocksShortcuts {
__typename
shortcuts {
external_link {
href
title
}
}
}
... on MyPageBlocksNextLevelBlock {
__typename
next_level_block {
subtitle
title
}
}
... on MyPageBlocksPersonalBenefitsBlock {
__typename
personal_benefits_block {
is_visible
}
}
}
...Breadcrumbs
preamble
title
url
}
total
}
}

View File

@@ -3,9 +3,9 @@
#import "../Fragments/Blocks/List.graphql"
#import "../Fragments/Blocks/Puff.graphql"
#import "../Fragments/Blocks/Text.graphql"
#import "../Fragments/CurrentBlocksPage/Breadcrumbs.graphql"
#import "../Fragments/Breadcrumbs.graphql"
#import "../Fragments/Hero.graphql"
#import "../Fragments/CurrentBlocksPage/Preamble.graphql"
#import "../Fragments/Preamble.graphql"
query GetCurrentBlockPage($locale: String!, $url: String!) {
all_current_blocks_page(limit: 1, locale: $locale, where: { url: $url }) {