feat: add card grid component

This commit is contained in:
Christel Westerberg
2024-04-26 08:19:19 +02:00
parent 2ddabf1e50
commit 00f30811cf
33 changed files with 575 additions and 121 deletions

View File

@@ -0,0 +1,17 @@
query GetContentTypeUid($locale: String!, $url: String!) {
all_content_page(where: { url: $url, locale: $locale }) {
items {
__typename
}
}
all_current_blocks_page(where: { url: $url, locale: $locale }) {
items {
__typename
}
}
all_loyalty_page(where: { url: $url, locale: $locale }) {
items {
__typename
}
}
}

View File

@@ -11,7 +11,7 @@ query GetLoyaltyPage($locale: String!, $url: String!) {
__typename
dynamic_content {
title
preamble
subtitle
component
link {
text
@@ -29,8 +29,8 @@ query GetLoyaltyPage($locale: String!, $url: String!) {
... on LoyaltyPageBlocksCardGrid {
__typename
card_grid {
heading
preamble
title
subtitle
cards {
referenceConnection {
edges {
@@ -42,8 +42,8 @@ query GetLoyaltyPage($locale: String!, $url: String!) {
}
}
}
heading
preamble
title
subtitle
}
}
}