mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
unhides community rows
This commit is contained in:
parent
645206f16a
commit
1c2adeb182
1 changed files with 21 additions and 22 deletions
|
@ -8,7 +8,7 @@ const React = require('react');
|
|||
const frameless = require('../../lib/frameless');
|
||||
const intlShape = require('../../lib/intl-shape');
|
||||
const sessionActions = require('../../redux/session.js');
|
||||
// const shuffle = require('../../lib/shuffle.js').shuffle; required for community rows
|
||||
const shuffle = require('../../lib/shuffle.js').shuffle;
|
||||
|
||||
const AdminPanel = require('../../components/adminpanel/adminpanel.jsx');
|
||||
const Box = require('../../components/box/box.jsx');
|
||||
|
@ -302,27 +302,26 @@ class SplashPresentation extends React.Component { // eslint-disable-line react/
|
|||
);
|
||||
}
|
||||
|
||||
// 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>
|
||||
// );
|
||||
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