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} />
<Fab className={classes.fab}>
<AddIcon className={classes.addIcon}/>
</Fab>
<Link to={`/create-project`} className={classes.fabLink}>
<Fab className={classes.fab}>
<AddIcon className={classes.addIcon}/>
</Fab>
<Typography className={classes.fabText}>Add your own project</Typography>
</Link>
</div>
)
}

View File

@ -10,6 +10,9 @@ const styles = theme => ({
px15: {
fontSize: '0.9375rem'
},
px16: {
fontSize: '1rem'
},
main: {
display: 'grid',
gridTemplateColumns: 'repeat(48, [col] 1fr)',
@ -51,7 +54,19 @@ const styles = theme => ({
fab: {
gridColumn: '3 / 5',
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: {
color: '#939BA1',