From b8d06b926f32013cb2dbf9d3184092cd9c4f754a Mon Sep 17 00:00:00 2001 From: Shubhabrata Ghosh <35366351+Shubhabrata08@users.noreply.github.com> Date: Tue, 30 Jan 2024 11:02:55 +0530 Subject: [PATCH] Add dynamic link to homepage (#36) --- apps/docsite/src/pages/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/docsite/src/pages/index.tsx b/apps/docsite/src/pages/index.tsx index a49b555213..ac26f2c494 100644 --- a/apps/docsite/src/pages/index.tsx +++ b/apps/docsite/src/pages/index.tsx @@ -6,6 +6,7 @@ import HomepageFeatures from '@site/src/components/HomepageFeatures'; import Heading from '@theme/Heading'; import styles from './index.module.css'; +import sidebars from '@site/sidebars'; function HomepageHeader() { const {siteConfig} = useDocusaurusContext(); @@ -19,7 +20,7 @@ function HomepageHeader() {
+ to={`/docs/${sidebars.tutorialSidebar[0]}`}> Getting Started 🚈