Skip to content

Commit 8a9ec9a

Browse files
committed
use link where relevant
1 parent fdcfd49 commit 8a9ec9a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/landing/Hero.jsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from 'react';
22
import GithubStarCount from './GithubStarCount';
33
import RadialBlur from './RadialBlur';
44
import HomescreenSvg from '../../static/homescreen.svg';
5+
import Link from '@docusaurus/Link';
56

67
export default function Hero() {
78
return (
@@ -39,13 +40,13 @@ export default function Hero() {
3940
Try Windmill Cloud
4041
</a>
4142

42-
<a
43+
<Link
4344
href="docs/advanced/self_host"
44-
onClick={() => window.plausible('self-host')}
45+
onClick={() => window.plausible?.('self-host')}
4546
className="text-base font-semibold leading-7 text-gray-900 dark:text-gray-200 text !no-underline"
4647
>
4748
Self-host in 3 mins <span aria-hidden="true"></span>
48-
</a>
49+
</Link>
4950
</div>
5051
<div className="w-full font-medium text-slate-400 text-left mt-16 flex-container">
5152
Backed by

0 commit comments

Comments
 (0)