Skip to content

Commit

Permalink
Add dynamic link to homepage (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubhabrata08 authored Jan 30, 2024
1 parent de0c28f commit b8d06b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/docsite/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -19,7 +20,7 @@ function HomepageHeader() {
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
to="/docs/Fluent-React-Charting">
to={`/docs/${sidebars.tutorialSidebar[0]}`}>
Getting Started 🚈
</Link>
</div>
Expand Down

0 comments on commit b8d06b9

Please sign in to comment.