mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-27 19:20:32 -05:00
feat: cargo project at root
This commit is contained in:
parent
aa0c0623ca
commit
709a2820c4
313 changed files with 1 additions and 740 deletions
|
|
@ -0,0 +1,47 @@
|
|||
import RedditIcon from '@material-ui/icons/Reddit';
|
||||
import GitHubIcon from '@material-ui/icons/GitHub';
|
||||
import { Box, makeStyles } from '@material-ui/core';
|
||||
import LinkIconButton from '../icons/LinkIconButton';
|
||||
import UnfinishedSwapsAlert from '../alert/UnfinishedSwapsAlert';
|
||||
import FundsLeftInWalletAlert from '../alert/FundsLeftInWalletAlert';
|
||||
import RpcStatusAlert from '../alert/RpcStatusAlert';
|
||||
import DiscordIcon from '../icons/DiscordIcon';
|
||||
import { DISCORD_URL } from '../pages/help/ContactInfoBox';
|
||||
import MoneroWalletRpcUpdatingAlert from '../alert/MoneroWalletRpcUpdatingAlert';
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
outer: {
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
padding: theme.spacing(1),
|
||||
gap: theme.spacing(1),
|
||||
},
|
||||
linksOuter: {
|
||||
display: 'flex',
|
||||
justifyContent: 'space-evenly',
|
||||
},
|
||||
}));
|
||||
|
||||
export default function NavigationFooter() {
|
||||
const classes = useStyles();
|
||||
|
||||
return (
|
||||
<Box className={classes.outer}>
|
||||
<FundsLeftInWalletAlert />
|
||||
<UnfinishedSwapsAlert />
|
||||
<RpcStatusAlert />
|
||||
<MoneroWalletRpcUpdatingAlert />
|
||||
<Box className={classes.linksOuter}>
|
||||
<LinkIconButton url="https://reddit.com/r/unstoppableswap">
|
||||
<RedditIcon />
|
||||
</LinkIconButton>
|
||||
<LinkIconButton url="https://github.com/UnstoppableSwap/unstoppableswap-gui">
|
||||
<GitHubIcon />
|
||||
</LinkIconButton>
|
||||
<LinkIconButton url={DISCORD_URL}>
|
||||
<DiscordIcon />
|
||||
</LinkIconButton>
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue