Skip to content
This repository has been archived by the owner on Mar 26, 2023. It is now read-only.

Commit

Permalink
Merge pull request #49 from ForFansubs/dev
Browse files Browse the repository at this point in the history
Hata düzeltmesi
  • Loading branch information
ayberktandogan authored Jul 10, 2020
2 parents 7ac626c + 1063125 commit f382858
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions src/components/footer/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ import Typography from '@material-ui/core/Typography'
import FooterItems from '../../config/footer_items'

const useStyles = makeStyles(theme => ({
FooterInnerDiv: {
FooterDiv: {
padding: `${theme.spacing(2)}px`,
},
FooterInnerDiv: {
display: "flex",
flexWrap: "wrap"
},
Expand All @@ -30,20 +32,22 @@ export default function Footer() {
return (
<>
<footer>
<div className={classes.FooterInnerDiv}>
{FooterItems.length !== 0 ?
FooterItems.map((item, index) => {
return (
<a key={item.title} href={item.link} rel="noopener noreferrer" target="_blank" className={classes.FooterItem}>
<Typography variant="h6">
{item.title}
</Typography>
</a>
)
})
:
""
}
<div className={classes.FooterDiv}>
<div className={classes.FooterInnerDiv}>
{FooterItems.length !== 0 ?
FooterItems.map((item, index) => {
return (
<a key={item.title} href={item.link} rel="noopener noreferrer" target="_blank" className={classes.FooterItem}>
<Typography variant="h6">
{item.title}
</Typography>
</a>
)
})
:
""
}
</div>
<Typography variant="subtitle1" className={classes.FooterAuthor}>
<a href="https://forfansubs.github.io/" rel="noopener noreferrer" target="_blank">
ForFansubs v{settings.version}
Expand Down

0 comments on commit f382858

Please sign in to comment.