Skip to content

Commit

Permalink
Fixed bug in highlighting current navbar selection
Browse files Browse the repository at this point in the history
explanation of issue: concepts navbar item was always highlighted blue and concepts and dev tools items were only highlighted blue when on the first page of their respective page structures

Signed-off-by: 0xbentobyte <[email protected]>
  • Loading branch information
0xbentobyte authored Jan 2, 2025
1 parent 4077dec commit da08e65
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,22 +109,24 @@ const config = {
},
items: [
{
to: '/',
label: 'Concepts',
type: 'doc',
docId: 'Introduction',
position: 'left',
className: 'V3_active',
label: 'Concepts',
},
{
to: '/contracts/protocol-overview',
label: 'Contracts',
type: 'doc',
docId: 'protocol-overview',
docsPluginId: 'contracts',
position: 'left',
className: 'V3_active',
label: 'Contracts',
},
{
to: '/dev/overview',
label: 'Dev Tools',
type: 'doc',
docId: 'overview',
docsPluginId: 'dev',
position: 'left',
className: 'V3_active',
label: 'Dev Tools',
},
{
to: 'https://github.com/0xIntuition',
Expand Down

0 comments on commit da08e65

Please sign in to comment.