Skip to content

Commit 7e8bfd4

Browse files
authored
Merge pull request #276 from UnstoppableSwap/gui/add-docs-icon
gui: add an icon that links to the documentation
2 parents 315272b + 012131c commit 7e8bfd4

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src-gui/src/renderer/components/navigation/NavigationFooter.tsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
import { Box, makeStyles, Tooltip } from "@material-ui/core";
22
import GitHubIcon from "@material-ui/icons/GitHub";
3-
import RedditIcon from "@material-ui/icons/Reddit";
43
import DaemonStatusAlert from "../alert/DaemonStatusAlert";
54
import FundsLeftInWalletAlert from "../alert/FundsLeftInWalletAlert";
65
import MoneroWalletRpcUpdatingAlert from "../alert/MoneroWalletRpcUpdatingAlert";
76
import UnfinishedSwapsAlert from "../alert/UnfinishedSwapsAlert";
8-
import DiscordIcon from "../icons/DiscordIcon";
97
import LinkIconButton from "../icons/LinkIconButton";
10-
import { DISCORD_URL } from "../pages/help/ContactInfoBox";
118
import BackgroundRefundAlert from "../alert/BackgroundRefundAlert";
129
import MatrixIcon from "../icons/MatrixIcon";
10+
import { BookRounded } from "@material-ui/icons";
1311

1412
const useStyles = makeStyles((theme) => ({
1513
outer: {
@@ -49,6 +47,13 @@ export default function NavigationFooter() {
4947
</LinkIconButton>
5048
</span>
5149
</Tooltip>
50+
<Tooltip title="Read our official documentation">
51+
<span>
52+
<LinkIconButton url="https://docs.unstoppableswap.net">
53+
<BookRounded />
54+
</LinkIconButton>
55+
</span>
56+
</Tooltip>
5257
</Box>
5358
</Box>
5459
);

0 commit comments

Comments
 (0)