Skip to content

Commit 2cd8335

Browse files
authored
Fix home page links with bare path (#349)
1 parent da2277d commit 2cd8335

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/pages/index.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ export default function Home(): JSX.Element {
2323
body={siteConfig.tagline}
2424
copyText="npm add react-swipeable"
2525
navItems={[
26-
{ link: "/docs", title: "Documentation" },
27-
{ link: "/docs/examples/simple-carousel", title: "Demo" },
26+
{ link: "/open-source/react-swipeable/docs", title: "Documentation" },
27+
{ link: "/open-source/react-swipeable/docs/examples/simple-carousel", title: "Demo" },
2828
{
2929
link: "https://github.com/FormidableLabs/react-swipeable",
3030
title: "Github",
@@ -67,7 +67,7 @@ export default function Home(): JSX.Element {
6767
showDivider
6868
heading="Get Started"
6969
body="Implement a robust, flexible and dynamic Swipeable component today!"
70-
cta={{ link: "/docs", text: "Documentation" }}
70+
cta={{ link: "/open-source/react-swipeable/docs", text: "Documentation" }}
7171
/>
7272
<LandingFeaturedProjects
7373
heading="Other Open Source from Nearform_Commerce"

0 commit comments

Comments
 (0)