mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 17:45:52 -05:00
hides community rows from homepage
This commit is contained in:
parent
8a05a73edc
commit
4cc420632c
1 changed files with 21 additions and 20 deletions
|
@ -302,26 +302,27 @@ class SplashPresentation extends React.Component { // eslint-disable-line react/
|
|||
);
|
||||
}
|
||||
|
||||
rows.push(
|
||||
<Box
|
||||
key="community_most_remixed_projects"
|
||||
title={this.props.intl.formatMessage({id: 'splash.communityRemixing'})}
|
||||
>
|
||||
<LegacyCarousel
|
||||
showRemixes
|
||||
items={shuffle(this.props.featuredGlobal.community_most_remixed_projects)}
|
||||
/>
|
||||
</Box>,
|
||||
<Box
|
||||
key="community_most_loved_projects"
|
||||
title={this.props.intl.formatMessage({id: 'splash.communityLoving'})}
|
||||
>
|
||||
<LegacyCarousel
|
||||
showLoves
|
||||
items={shuffle(this.props.featuredGlobal.community_most_loved_projects)}
|
||||
/>
|
||||
</Box>
|
||||
);
|
||||
// Temporarily hide community rows
|
||||
// rows.push(
|
||||
// <Box
|
||||
// key="community_most_remixed_projects"
|
||||
// title={this.props.intl.formatMessage({id: 'splash.communityRemixing'})}
|
||||
// >
|
||||
// <LegacyCarousel
|
||||
// showRemixes
|
||||
// items={shuffle(this.props.featuredGlobal.community_most_remixed_projects)}
|
||||
// />
|
||||
// </Box>,
|
||||
// <Box
|
||||
// key="community_most_loved_projects"
|
||||
// title={this.props.intl.formatMessage({id: 'splash.communityLoving'})}
|
||||
// >
|
||||
// <LegacyCarousel
|
||||
// showLoves
|
||||
// items={shuffle(this.props.featuredGlobal.community_most_loved_projects)}
|
||||
// />
|
||||
// </Box>
|
||||
// );
|
||||
|
||||
return rows;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue