blob: 44e2cc273d1522a7078b7743cc95f168837e20de (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
import { DiscordIcon, GitHubIcon } from "nextra/icons";
function Github() {
return (
<a
href="https://github.com/retrofor/HydroRoll"
className="hidden p-2 text-current sm:flex hover:opacity-75"
title="HydroRoll GitHub repo"
target="_blank"
rel="noreferrer"
>
{/* Nextra icons have a <title> attribute providing alt text */}
<GitHubIcon />
</a>
);
}
function Discord() {
return (
<a
href="https://hydroroll.retrofor.space/discord"
className="hidden p-2 text-current sm:flex hover:opacity-75"
title="HydroRoll Discord server"
target="_blank"
rel="noreferrer"
>
<DiscordIcon />
</a>
);
}
export { Github, Discord };
|