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
10f9194f
Commit
10f9194f
authored
Mar 22, 2021
by
Eric Rosenbaum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix form and carousel enough to display them
parent
c0d681ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
20 deletions
+26
-20
src/components/carousel/carousel.json
src/components/carousel/carousel.json
+18
-12
src/views/components/components.jsx
src/views/components/components.jsx
+8
-8
No files found.
src/components/carousel/carousel.json
View file @
10f9194f
...
...
@@ -4,47 +4,53 @@
"type"
:
"project"
,
"title"
:
"Project"
,
"thumbnailUrl"
:
""
,
"creator"
:
""
,
"href"
:
"#"
"author"
:
""
,
"href"
:
"#"
,
"stats"
:
{
"loves"
:
0
,
"remixes"
:
0
}
},
{
"id"
:
2
,
"type"
:
"project"
,
"title"
:
"Project"
,
"thumbnailUrl"
:
""
,
"creator"
:
""
,
"href"
:
"#"
"author"
:
""
,
"href"
:
"#"
,
"stats"
:
{
"loves"
:
0
,
"remixes"
:
0
}
},
{
"id"
:
3
,
"type"
:
"project"
,
"title"
:
"Project"
,
"thumbnailUrl"
:
""
,
"creator"
:
""
,
"href"
:
"#"
"author"
:
""
,
"href"
:
"#"
,
"stats"
:
{
"loves"
:
0
,
"remixes"
:
0
}
},
{
"id"
:
4
,
"type"
:
"project"
,
"title"
:
"Project"
,
"thumbnailUrl"
:
""
,
"creator"
:
""
,
"href"
:
"#"
"author"
:
""
,
"href"
:
"#"
,
"stats"
:
{
"loves"
:
0
,
"remixes"
:
0
}
},
{
"id"
:
5
,
"type"
:
"project"
,
"title"
:
"Project"
,
"thumbnailUrl"
:
""
,
"creator"
:
""
,
"href"
:
"#"
"author"
:
""
,
"href"
:
"#"
,
"stats"
:
{
"loves"
:
0
,
"remixes"
:
0
}
},
{
"id"
:
6
,
"type"
:
"project"
,
"title"
:
"Project"
,
"thumbnailUrl"
:
""
,
"creator"
:
""
,
"href"
:
"#"
"author"
:
""
,
"href"
:
"#"
,
"stats"
:
{
"loves"
:
0
,
"remixes"
:
0
}
}
]
src/views/components/components.jsx
View file @
10f9194f
...
...
@@ -5,6 +5,7 @@ const Page = require('../../components/page/www/page.jsx');
const
Box
=
require
(
'
../../components/box/box.jsx
'
);
const
Button
=
require
(
'
../../components/forms/button.jsx
'
);
const
Carousel
=
require
(
'
../../components/carousel/carousel.jsx
'
);
const
Form
=
require
(
'
../../components/forms/form.jsx
'
);
const
Input
=
require
(
'
../../components/forms/input.jsx
'
);
const
Spinner
=
require
(
'
../../components/spinner/spinner.jsx
'
);
...
...
@@ -16,11 +17,13 @@ const Components = () => (
<
h1
>
Button
</
h1
>
<
Button
>
I love button
</
Button
>
<
h1
>
Form
</
h1
>
<
Input
maxLength=
"30"
name=
"test"
type=
"text"
/>
<
Form
>
<
Input
maxLength=
"30"
name=
"test"
type=
"text"
/>
</
Form
>
<
h1
>
Box Component
</
h1
>
<
Box
more=
"Cat Gifs"
...
...
@@ -32,9 +35,6 @@ const Components = () => (
</
Box
>
<
h1
>
Carousel Component
</
h1
>
<
Carousel
/>
<
Box
title=
"Carousel component in a box!"
>
<
Carousel
/>
</
Box
>
<
h1
>
This is a blue Spinner
</
h1
>
<
Spinner
color=
"blue"
...
...
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