Skip to content

Commit

Permalink
Fix broken anchor links
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Dec 31, 2024
1 parent dde7b2d commit f0ed79e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion website/src/components/InternalLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ interface Props {
export const InternalLinks = {
Selector: memo(({ text = 'selector' }) => (
<Link
id="selector-function"
to="/introduction/getting-started#selector-function"
title="Selector Function"
>
Expand All @@ -17,6 +18,7 @@ export const InternalLinks = {
)),
InputSelectors: memo(({ text = 'input selectors' }) => (
<Link
id="input-selectors"
to="/introduction/getting-started#input-selectors"
title="Input Selectors"
>
Expand All @@ -25,6 +27,7 @@ export const InternalLinks = {
)),
OutputSelector: memo(({ text = 'output selector' }) => (
<Link
id="output-selector"
to="/introduction/getting-started#output-selector"
title="Output Selector"
>
Expand All @@ -33,14 +36,19 @@ export const InternalLinks = {
)),
ResultFunction: memo(({ text = 'result function' }) => (
<Link
id="result-function"
to="/introduction/getting-started#result-function"
title="Result Function"
>
{text}
</Link>
)),
Dependencies: memo(({ text = 'dependencies' }) => (
<Link to="/introduction/getting-started#dependencies" title="Dependencies">
<Link
id="dependencies"
to="/introduction/getting-started#dependencies"
title="Dependencies"
>
{text}
</Link>
)),
Expand Down

0 comments on commit f0ed79e

Please sign in to comment.