Add a link to ko-fi

This commit is contained in:
Corey 2024-05-03 04:10:32 +00:00
parent 739cfdd07e
commit c9378ceb8c
1 changed files with 35 additions and 9 deletions

View File

@ -16,15 +16,41 @@ export default function Footer() {
return ( return (
<Box className="bottom-0 w-full flex-none"> <Box className="bottom-0 w-full flex-none">
<AppBar position="relative"> <AppBar position="relative">
<Toolbar className="min-h-min justify-end"> <Toolbar className="min-h-min justify-between">
<Box>
<Tooltip title="Support Me" arrow disableInteractive>
<a
href="https://ko-fi.com/A0A7WFPSL"
target="_blank"
rel="noreferrer"
>
<img
style={{
maxHeight: '2.5em',
verticalAlign: 'middle',
}}
src="https://storage.ko-fi.com/cdn/brandasset/kofi_s_logo_nolabel.png"
alt="Buy Me a Coffee at ko-fi.com"
/>
</a>
</Tooltip>
</Box>
<Box>
<Tooltip title="About" arrow disableInteractive> <Tooltip title="About" arrow disableInteractive>
<IconButton component={Link} to="/about" onClick={scrollToTop}> <IconButton component={Link} to="/about" onClick={scrollToTop}>
<QuestionMark /> <QuestionMark />
</IconButton> </IconButton>
</Tooltip> </Tooltip>
<Tooltip title="Toggle Theme" arrow disableInteractive>
<IconButton onClick={switchColorMode}> <IconButton onClick={switchColorMode}>
{theme.palette.mode === 'dark' ? <Brightness7 /> : <Brightness4 />} {theme.palette.mode === 'dark' ? (
<Brightness7 />
) : (
<Brightness4 />
)}
</IconButton> </IconButton>
</Tooltip>
</Box>
</Toolbar> </Toolbar>
</AppBar> </AppBar>
</Box> </Box>