Skip to content

Commit

Permalink
[C] reference modal blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgoff authored and blnkt committed Nov 8, 2023
1 parent dd78624 commit dc21730
Show file tree
Hide file tree
Showing 5 changed files with 1,744 additions and 1,126 deletions.
48 changes: 46 additions & 2 deletions components/templates/ReferenceContentPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,52 @@ const Fragment = graphql(`
__typename
title
id
contentBlocks {
...ContentBlockFactory
contentBlocks: referenceContentBlocks {
__typename
... on referenceContentBlocks_text_BlockType {
id
text
}
... on referenceContentBlocks_image_BlockType {
id
caption
layout
image {
url {
directUrlPreview
directUrlOriginal
PNG
HighJPG
LowJPG
preview
}
width
height
metadata: additional {
AltTextEN
AltTextES
CaptionEN
CaptionES
Credit
}
}
}
... on referenceContentBlocks_table_BlockType {
id
caption
contentHeading
displayTable {
... on displayTable_BlockType {
tableRow {
... on tableRow_tableCell_BlockType {
id
cellContent
rowHeader
}
}
}
}
}
}
}
`);
Expand Down
Loading

0 comments on commit dc21730

Please sign in to comment.