Skip to content

Commit 103cc24

Browse files
author
Medha Kothari
committed
change discord link to button
1 parent 16d05fb commit 103cc24

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/components/HomeQuestions.js

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/** @jsx jsx */
2-
import { jsx, Box, Heading, Text, Grid } from "theme-ui";
2+
import { jsx, Box, Heading, Text, Grid, Button } from "theme-ui";
3+
import Link from "@docusaurus/Link";
4+
import useBaseUrl from "@docusaurus/useBaseUrl";
35
import ExternalLink from "./ExternalLink";
46

57
export default function HomeQuestions() {
@@ -11,12 +13,9 @@ export default function HomeQuestions() {
1113
If you’re looking to build something on Foundation, make sure you join
1214
the Discord and check out the devs section.
1315
</Text>
14-
<ExternalLink
15-
href="https://discord.foundation.app/"
16-
sx={{ color: "#54BCFB" }}
17-
>
18-
discord ↗
19-
</ExternalLink>
16+
<Link to="https://discord.foundation.app/">
17+
<Button sx={{ width: ["100%", null, "auto"] }}>discord</Button>
18+
</Link>
2019
</Grid>
2120
</Box>
2221
);

0 commit comments

Comments
 (0)