Skip to content

Commit

Permalink
add crossword design
Browse files Browse the repository at this point in the history
  • Loading branch information
SiAdcock committed Jan 7, 2025
1 parent 91e0c5a commit 7559d9f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dotcom-rendering/src/lib/articleFormat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export enum ArticleDesign {
Gallery,
Audio,
Video,
Crossword,
Review,
Analysis,
Explainer,
Expand Down Expand Up @@ -230,6 +231,8 @@ const designToFEDesign = (design: ArticleDesign): FEDesign => {
return 'AudioDesign';
case ArticleDesign.Video:
return 'VideoDesign';
case ArticleDesign.Crossword:
return 'CrosswordDesign';
case ArticleDesign.Review:
return 'ReviewDesign';
case ArticleDesign.Analysis:
Expand Down
1 change: 1 addition & 0 deletions dotcom-rendering/src/model/article-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4217,6 +4217,7 @@
"ArticleDesign",
"AudioDesign",
"CommentDesign",
"CrosswordDesign",
"DeadBlogDesign",
"EditorialDesign",
"ExplainerDesign",
Expand Down
1 change: 1 addition & 0 deletions dotcom-rendering/src/model/front-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3050,6 +3050,7 @@
"ArticleDesign",
"AudioDesign",
"CommentDesign",
"CrosswordDesign",
"DeadBlogDesign",
"EditorialDesign",
"ExplainerDesign",
Expand Down
1 change: 1 addition & 0 deletions dotcom-rendering/src/model/tag-page-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1283,6 +1283,7 @@
"ArticleDesign",
"AudioDesign",
"CommentDesign",
"CrosswordDesign",
"DeadBlogDesign",
"EditorialDesign",
"ExplainerDesign",
Expand Down
1 change: 1 addition & 0 deletions dotcom-rendering/src/types/frontend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ export type FEDesign =
| 'GalleryDesign'
| 'AudioDesign'
| 'VideoDesign'
| 'CrosswordDesign'
| 'ReviewDesign'
| 'AnalysisDesign'
| 'CommentDesign'
Expand Down

0 comments on commit 7559d9f

Please sign in to comment.