add create project text + link

This commit is contained in:
Barry Gitarts 2019-08-21 17:05:23 -04:00 committed by Barry G
parent 1f35ae88dc
commit 9413459334
2 changed files with 22 additions and 4 deletions

View File

@ -85,9 +85,12 @@ function ListProjects({ classes }) {
) )
})} })}
<Divider className={classes.divider} /> <Divider className={classes.divider} />
<Link to={`/create-project`} className={classes.fabLink}>
<Fab className={classes.fab}> <Fab className={classes.fab}>
<AddIcon className={classes.addIcon}/> <AddIcon className={classes.addIcon}/>
</Fab> </Fab>
<Typography className={classes.fabText}>Add your own project</Typography>
</Link>
</div> </div>
) )
} }

View File

@ -10,6 +10,9 @@ const styles = theme => ({
px15: { px15: {
fontSize: '0.9375rem' fontSize: '0.9375rem'
}, },
px16: {
fontSize: '1rem'
},
main: { main: {
display: 'grid', display: 'grid',
gridTemplateColumns: 'repeat(48, [col] 1fr)', gridTemplateColumns: 'repeat(48, [col] 1fr)',
@ -51,7 +54,19 @@ const styles = theme => ({
fab: { fab: {
gridColumn: '3 / 5', gridColumn: '3 / 5',
background: '#EEF2F5', background: '#EEF2F5',
boxShadow: 'none' boxShadow: 'none',
marginRight: '1em'
},
fabText: {
fontWeight: 500,
fontSize: '1.2rem'
},
fabLink: {
display: 'flex',
alignItems: 'center',
textDecoration: 'none',
marginTop: '2rem',
gridColumn: '3 / 49'
}, },
tableTitle: { tableTitle: {
color: '#939BA1', color: '#939BA1',