-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
096bbc0
commit 2a165b2
Showing
17 changed files
with
145 additions
and
18 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
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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import React from 'react'; | ||
import Typography from '@material-ui/core/Typography'; | ||
import Box from '@material-ui/core/Box'; | ||
import { useSelector } from 'react-redux'; | ||
import { makeStyles } from '@material-ui/core/styles'; | ||
import AddIcon from '@material-ui/icons/Add'; | ||
|
||
const useStyles = makeStyles(theme => ({ | ||
root: { | ||
'& a': { | ||
display: 'block', | ||
marginTop: theme.spacing(1), | ||
}, | ||
'& img': { | ||
width: 125, | ||
}, | ||
}, | ||
placeholder: { | ||
width: 125, | ||
height: 35, | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
borderRadius: theme.shape.borderRadius, | ||
color: theme.palette.divider, | ||
border: `1px dashed ${theme.palette.divider}`, | ||
transition: theme.transitions.create(['color', 'border-color']), | ||
'&&': { | ||
display: 'flex', | ||
}, | ||
'&:hover': { | ||
borderColor: 'currentColor', | ||
color: theme.palette.text.secondary, | ||
}, | ||
}, | ||
})); | ||
|
||
export default function DiamondSponsors() { | ||
const classes = useStyles(); | ||
const t = useSelector(state => state.options.t); | ||
|
||
return ( | ||
<Box mx={3} my={2} className={classes.root}> | ||
<Typography variant="caption" color="textSecondary" display="block"> | ||
{t('diamondSponsors')} | ||
</Typography> | ||
<a | ||
className={classes.placeholder} | ||
rel="noopener noreferrer" | ||
target="_blank" | ||
href="https://www.patreon.com/oliviertassinari" | ||
> | ||
<AddIcon /> | ||
</a> | ||
</Box> | ||
); | ||
} |
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
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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