-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(lacchain): add missing variables for lacchain testnet
- Loading branch information
Showing
12 changed files
with
496 additions
and
418 deletions.
There are no files selected for viewing
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import React from 'react' | ||
import { makeStyles } from '@material-ui/styles' | ||
import { Grid, List, ListItemText, ListItem, Box } from '@material-ui/core' | ||
|
||
import { generalConfig } from '../../config' | ||
|
||
import styles from './styles' | ||
|
||
const useStyles = makeStyles(styles) | ||
|
||
const Footer = () => { | ||
const classes = useStyles() | ||
|
||
return ( | ||
<Box className={classes.wrapper}> | ||
<Grid container item xs={12}> | ||
<List> | ||
{generalConfig.footerLinks.map((link, index) => ( | ||
<ListItem className={classes.listItem} key={index}> | ||
<ListItemText | ||
primary={ | ||
<a href={link.src} target="_blank" rel="noopener noreferrer"> | ||
{link.text} | ||
</a> | ||
} | ||
/> | ||
</ListItem> | ||
))} | ||
</List> | ||
</Grid> | ||
</Box> | ||
) | ||
} | ||
|
||
export default Footer |
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,23 @@ | ||
export default (theme) => ({ | ||
wrapper: { | ||
padding: `${theme.spacing(1) / 4}px ${theme.spacing(4)}px`, | ||
background: theme.palette.common.white, | ||
position: 'relative' | ||
}, | ||
listItem: { | ||
display: 'inline-block', | ||
width: 'auto', | ||
paddingLeft: theme.spacing(2), | ||
paddingRight: theme.spacing(2), | ||
'&, &:hover, &:active': { | ||
color: theme.palette.common.black | ||
}, | ||
'& a': { | ||
color: theme.sidebar.footer.color, | ||
lineHeight: '20px', | ||
textAlign: 'center', | ||
letterSpacing: '0.1px', | ||
textDecoration: 'none' | ||
} | ||
} | ||
}) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.