hides community rows from homepage

This commit is contained in:
tomlum 2023-03-17 13:17:19 -04:00
parent 8a05a73edc
commit 4cc420632c

View file

@ -302,26 +302,27 @@ class SplashPresentation extends React.Component { // eslint-disable-line react/
); );
} }
rows.push( // Temporarily hide community rows
<Box // rows.push(
key="community_most_remixed_projects" // <Box
title={this.props.intl.formatMessage({id: 'splash.communityRemixing'})} // key="community_most_remixed_projects"
> // title={this.props.intl.formatMessage({id: 'splash.communityRemixing'})}
<LegacyCarousel // >
showRemixes // <LegacyCarousel
items={shuffle(this.props.featuredGlobal.community_most_remixed_projects)} // showRemixes
/> // items={shuffle(this.props.featuredGlobal.community_most_remixed_projects)}
</Box>, // />
<Box // </Box>,
key="community_most_loved_projects" // <Box
title={this.props.intl.formatMessage({id: 'splash.communityLoving'})} // key="community_most_loved_projects"
> // title={this.props.intl.formatMessage({id: 'splash.communityLoving'})}
<LegacyCarousel // >
showLoves // <LegacyCarousel
items={shuffle(this.props.featuredGlobal.community_most_loved_projects)} // showLoves
/> // items={shuffle(this.props.featuredGlobal.community_most_loved_projects)}
</Box> // />
); // </Box>
// );
return rows; return rows;
} }