Skip to content

Commit

Permalink
force ArticleDesign.Crossword for now
Browse files Browse the repository at this point in the history
  • Loading branch information
sndrs committed Dec 12, 2024
1 parent 6c31bee commit ae07561
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions dotcom-rendering/src/types/article.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { isUndefined } from '@guardian/libs';
import { type ArticleFormat, decideFormat } from '../lib/articleFormat';
import {
ArticleDesign,
type ArticleFormat,
decideFormat,
} from '../lib/articleFormat';
import type { ImageForAppsLightbox } from '../model/appsLightboxImages';
import { appsLightboxImages } from '../model/appsLightboxImages';
import { buildLightboxImages } from '../model/buildLightboxImages';
Expand Down Expand Up @@ -43,7 +47,13 @@ export const enhanceCrosswordArticle = (article: Article): Article => {

return {
...article,
format: { ...article.format },
format: {
...article.format,

// THIS IS TEMPORARY WAY TO WORK ON THE LAYOUT
design: ArticleDesign.Crossword, // DO NOT MERGE THIS INTO MAIN!!!
// OK?
},
frontendData: {
...article.frontendData,
blocks: [
Expand Down

0 comments on commit ae07561

Please sign in to comment.