Skip to content

Commit 8ccb5f4

Browse files
author
swyx
committed
add discord to page
1 parent bb18d84 commit 8ccb5f4

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

website/docusaurus.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ module.exports = {
6868
label: "Help",
6969
position: "right",
7070
},
71+
{
72+
to: "https://discord.gg/y88evmj",
73+
label: "Discord",
74+
position: "right",
75+
},
7176
// {to: 'blog', label: 'Blog', position: 'right'},
7277
],
7378
},

website/src/pages/index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@ export default function Home() {
1919
<h1 className="hero__title">{siteConfig.title}</h1>
2020
<p className="hero__subtitle">{siteConfig.tagline}</p>
2121
</div>
22-
<div>
22+
<div
23+
style={{
24+
display: "grid",
25+
gridTemplateColumns: "1fr 1fr",
26+
gridGap: "20px",
27+
}}
28+
>
2329
<Link
2430
to={useBaseUrl(siteConfig.customFields.firstDoc)}
2531
className="button button--lg button--outline button--primary"

0 commit comments

Comments
 (0)