unhides community rows

This commit is contained in:
tomlum 2023-05-05 12:58:14 -04:00
parent 645206f16a
commit 1c2adeb182

View file

@ -8,7 +8,7 @@ const React = require('react');
const frameless = require('../../lib/frameless'); const frameless = require('../../lib/frameless');
const intlShape = require('../../lib/intl-shape'); const intlShape = require('../../lib/intl-shape');
const sessionActions = require('../../redux/session.js'); 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 AdminPanel = require('../../components/adminpanel/adminpanel.jsx');
const Box = require('../../components/box/box.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(
// rows.push( <Box
// <Box key="community_most_remixed_projects"
// key="community_most_remixed_projects" title={this.props.intl.formatMessage({id: 'splash.communityRemixing'})}
// title={this.props.intl.formatMessage({id: 'splash.communityRemixing'})} >
// > <LegacyCarousel
// <LegacyCarousel showRemixes
// showRemixes items={shuffle(this.props.featuredGlobal.community_most_remixed_projects)}
// items={shuffle(this.props.featuredGlobal.community_most_remixed_projects)} />
// /> </Box>,
// </Box>, <Box
// <Box key="community_most_loved_projects"
// key="community_most_loved_projects" title={this.props.intl.formatMessage({id: 'splash.communityLoving'})}
// title={this.props.intl.formatMessage({id: 'splash.communityLoving'})} >
// > <LegacyCarousel
// <LegacyCarousel showLoves
// showLoves items={shuffle(this.props.featuredGlobal.community_most_loved_projects)}
// items={shuffle(this.props.featuredGlobal.community_most_loved_projects)} />
// /> </Box>
// </Box> );
// );
return rows; return rows;
} }