Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
24e65e70
Unverified
Commit
24e65e70
authored
Dec 11, 2017
by
Matthew Taylor
Committed by
GitHub
Dec 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "[Master] temporarily take out curator row and recently shared row"
parent
21c73e92
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
src/views/splash/presentation.jsx
src/views/splash/presentation.jsx
+31
-0
No files found.
src/views/splash/presentation.jsx
View file @
24e65e70
...
...
@@ -90,6 +90,23 @@ var SplashPresentation = injectIntl(React.createClass({
</
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
&&
this
.
props
.
featuredGlobal
.
scratch_design_studio
.
length
>
4
)
{
...
...
@@ -107,6 +124,20 @@ 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
)
{
rows
.
push
(
<
Box
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment