mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-30 10:58:23 -05:00
temporarily take out curator row and recently shared row
This commit is contained in:
parent
ec507b73c5
commit
9fbd5b691c
1 changed files with 0 additions and 31 deletions
|
@ -90,23 +90,6 @@ var SplashPresentation = injectIntl(React.createClass({
|
||||||
</Box>
|
</Box>
|
||||||
];
|
];
|
||||||
|
|
||||||
if (this.props.featuredGlobal.curator_top_projects &&
|
|
||||||
this.props.featuredGlobal.curator_top_projects.length > 4) {
|
|
||||||
|
|
||||||
rows.push(
|
|
||||||
<Box
|
|
||||||
key="curator_top_projects"
|
|
||||||
title={
|
|
||||||
formatMessage({id: 'splash.projectsCuratedBy'}) + ' ' +
|
|
||||||
this.props.featuredGlobal.curator_top_projects[0].curator_name}
|
|
||||||
moreTitle={formatMessage({id: 'general.learnMore'})}
|
|
||||||
moreHref="/studios/386359/"
|
|
||||||
>
|
|
||||||
<LegacyCarousel items={this.props.featuredGlobal.curator_top_projects} />
|
|
||||||
</Box>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.props.featuredGlobal.scratch_design_studio &&
|
if (this.props.featuredGlobal.scratch_design_studio &&
|
||||||
this.props.featuredGlobal.scratch_design_studio.length > 4) {
|
this.props.featuredGlobal.scratch_design_studio.length > 4) {
|
||||||
|
|
||||||
|
@ -124,20 +107,6 @@ var SplashPresentation = injectIntl(React.createClass({
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.props.user &&
|
|
||||||
this.props.featuredGlobal.community_newest_projects &&
|
|
||||||
this.props.featuredGlobal.community_newest_projects.length > 0) {
|
|
||||||
|
|
||||||
rows.push(
|
|
||||||
<Box
|
|
||||||
title={formatMessage({id: 'splash.recentlySharedProjects'})}
|
|
||||||
key="community_newest_projects"
|
|
||||||
>
|
|
||||||
<LegacyCarousel items={this.props.featuredGlobal.community_newest_projects} />
|
|
||||||
</Box>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.props.sharedByFollowing && this.props.sharedByFollowing.length > 0) {
|
if (this.props.sharedByFollowing && this.props.sharedByFollowing.length > 0) {
|
||||||
rows.push(
|
rows.push(
|
||||||
<Box
|
<Box
|
||||||
|
|
Loading…
Reference in a new issue