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
2553c696
Commit
2553c696
authored
Oct 20, 2015
by
Andrew Sliwinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set 'black' default props for thumbnails and carousel
parent
5960f72e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
26 deletions
+27
-26
src/components/carousel/carousel.json
src/components/carousel/carousel.json
+24
-23
src/components/thumbnail/thumbnail.jsx
src/components/thumbnail/thumbnail.jsx
+3
-3
No files found.
src/components/carousel/carousel.json
View file @
2553c696
...
@@ -2,48 +2,49 @@
...
@@ -2,48 +2,49 @@
{
{
"id"
:
1
,
"id"
:
1
,
"type"
:
"project"
,
"type"
:
"project"
,
"title"
:
"
Example
Project"
,
"title"
:
"Project"
,
"thumbnailUrl"
:
"
http://www.lorempixel.com/144/108/
"
,
"thumbnailUrl"
:
""
,
"creator"
:
"
raimondious
"
,
"creator"
:
""
,
"href"
:
"
/projects/1000/
"
"href"
:
"
#
"
},
},
{
{
"id"
:
2
,
"id"
:
2
,
"type"
:
"project"
,
"type"
:
"project"
,
"title"
:
"Example Project"
,
"title"
:
"Project"
,
"thumbnailUrl"
:
"http://www.lorempixel.com/144/108/"
,
"thumbnailUrl"
:
""
,
"href"
:
"/projects/1000/"
"creator"
:
""
,
"href"
:
"#"
},
},
{
{
"id"
:
3
,
"id"
:
3
,
"type"
:
"project"
,
"type"
:
"project"
,
"title"
:
"
Example
Project"
,
"title"
:
"Project"
,
"thumbnailUrl"
:
"
http://www.lorempixel.com/144/108/
"
,
"thumbnailUrl"
:
""
,
"creator"
:
"
raimondious
"
,
"creator"
:
""
,
"href"
:
"
/projects/1000/
"
"href"
:
"
#
"
},
},
{
{
"id"
:
4
,
"id"
:
4
,
"type"
:
"project"
,
"type"
:
"project"
,
"title"
:
"
Example
Project"
,
"title"
:
"Project"
,
"thumbnailUrl"
:
"
http://www.lorempixel.com/144/108/
"
,
"thumbnailUrl"
:
""
,
"creator"
:
"
raimondious
"
,
"creator"
:
""
,
"href"
:
"
/projects/1000/
"
"href"
:
"
#
"
},
},
{
{
"id"
:
5
,
"id"
:
5
,
"type"
:
"project"
,
"type"
:
"project"
,
"title"
:
"
Example
Project"
,
"title"
:
"Project"
,
"thumbnailUrl"
:
"
http://www.lorempixel.com/144/108/
"
,
"thumbnailUrl"
:
""
,
"creator"
:
"
raimondious
"
,
"creator"
:
""
,
"href"
:
"
/projects/1000/
"
"href"
:
"
#
"
},
},
{
{
"id"
:
6
,
"id"
:
6
,
"type"
:
"project"
,
"type"
:
"project"
,
"title"
:
"
Example
Project"
,
"title"
:
"Project"
,
"thumbnailUrl"
:
"
http://www.lorempixel.com/144/108/
"
,
"thumbnailUrl"
:
""
,
"creator"
:
"
raimondious
"
,
"creator"
:
""
,
"href"
:
"
/projects/1000/
"
"href"
:
"
#
"
}
}
]
]
src/components/thumbnail/thumbnail.jsx
View file @
2553c696
...
@@ -10,9 +10,9 @@ var Thumbnail = React.createClass({
...
@@ -10,9 +10,9 @@ var Thumbnail = React.createClass({
},
},
getDefaultProps
:
function
()
{
getDefaultProps
:
function
()
{
return
{
return
{
href
:
'
/projects/1000/
'
,
href
:
'
#
'
,
title
:
'
Example
Project
'
,
title
:
'
Project
'
,
src
:
'
http://www.lorempixel.com/144/108/
'
,
src
:
''
,
type
:
'
project
'
,
type
:
'
project
'
,
showLoves
:
false
,
showLoves
:
false
,
showRemixes
:
false
showRemixes
:
false
...
...
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