-
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.
style: remove unused styles and simplify some component styles
- Loading branch information
Showing
4 changed files
with
22 additions
and
144 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 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 |
---|---|---|
@@ -1,34 +1,26 @@ | ||
import React from 'react' | ||
import { Box, Link } from '@mui/material' | ||
|
||
import toskaColor from '../assets/toscalogo_color.svg' | ||
import styles from '../styles' | ||
|
||
const Footer = () => { | ||
const { footerStyles } = styles | ||
|
||
return ( | ||
<Box | ||
component='footer' | ||
sx={(theme) => ({ | ||
backgroundColor: theme.palette.toskaDark.main, | ||
color: theme.palette.toskaDark.contrastText, | ||
})} | ||
const Footer = () => ( | ||
<Box | ||
component='footer' | ||
sx={(theme) => ({ | ||
backgroundColor: theme.palette.toskaDark.main, | ||
color: theme.palette.toskaDark.contrastText, | ||
px: '3rem', | ||
py: '2rem', | ||
})} | ||
> | ||
<Link | ||
href='https://toska.dev' | ||
target='_blank' | ||
rel='noopener' | ||
underline='hover' | ||
> | ||
<Box sx={footerStyles.supportBox}> | ||
<Box sx={footerStyles.imageBox}> | ||
<Link | ||
href='https://toska.dev' | ||
target='_blank' | ||
rel='noopener' | ||
underline='hover' | ||
> | ||
<img src={toskaColor} alt='Toska' width='70' /> | ||
</Link> | ||
</Box> | ||
</Box> | ||
</Box> | ||
) | ||
} | ||
<img src={toskaColor} alt='Toska' width='100px' /> | ||
</Link> | ||
</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