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
Show 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 @@
{
"id"
:
1
,
"type"
:
"project"
,
"title"
:
"
Example
Project"
,
"thumbnailUrl"
:
"
http://www.lorempixel.com/144/108/
"
,
"creator"
:
"
raimondious
"
,
"href"
:
"
/projects/1000/
"
"title"
:
"Project"
,
"thumbnailUrl"
:
""
,
"creator"
:
""
,
"href"
:
"
#
"
},
{
"id"
:
2
,
"type"
:
"project"
,
"title"
:
"Example Project"
,
"thumbnailUrl"
:
"http://www.lorempixel.com/144/108/"
,
"href"
:
"/projects/1000/"
"title"
:
"Project"
,
"thumbnailUrl"
:
""
,
"creator"
:
""
,
"href"
:
"#"
},
{
"id"
:
3
,
"type"
:
"project"
,
"title"
:
"
Example
Project"
,
"thumbnailUrl"
:
"
http://www.lorempixel.com/144/108/
"
,
"creator"
:
"
raimondious
"
,
"href"
:
"
/projects/1000/
"
"title"
:
"Project"
,
"thumbnailUrl"
:
""
,
"creator"
:
""
,
"href"
:
"
#
"
},
{
"id"
:
4
,
"type"
:
"project"
,
"title"
:
"
Example
Project"
,
"thumbnailUrl"
:
"
http://www.lorempixel.com/144/108/
"
,
"creator"
:
"
raimondious
"
,
"href"
:
"
/projects/1000/
"
"title"
:
"Project"
,
"thumbnailUrl"
:
""
,
"creator"
:
""
,
"href"
:
"
#
"
},
{
"id"
:
5
,
"type"
:
"project"
,
"title"
:
"
Example
Project"
,
"thumbnailUrl"
:
"
http://www.lorempixel.com/144/108/
"
,
"creator"
:
"
raimondious
"
,
"href"
:
"
/projects/1000/
"
"title"
:
"Project"
,
"thumbnailUrl"
:
""
,
"creator"
:
""
,
"href"
:
"
#
"
},
{
"id"
:
6
,
"type"
:
"project"
,
"title"
:
"
Example
Project"
,
"thumbnailUrl"
:
"
http://www.lorempixel.com/144/108/
"
,
"creator"
:
"
raimondious
"
,
"href"
:
"
/projects/1000/
"
"title"
:
"Project"
,
"thumbnailUrl"
:
""
,
"creator"
:
""
,
"href"
:
"
#
"
}
]
src/components/thumbnail/thumbnail.jsx
View file @
2553c696
...
...
@@ -10,9 +10,9 @@ var Thumbnail = React.createClass({
},
getDefaultProps
:
function
()
{
return
{
href
:
'
/projects/1000/
'
,
title
:
'
Example
Project
'
,
src
:
'
http://www.lorempixel.com/144/108/
'
,
href
:
'
#
'
,
title
:
'
Project
'
,
src
:
''
,
type
:
'
project
'
,
showLoves
:
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