Skip to content

Commit

Permalink
adjusting the footer layout closes #137
Browse files Browse the repository at this point in the history
  • Loading branch information
regisalbuquerque committed May 25, 2024
1 parent 83337be commit ffd90af
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 18 deletions.
47 changes: 30 additions & 17 deletions frontend/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,25 +66,38 @@ function Footer() {
</Typography>
</div>
</Grid>

<Grid item className={classes.marginItem}>
<Typography>
<span className={classes.poweredBy}>Powered By</span>
<Link
href="https://www.linea.org.br/"
target="_blank"
className={classes.logoLink}
>
<Image
src="/logo.png"
alt="LIneA"
width={52}
height={52}
className={classes.logoFooter}
/>
</Link>
</Typography>
<span className={classes.poweredBy}>Last update: {gitDate} ({gitVersion}) </span>
<Grid container
direction="column"
justifyContent="flex-end"
alignItems="flex-end"
>
<Grid item xs={12} >

<Typography>
<span className={classes.poweredBy}>Powered By</span>
<Link
href="https://www.linea.org.br/"
target="_blank"
className={classes.logoLink}
>
<Image
src="/logo.png"
alt="LIneA"
width={52}
height={52}
className={classes.logoFooter}
/>
</Link>
</Typography>
</Grid>
<Grid item xs={12}>
<span className={classes.lastUpdate}>Last update: {gitDate} ({gitVersion}) </span>
</Grid>
</Grid>
</Grid>

</Grid>
</footer>
)
Expand Down
10 changes: 9 additions & 1 deletion frontend/styles/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const useStyles = makeStyles(theme => ({
root: {
width: '100%',
float: 'right',
height: 64,
//height: 64,
position: 'relative',
zIndex: 2,
backgroundColor: theme.palette.grey[900],
Expand Down Expand Up @@ -36,6 +36,14 @@ const useStyles = makeStyles(theme => ({
marginRight: 16,
fontFamily: 'Roboto Condensed'
},
lastUpdate: {
display: 'flex',
verticalAlign: 'middle',
color: '#fff',
marginRight: 0,
fontFamily: 'Roboto Condensed',
fontSize: 12
},
marginItem: {
marginLeft: 20,
marginRight: 20,
Expand Down

0 comments on commit ffd90af

Please sign in to comment.