From 8acac316dd8b247131af529a916c26dd0a900b42 Mon Sep 17 00:00:00 2001 From: Charlie Brown Date: Mon, 1 Apr 2024 12:40:46 -0500 Subject: [PATCH 1/2] Fix home page links with bare path --- docs/src/pages/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/pages/index.tsx b/docs/src/pages/index.tsx index d6e71763..1fa1d079 100644 --- a/docs/src/pages/index.tsx +++ b/docs/src/pages/index.tsx @@ -23,8 +23,8 @@ export default function Home(): JSX.Element { body={siteConfig.tagline} copyText="npm add react-swipeable" navItems={[ - { link: "/docs", title: "Documentation" }, - { link: "/docs/examples/simple-carousel", title: "Demo" }, + { link: "/open-source/react-swipeable/docs", title: "Documentation" }, + { link: "/open-source/react-swipeable/docs/examples/simple-carousel", title: "Demo" }, { link: "https://github.com/FormidableLabs/react-swipeable", title: "Github", From b14a51eeb8a3c11a91efc99f368b15d24722f792 Mon Sep 17 00:00:00 2001 From: Charlie Brown Date: Mon, 1 Apr 2024 12:42:46 -0500 Subject: [PATCH 2/2] Another missed link --- docs/src/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/index.tsx b/docs/src/pages/index.tsx index 1fa1d079..414a6a63 100644 --- a/docs/src/pages/index.tsx +++ b/docs/src/pages/index.tsx @@ -67,7 +67,7 @@ export default function Home(): JSX.Element { showDivider heading="Get Started" body="Implement a robust, flexible and dynamic Swipeable component today!" - cta={{ link: "/docs", text: "Documentation" }} + cta={{ link: "/open-source/react-swipeable/docs", text: "Documentation" }} />