From dc8455f77baa1d4490a4a6cdfc5215a23508902b Mon Sep 17 00:00:00 2001 From: Barry Gitarts Date: Wed, 20 Nov 2019 11:38:33 -0500 Subject: [PATCH] add box icons and images --- src/components/base/icons/IconByName.jsx | 10 ++++++++-- src/components/base/icons/Lightening.jsx | 9 +++++++++ src/components/base/icons/Wallet.jsx | 8 ++++++++ src/components/base/icons/lightening.svg | 3 +++ src/components/base/icons/wallet.svg | 3 +++ src/components/projects/ProjectsHeader.jsx | 11 +++++++++-- 6 files changed, 40 insertions(+), 4 deletions(-) create mode 100644 src/components/base/icons/Lightening.jsx create mode 100644 src/components/base/icons/Wallet.jsx create mode 100644 src/components/base/icons/lightening.svg create mode 100644 src/components/base/icons/wallet.svg diff --git a/src/components/base/icons/IconByName.jsx b/src/components/base/icons/IconByName.jsx index 40956d1..6770a07 100644 --- a/src/components/base/icons/IconByName.jsx +++ b/src/components/base/icons/IconByName.jsx @@ -4,18 +4,24 @@ import BoxArrow from './BoxArrow' import CheckMark from './CheckMark' import Photo from './Photo' import AddPerson from './AddPerson' +import Lightening from './Lightening' +import Wallet from './Wallet' const ADD_PERSON = 'addPerson' const CHECK = 'check' const ONE_ON_ONE_CHAT = 'oneOnOneChat' const BOX_ARROW = 'boxArrow' const PHOTO = 'photo' +const LIGHTENING = 'lightening' +const WALLET = 'wallet' const icons = { [ADD_PERSON]: AddPerson, [CHECK]: CheckMark, [ONE_ON_ONE_CHAT]: OneOnOneChat, [BOX_ARROW]: BoxArrow, - [PHOTO]: Photo + [PHOTO]: Photo, + [LIGHTENING]: Lightening, + [WALLET]: Wallet } const Icon = ({ name, centered, text }) => { @@ -25,7 +31,7 @@ const Icon = ({ name, centered, text }) => { display: 'flex', justifyContent: 'center', alignItems: 'center', - background: '#ECEFFC', + background: '#1AA56E1A', borderRadius: '50%', height: '3rem', width: '3rem', diff --git a/src/components/base/icons/Lightening.jsx b/src/components/base/icons/Lightening.jsx new file mode 100644 index 0000000..73cee60 --- /dev/null +++ b/src/components/base/icons/Lightening.jsx @@ -0,0 +1,9 @@ +import React from 'react' + +const SVG = () => + + + + + +export default SVG diff --git a/src/components/base/icons/Wallet.jsx b/src/components/base/icons/Wallet.jsx new file mode 100644 index 0000000..42cee80 --- /dev/null +++ b/src/components/base/icons/Wallet.jsx @@ -0,0 +1,8 @@ +import React from 'react' + +const SVG = () => + + + + +export default SVG diff --git a/src/components/base/icons/lightening.svg b/src/components/base/icons/lightening.svg new file mode 100644 index 0000000..aabea44 --- /dev/null +++ b/src/components/base/icons/lightening.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/base/icons/wallet.svg b/src/components/base/icons/wallet.svg new file mode 100644 index 0000000..2521bc2 --- /dev/null +++ b/src/components/base/icons/wallet.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/projects/ProjectsHeader.jsx b/src/components/projects/ProjectsHeader.jsx index 0677d7d..bbc2fb2 100644 --- a/src/components/projects/ProjectsHeader.jsx +++ b/src/components/projects/ProjectsHeader.jsx @@ -6,6 +6,7 @@ import CardActions from '@material-ui/core/CardActions' import CardContent from '@material-ui/core/CardContent' import classnames from 'classnames' import StatusButton from '../base/Button' +import Icon from '../base/icons/IconByName' const useStyles = makeStyles(({ palette: { @@ -31,6 +32,10 @@ const useStyles = makeStyles(({ background: '#FFFFFF', padding: '1rem' }, + cardContent: { + display: 'grid', + gridTemplateRows: '3.5rem 1.5rem auto 2rem' + }, fundersCard: { gridColumn: '26 / 39', boxShadow: '0px 15px 29px rgba(0, 34, 51, 0.08)', @@ -60,7 +65,8 @@ function CreatorsCard() { return ( - + + Platform for @@ -88,7 +94,8 @@ function FundersCard() { return ( - + + Platform for