simplify fact box types

This commit is contained in:
2024-07-15 20:56:16 +02:00
parent ea5ea5cf1c
commit a73a0799fc
11 changed files with 203 additions and 172 deletions
+4 -7
View File
@@ -141,6 +141,10 @@ const OneLevelOfBlocksFragmentDefinition = graphql(`
embed
rawEmbed
}
... on FactBoxBlock {
backgroundColor
factBoxBody: body
}
}
`);
@@ -152,13 +156,6 @@ const BlockFragmentDefinition = graphql(`
...OneLevelOfBlocks
}
}
... on FactBoxBlock {
heading
backgroundColor
body {
...OneLevelOfBlocks
}
}
... on PageSectionBlock {
title
backgroundColor