Skip to content

Commit

Permalink
fix(lacchain): add missing variables for lacchain testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier506 committed Apr 21, 2021
2 parents 6a10f23 + a1a8a94 commit 91b3e9c
Show file tree
Hide file tree
Showing 12 changed files with 496 additions and 418 deletions.
5 changes: 3 additions & 2 deletions webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"not op_mini all"
],
"dependencies": {
"@eoscostarica/ual-reactjs-renderer": "^0.3.1",
"@apollo/react-hooks": "^4.0.0",
"@date-io/core": "^2.10.6",
"@eoscostarica/eoscr-components": "^3.1.2",
"@eoscostarica/eoscr-components": "^3.1.3",
"@eoscostarica/ual-reactjs-renderer": "^0.3.1",
"@material-ui/core": "^4.9.10",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.55",
Expand All @@ -44,6 +44,7 @@
"apollo-link-ws": "^1.0.20",
"apollo-utilities": "^1.3.4",
"axios": "^0.19.2",
"clsx": "^1.1.1",
"d3-force": "^2.1.1",
"d3-geo": "^1.12.1",
"d3-geo-projection": "^2.9.0",
Expand Down
54 changes: 0 additions & 54 deletions webapp/src/components/Footer.js

This file was deleted.

35 changes: 35 additions & 0 deletions webapp/src/components/Footer/index.js
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
23 changes: 23 additions & 0 deletions webapp/src/components/Footer/styles.js
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'
}
}
})
25 changes: 25 additions & 0 deletions webapp/src/components/Sidebar/eosLogo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 91b3e9c

Please sign in to comment.