Feat/BOOK-240 hero video
Approved-by: Chuma Mcphoy (We Ahead) Approved-by: Christel Westerberg
This commit is contained in:
@@ -60,11 +60,15 @@ import {
|
||||
TeaserCardSidebar_ContentPageRefs,
|
||||
} from "../../Fragments/Sidebar/TeaserCard.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
import { Video, VideoRef } from "../../Fragments/Video.graphql"
|
||||
|
||||
export const GetContentPage = gql`
|
||||
query GetContentPage($locale: String!, $uid: String!) {
|
||||
content_page(uid: $uid, locale: $locale) {
|
||||
hero_image
|
||||
hero_video {
|
||||
...Video
|
||||
}
|
||||
title
|
||||
header {
|
||||
heading
|
||||
@@ -110,6 +114,7 @@ export const GetContentPage = gql`
|
||||
${ScriptedCardSidebar_ContentPage}
|
||||
${TeaserCardSidebar_ContentPage}
|
||||
${QuickLinksSidebar_ContentPage}
|
||||
${Video}
|
||||
`
|
||||
|
||||
export const GetContentPageBlocksBatch1 = gql`
|
||||
@@ -153,6 +158,9 @@ export const GetContentPageBlocksBatch2 = gql`
|
||||
export const GetContentPageRefs = gql`
|
||||
query GetContentPageRefs($locale: String!, $uid: String!) {
|
||||
content_page(locale: $locale, uid: $uid) {
|
||||
hero_video {
|
||||
...VideoRef
|
||||
}
|
||||
header {
|
||||
dynamic_content {
|
||||
component
|
||||
@@ -181,6 +189,7 @@ export const GetContentPageRefs = gql`
|
||||
${ScriptedCardSidebar_ContentPageRefs}
|
||||
${TeaserCardSidebar_ContentPageRefs}
|
||||
${QuickLinksSidebar_ContentPageRefs}
|
||||
${VideoRef}
|
||||
`
|
||||
|
||||
export const GetContentPageBlocksRefs = gql`
|
||||
|
||||
Reference in New Issue
Block a user