@@ -54,7 +54,9 @@ const standardCards = standards.map((card, index) => {
54
54
55
55
switch ( index + 1 ) {
56
56
case 2 :
57
- return enhanceCardFields ( { supportingContent : getSublinks ( 2 ) } ) ;
57
+ return enhanceCardFields ( {
58
+ supportingContent : getSublinks ( 2 ) ,
59
+ } ) ;
58
60
case 3 :
59
61
return enhanceCardFields ( {
60
62
boostLevel : 'boost' ,
@@ -437,13 +439,13 @@ const slideshowCard = {
437
439
] ,
438
440
} satisfies DCRFrontCard ;
439
441
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' ,
442
445
args : {
443
- frontSectionTitle : 'Standard splash with live updates and slideshow' ,
446
+ frontSectionTitle : 'Splash with live updates and slideshow' ,
444
447
groupedTrails : {
445
448
...emptyGroupedTrails ,
446
-
447
449
splash : [ { ...slideshowCard } ] ,
448
450
} ,
449
451
} ,
@@ -460,6 +462,21 @@ export const StandardCards: Story = {
460
462
} ,
461
463
} ;
462
464
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
+
463
480
export const OpinionStandardCards : Story = {
464
481
name : 'Opinion standard cards' ,
465
482
args : {
0 commit comments