feat: add card grid component
This commit is contained in:
17
lib/graphql/Query/ContentTypeUid.graphql
Normal file
17
lib/graphql/Query/ContentTypeUid.graphql
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user