-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #285 from cytoscape/feature/landing-page-sections-…
…simple Feature/landing page sections simple
- Loading branch information
Showing
18 changed files
with
869 additions
and
336 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
import React from 'react'; | ||
import { makeStyles } from '@material-ui/core/styles'; | ||
|
||
import { linkoutProps } from '../defaults'; | ||
import Citation from './citation'; | ||
|
||
import { Container, Link, Typography } from '@material-ui/core'; | ||
|
||
import { AppLogoIcon } from '../svg-icons'; | ||
|
||
|
||
const useStyles = makeStyles(theme => ({ | ||
logo: { | ||
width: 128, | ||
height: 'auto', | ||
marginBottom: theme.spacing(4), | ||
[theme.breakpoints.down('xs')]: { | ||
width: 96, | ||
marginBottom: theme.spacing(2), | ||
}, | ||
}, | ||
subtitle: { | ||
fontSize: '1.85rem', | ||
fontWeight: 'bold', | ||
marginBottom: theme.spacing(2), | ||
[theme.breakpoints.down('xs')]: { | ||
fontSize: '1.5rem', | ||
}, | ||
}, | ||
citeContainer: { | ||
paddingLeft: 0, | ||
paddingRight: 0, | ||
marginTop: theme.spacing(6), | ||
marginBottom: theme.spacing(6), | ||
[theme.breakpoints.down('xs')]: { | ||
marginTop: theme.spacing(2), | ||
marginBottom: theme.spacing(2), | ||
}, | ||
}, | ||
authorsContainer: { | ||
paddingLeft: 0, | ||
paddingRight: 0, | ||
marginTop: theme.spacing(12), | ||
marginBottom: 0, | ||
[theme.breakpoints.down('xs')]: { | ||
marginTop: theme.spacing(6), | ||
}, | ||
}, | ||
description: { | ||
marginBottom: theme.spacing(4), | ||
textAlign: 'left', | ||
[theme.breakpoints.down('xs')]: { | ||
marginBottom: theme.spacing(2), | ||
fontSize: 'unset', | ||
}, | ||
}, | ||
authors: { | ||
textAlign: 'center', | ||
}, | ||
linkAuthor: { | ||
color: theme.palette.text.secondary, | ||
}, | ||
})); | ||
|
||
export function About() { | ||
const classes = useStyles(); | ||
|
||
return ( | ||
<> | ||
<div style={{textAlign: 'center'}}> | ||
<AppLogoIcon className={classes.logo} /> | ||
</div> | ||
<Container maxWidth="md" className={classes.citeContainer}> | ||
<Typography variant="h3" className={classes.subtitle}>Cite EnrichmentMap</Typography> | ||
<Typography variant="body1" color="textSecondary" className={classes.description}> | ||
To cite this app in a paper, for now, please cite this Nature Protocols article (an article specific to this app will be published shortly): | ||
</Typography> | ||
<Citation /> | ||
</Container> | ||
<Container maxWidth="md" className={classes.authorsContainer}> | ||
<Typography variant="body2" color="textSecondary" className={classes.authors}> | ||
EnrichmentMap is authored by: | ||
<Link href="https://github.com/maxkfranz" className={classes.linkAuthor} {...linkoutProps}>Max Franz</Link>, | ||
<Link href="https://github.com/mikekucera" className={classes.linkAuthor} {...linkoutProps}>Mike Kucera</Link>, | ||
<Link href="https://github.com/chrtannus"className={classes.linkAuthor} {...linkoutProps}>Christian Lopes</Link>, | ||
<Link href="https://baderlab.org" className={classes.linkAuthor} {...linkoutProps}>Gary Bader</Link>. | ||
</Typography> | ||
</Container> | ||
</> | ||
); | ||
} | ||
|
||
export default About; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.