feat: add shortcuts component to loyaltypage

This commit is contained in:
Christel Westerberg
2024-05-06 11:11:02 +02:00
parent bfaacd7b5d
commit 2a46fe6572
6 changed files with 111 additions and 6 deletions

View File

@@ -8,6 +8,27 @@ query GetLoyaltyPage($locale: String!, $url: String!) {
items {
blocks {
__typename
... on LoyaltyPageBlocksShortcuts {
shortcuts {
title
preamble
shortcuts {
text
open_in_new_tab
linkConnection {
edges {
node {
__typename
...AccountPageLink
...LoyaltyPageLink
...ContentPageLink
}
}
totalCount
}
}
}
}
... on LoyaltyPageBlocksDynamicContent {
dynamic_content {
title
@@ -58,6 +79,8 @@ query GetLoyaltyPage($locale: String!, $url: String!) {
node {
__typename
...Image
...LoyaltyPageLink
...ContentPageLink
}
}
totalCount
@@ -93,6 +116,8 @@ query GetLoyaltyPage($locale: String!, $url: String!) {
node {
__typename
...Image
...LoyaltyPageLink
...ContentPageLink
}
}
totalCount