Skip to content

Commit

Permalink
Add /wallets to the main menu
Browse files Browse the repository at this point in the history
  • Loading branch information
catalinred committed Aug 22, 2024
1 parent c4d4237 commit 427c854
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,9 @@
},
{
"title": "Actions and Blockchain Links"
},
{
"title": "Wallets"
}
]
},
Expand Down
3 changes: 2 additions & 1 deletion src/components/header/HeaderList.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ const HeaderList = () => {
const [showLearn, updateShowLearn] = useState(false);

const isLearnActive = asPath.includes("/learn") || asPath === "/environment";
const isSolutionsActive = asPath.includes("/solutions");
const isSolutionsActive =
asPath.includes("/solutions") || asPath.includes("/wallets");
const isBuildActive =
asPath.includes("/developers") ||
asPath.includes("/docs") ||
Expand Down
9 changes: 9 additions & 0 deletions src/components/header/HeaderListSolutions.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ const HeaderListSolutions = () => {
{solutionsToolsItems[9].title}
</strong>
</Link>
<Link
to="/wallets"
className="nav-link nav-link--secondary"
activeClassName="active"
>
<strong className="d-block text-white">
{solutionsToolsItems[10].title}
</strong>
</Link>
<Link
to="/solutions/solana-permissioned-environments"
className="nav-link nav-link--secondary"
Expand Down

0 comments on commit 427c854

Please sign in to comment.