@@ -54,7 +54,9 @@ const standardCards = standards.map((card, index) => {
5454
5555 switch ( index + 1 ) {
5656 case 2 :
57- return enhanceCardFields ( { supportingContent : getSublinks ( 2 ) } ) ;
57+ return enhanceCardFields ( {
58+ supportingContent : getSublinks ( 2 ) ,
59+ } ) ;
5860 case 3 :
5961 return enhanceCardFields ( {
6062 boostLevel : 'boost' ,
@@ -437,13 +439,13 @@ const slideshowCard = {
437439 ] ,
438440} satisfies DCRFrontCard ;
439441
440- export const DefaultSplashWithLiveUpdatesAndSlideshow : Story = {
441- name : 'Standard splash with live updates and slideshow' ,
442+ // Boost level is ignored for slideshows
443+ export const SplashWithLiveUpdatesAndSlideshow : Story = {
444+ name : 'Splash with live updates and slideshow' ,
442445 args : {
443- frontSectionTitle : 'Standard splash with live updates and slideshow' ,
446+ frontSectionTitle : 'Splash with live updates and slideshow' ,
444447 groupedTrails : {
445448 ...emptyGroupedTrails ,
446-
447449 splash : [ { ...slideshowCard } ] ,
448450 } ,
449451 } ,
@@ -460,6 +462,21 @@ export const StandardCards: Story = {
460462 } ,
461463} ;
462464
465+ export const StandardBoostedMediaCardWithSublinks : Story = {
466+ name : 'Standard boosted media card with sublinks' ,
467+ args : {
468+ frontSectionTitle : 'Standard boosted media card with sublinks' ,
469+ groupedTrails : {
470+ ...emptyGroupedTrails ,
471+ standard : [ trails [ 1 ] ] . map ( ( card ) => ( {
472+ ...card ,
473+ boostLevel : 'boost' ,
474+ supportingContent : getSublinks ( 2 ) ,
475+ } ) ) ,
476+ } ,
477+ } ,
478+ } ;
479+
463480export const OpinionStandardCards : Story = {
464481 name : 'Opinion standard cards' ,
465482 args : {
0 commit comments