From 10f9194f61bb650a1fce584af6858d1547b792da Mon Sep 17 00:00:00 2001 From: Eric Rosenbaum Date: Mon, 22 Mar 2021 17:24:18 -0400 Subject: [PATCH] fix form and carousel enough to display them --- src/components/carousel/carousel.json | 30 ++++++++++++++++----------- src/views/components/components.jsx | 16 +++++++------- 2 files changed, 26 insertions(+), 20 deletions(-) diff --git a/src/components/carousel/carousel.json b/src/components/carousel/carousel.json index 16742f743..88cf9e0b5 100644 --- a/src/components/carousel/carousel.json +++ b/src/components/carousel/carousel.json @@ -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} } ] diff --git a/src/views/components/components.jsx b/src/views/components/components.jsx index 1e01bc4cc..96b6c1ebf 100644 --- a/src/views/components/components.jsx +++ b/src/views/components/components.jsx @@ -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 = () => (

Button

Form

- +
+ +

Box Component

(

Carousel Component

- - -

This is a blue Spinner