feat(SW-190): added hero to static content pages
This commit is contained in:
19
lib/graphql/Query/ContentPage.graphql
Normal file
19
lib/graphql/Query/ContentPage.graphql
Normal file
@@ -0,0 +1,19 @@
|
||||
#import "../Fragments/ContentPage/Breadcrumbs.graphql"
|
||||
|
||||
query GetContentPage($locale: String!, $uid: String!) {
|
||||
content_page(uid: $uid, locale: $locale) {
|
||||
title
|
||||
header {
|
||||
heading
|
||||
preamble
|
||||
}
|
||||
hero_image
|
||||
...ContentPageBreadcrumbs
|
||||
system {
|
||||
uid
|
||||
created_at
|
||||
updated_at
|
||||
locale
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -107,9 +107,8 @@ query GetLoyaltyPage($locale: String!, $uid: String!) {
|
||||
}
|
||||
title
|
||||
heading
|
||||
header {
|
||||
hero_image
|
||||
}
|
||||
preamble
|
||||
hero_image
|
||||
sidebar {
|
||||
__typename
|
||||
... on LoyaltyPageSidebarDynamicContent {
|
||||
|
||||
Reference in New Issue
Block a user