Skip to content

Commit 8fdb168

Browse files
simcodvknabel
andauthored
Use internal link component (#17)
* Use internal link component * fix: missing link --------- Co-authored-by: Valentin Knabel <dev@vknabel.com>
1 parent 078e5e3 commit 8fdb168

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

src/components/sections/Benefits.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import SectionIntro from "../../components/SectionIntro";
1212
import Usp from "../../components/Usp";
1313
import Container from "../../components/Container";
1414
import Row from "../../components/Row";
15+
import Link from "@docusaurus/Link";
1516

1617
export default function Benefits() {
1718
return (
@@ -34,12 +35,9 @@ export default function Benefits() {
3435
>
3536
<p className="flex items-center font-medium mt-4 text-black dark:text-white">
3637
Find out more{" "}
37-
<a
38-
href="https://docs.metal-stack.io/stable/#Why-Bare-Metal?"
39-
className="mx-1"
40-
>
38+
<Link to="/docs/why-bare-metal" className="mx-1">
4139
here
42-
</a>
40+
</Link>
4341
<ChevronRight />
4442
</p>
4543
</Usp>

src/components/sections/GetStarted.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { Button } from "../../components/Button";
33
import Container from "../../components/Container";
44
import Row from "../../components/Row";
55
import Section from "../../components/Section";
6+
import Link from "@docusaurus/Link";
67

78
export default function GetStarted() {
89
return (
@@ -17,12 +18,10 @@ export default function GetStarted() {
1718
Although metal-stack is developed for large deployment environments,
1819
for demo-purposes, you may also run it on your local machine. Try
1920
our{" "}
20-
<a
21-
href="https://docs.metal-stack.io/stable/external/mini-lab/README/"
22-
className="font-mono bg-neutral-900 text-white text-sm py-1 px-2 rounded-md"
23-
>
21+
<Link to="/docs/references/mini-lab" className="font-mono bg-neutral-900 text-white text-sm py-1 px-2 rounded-md">
2422
mini-lab
25-
</a>{" "}
23+
</Link>
24+
{" "}
2625
on Github to explore the API and the core functionality of the
2726
software on your own. If you are considering metal-stack, feel free
2827
to let us know, – we love seeing what you build and are willing to

0 commit comments

Comments
 (0)