Skip to content

Commit 747363c

Browse files
authored
chore: fixed minor naming issue in menu documentation (#493)
* chore: fixed minor naming issue in menu documentation * chore: fixed build error and added docs link on landing page
1 parent 1859f4f commit 747363c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

apps/ascent/app/landing/components/tabs/TabsSection.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ export const TabsSection = () => {
6767
}, []) // Empty dependency array ensures this runs only once on mount
6868

6969
const handleTabSelection = (label: string) => {
70-
// Handle navigation for changelog tab
71-
if (label === 'changelog') {
72-
router.push('/changelog')
70+
// Handle navigation for docs tab
71+
if (label === 'docs') {
72+
router.push('/docs')
7373
return
7474
}
7575

apps/ascent/app/landing/data/tabs-list.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const TabsList = [
1616
text: 'Playground',
1717
},
1818
{
19-
label: 'changelog',
20-
text: 'Changelog',
19+
label: 'docs',
20+
text: 'Dev Docs',
2121
},
2222
]

apps/ascent/public/search-index.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1773,7 +1773,7 @@
17731773
{
17741774
"title": "MenuItemType",
17751775
"level": 3,
1776-
"id": "MenuItemType"
1776+
"id": "menuitemtype"
17771777
},
17781778
{
17791779
"title": "Features",
@@ -1878,12 +1878,12 @@
18781878
{
18791879
"title": "MenuItemVariant",
18801880
"level": 3,
1881-
"id": "MenuItemVariant"
1881+
"id": "menuitemvariant"
18821882
},
18831883
{
18841884
"title": "MenuItemActionType",
18851885
"level": 3,
1886-
"id": "MenuItemActionType"
1886+
"id": "menuitemactiontype"
18871887
},
18881888
{
18891889
"title": "Best Practices",

0 commit comments

Comments
 (0)