add featured block

This commit is contained in:
2024-05-23 00:42:08 +02:00
parent a1dddb64b1
commit c3021e0b8b
10 changed files with 184 additions and 65 deletions

View File

@ -29,6 +29,30 @@ const BlockFragmentDefinition = graphql(`
... on HorizontalRuleBlock {
color
}
... on FeaturedBlock {
title
featuredBlockText: text
linkText
imagePosition
featuredPage {
contentType
pageType
url
... on EventPage {
featuredImage {
...Image
}
}
... on NewsPage {
featuredImage {
...Image
}
}
}
featuredImageOverride {
...Image
}
}
}
`);