initial commit

This commit is contained in:
JJ Kasper
2018-05-17 14:31:05 -05:00
commit 2c90d2e7dd
79 changed files with 10684 additions and 0 deletions

18
comps/PaddedRow.js Normal file
View File

@@ -0,0 +1,18 @@
const PaddedRow = ({ children, amount, vCenter }) => {
amount = amount || 20;
const PadItem = () => (
<div className={'column column-' + amount + ' no-mob'} />
);
let rowProps = {className: 'row'};
if(vCenter) rowProps = {className: 'row v-center'};
else rowProps = {...rowProps, style: {paddingTop: amount}};
return (
<div {...rowProps}>
<PadItem />
<div className='column'>{ children }</div>
<PadItem />
</div>
);
};
export default PaddedRow;