Skip to content

Commit faea2ff

Browse files
committed
Add link buttons to home page
1 parent 1b253f8 commit faea2ff

1 file changed

Lines changed: 29 additions & 1 deletion

File tree

docs/sliver-docs/pages/index.tsx

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ import AsciinemaPlayer from "@/components/asciinema";
22
import { SliversIcon } from "@/components/icons/slivers";
33
import TutorialCard from "@/components/tutorial-card";
44
import { Themes } from "@/util/themes";
5-
import { Card, CardBody, CardHeader, Divider } from "@heroui/react";
5+
import { faDownload, faExternalLink } from "@fortawesome/free-solid-svg-icons";
6+
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
7+
import { Button, Card, CardBody, CardHeader, Divider, Link } from "@heroui/react";
68
import { useTheme } from "next-themes";
79
import { useRouter } from "next/router";
810
import React from "react";
@@ -64,6 +66,32 @@ export default function Home() {
6466
making it an indispensable tool for conducting comprehensive
6567
offensive security operations.
6668
</p>
69+
<div className="mt-4 flex w-full gap-3">
70+
<Button
71+
className="flex-1"
72+
color="primary"
73+
variant="shadow"
74+
as={Link}
75+
href="https://github.com/BishopFox/sliver/releases/latest"
76+
target="_blank"
77+
rel="noopener noreferrer"
78+
startContent={<FontAwesomeIcon icon={faDownload} />}
79+
>
80+
Download Latest Release
81+
</Button>
82+
<Button
83+
className="flex-1"
84+
color="secondary"
85+
variant="ghost"
86+
as={Link}
87+
href="https://github.com/sliverarmory"
88+
target="_blank"
89+
rel="noopener noreferrer"
90+
endContent={<FontAwesomeIcon icon={faExternalLink} />}
91+
>
92+
Visit the Armory
93+
</Button>
94+
</div>
6795
</CardBody>
6896
</Card>
6997
</div>

0 commit comments

Comments
 (0)