diff --git a/src/components/Nav/useNav.ts b/src/components/Nav/useNav.ts index bccc1231782..9ec78160e9e 100644 --- a/src/components/Nav/useNav.ts +++ b/src/components/Nav/useNav.ts @@ -49,7 +49,7 @@ export const useNav = () => { label: t("nav-overview-label"), description: t("nav-overview-description"), icon: BsCompass, - href: "/learn", + href: "/learn/", }, { label: t("nav-basics-label"), @@ -59,27 +59,27 @@ export const useNav = () => { { label: t("what-is-ethereum"), description: t("nav-what-is-ethereum-description"), - href: "/what-is-ethereum", + href: "/what-is-ethereum/", }, { label: t("what-is-ether"), description: t("nav-what-is-ether-description"), - href: "/eth", + href: "/eth/", }, { label: t("ethereum-wallets"), description: t("nav-ethereum-wallets-description"), - href: "/wallets", + href: "/wallets/", }, { label: t("nav-what-is-web3-label"), description: t("nav-what-is-web3-description"), - href: "/web3", + href: "/web3/", }, { label: t("smart-contracts"), description: t("nav-smart-contracts-description"), - href: "/smart-contracts", + href: "/smart-contracts/", }, ], }, @@ -91,27 +91,27 @@ export const useNav = () => { { label: t("nav-gas-fees-label"), description: t("nav-gas-fees-description"), - href: "/gas", + href: "/gas/", }, { label: t("bridges"), description: t("nav-bridges-description"), - href: "/bridges", + href: "/bridges/", }, { label: t("zero-knowledge-proofs"), description: t("nav-zkp-description"), - href: "/zero-knowledge-proofs", + href: "/zero-knowledge-proofs/", }, { label: t("run-a-node"), description: t("nav-run-a-node-description"), - href: "/run-a-node", + href: "/run-a-node/", }, { label: t("ethereum-security"), description: t("nav-security-description"), - href: "/security", + href: "/security/", }, ], }, @@ -119,7 +119,7 @@ export const useNav = () => { label: t("nav-quizzes-label"), description: t("nav-quizzes-description"), icon: BsMortarboard, - href: "/quizzes", + href: "/quizzes/", }, ], }, @@ -135,17 +135,17 @@ export const useNav = () => { { label: t("nav-find-wallet-label"), description: t("nav-find-wallet-description"), - href: "/wallets/find-wallet", + href: "/wallets/find-wallet/", }, { label: t("get-eth"), description: t("nav-get-eth-description"), - href: "/get-eth", + href: "/get-eth/", }, { label: t("decentralized-applications-dapps"), description: t("nav-dapps-description"), - href: "/dapps", + href: "/dapps/", }, { label: t("nav-guides-label"), @@ -154,22 +154,22 @@ export const useNav = () => { { label: t("nav-overview-label"), description: t("nav-guide-overview-description"), - href: "/guides", + href: "/guides/", }, { label: t("nav-guide-create-account-label"), description: t("nav-guide-create-account-description"), - href: "/guides/how-to-create-an-ethereum-account", + href: "/guides/how-to-create-an-ethereum-account/", }, { label: t("nav-guide-use-wallet-label"), description: t("nav-guide-use-wallet-description"), - href: "/guides/how-to-use-a-wallet", + href: "/guides/how-to-use-a-wallet/", }, { label: t("nav-guide-revoke-access-label"), description: t("nav-guide-revoke-access-description"), - href: "/guides/how-to-revoke-token-access", + href: "/guides/how-to-revoke-token-access/", }, ], }, @@ -183,22 +183,22 @@ export const useNav = () => { { label: t("stablecoins"), description: t("nav-stablecoins-description"), - href: "/stablecoins", + href: "/stablecoins/", }, { label: t("nft-page"), description: t("nav-nft-description"), - href: "/nft", + href: "/nft/", }, { label: t("defi-page"), description: t("nav-defi-description"), - href: "/defi", + href: "/defi/", }, { label: t("dao-page"), description: t("nav-dao-description"), - href: "/dao", + href: "/dao/", }, { label: t("nav-emerging-label"), @@ -207,22 +207,22 @@ export const useNav = () => { { label: t("decentralized-identity"), description: t("nav-did-description"), - href: "/decentralized-identity", + href: "/decentralized-identity/", }, { label: t("decentralized-social-networks"), description: t("nav-desoc-description"), - href: "/social-networks", + href: "/social-networks/", }, { label: t("decentralized-science"), description: t("nav-desci-description"), - href: "/desci", + href: "/desci/", }, { label: t("regenerative-finance"), description: t("nav-refi-description"), - href: "/refi", + href: "/refi/", }, ], }, @@ -236,22 +236,22 @@ export const useNav = () => { { label: t("nav-staking-home-label"), description: t("nav-staking-home-description"), - href: "/staking", + href: "/staking/", }, { label: t("nav-staking-solo-label"), description: t("nav-staking-solo-description"), - href: "/staking/solo", + href: "/staking/solo/", }, { label: t("nav-staking-saas-label"), description: t("nav-staking-saas-description"), - href: "/staking/saas", + href: "/staking/saas/", }, { label: t("nav-staking-pool-label"), description: t("nav-staking-pool-description"), - href: "/staking/pools", + href: "/staking/pools/", }, ], }, @@ -259,7 +259,7 @@ export const useNav = () => { label: t("layer-2"), description: t("nav-layer-2-description"), icon: BsLayers, - href: "/layer-2", + href: "/layer-2/", }, ], }, @@ -271,7 +271,7 @@ export const useNav = () => { label: t("nav-builders-home-label"), description: t("nav-builders-home-description"), icon: BsCodeSquare, - href: "/developers", + href: "/developers/", }, { label: t("get-started"), @@ -281,22 +281,22 @@ export const useNav = () => { { label: t("tutorials"), description: t("nav-tutorials-description"), - href: "/developers/tutorials", + href: "/developers/tutorials/", }, { label: t("learn-by-coding"), description: t("nav-learn-by-coding-description"), - href: "/developers/learning-tools", + href: "/developers/learning-tools/", }, { label: t("set-up-local-env"), description: t("nav-local-env-description"), - href: "/developers/local-environment", + href: "/developers/local-environment/", }, { label: t("grants"), description: t("nav-grants-description"), - href: "/community/grants", + href: "/community/grants/", }, ], }, @@ -308,22 +308,22 @@ export const useNav = () => { { label: t("nav-overview-label"), description: t("nav-docs-overview-description"), - href: "/developers/docs", + href: "/developers/docs/", }, { label: t("nav-docs-foundation-label"), description: t("nav-docs-foundation-description"), - href: "/developers/docs/intro-to-ethereum", + href: "/developers/docs/intro-to-ethereum/", }, { label: t("nav-docs-stack-label"), description: t("nav-docs-stack-description"), - href: "/developers/docs/ethereum-stack", + href: "/developers/docs/ethereum-stack/", }, { label: t("nav-docs-design-label"), description: t("nav-docs-design-description"), - href: "/developers/docs/design-and-ux", + href: "/developers/docs/design-and-ux/", }, ], }, @@ -335,12 +335,12 @@ export const useNav = () => { { label: t("mainnet-ethereum"), description: t("nav-mainnet-description"), - href: "/enterprise", + href: "/enterprise/", }, { label: t("private-ethereum"), description: t("nav-private-description"), - href: "/enterprise/private-ethereum", + href: "/enterprise/private-ethereum/", }, ], }, @@ -354,7 +354,7 @@ export const useNav = () => { label: t("community-hub"), description: t("nav-participate-overview-description"), icon: PiUsersFourLight, - href: "/community", + href: "/community/", }, { label: t("nav-events-label"), @@ -364,12 +364,12 @@ export const useNav = () => { { label: t("ethereum-online"), description: t("nav-events-online-description"), - href: "/community/online", + href: "/community/online/", }, { label: t("ethereum-events"), description: t("nav-events-irl-description"), - href: "/community/events", + href: "/community/events/", }, ], }, @@ -381,17 +381,17 @@ export const useNav = () => { { label: t("nav-contribute-label"), description: t("nav-contribute-description"), - href: "/contributing", + href: "/contributing/", }, { label: t("translation-program"), description: t("nav-translation-program-description"), - href: "/contributing/translation-program", + href: "/contributing/translation-program/", }, { label: t("about-ethereum-org"), description: t("nav-about-description"), - href: "/about", + href: "/about/", }, ], }, @@ -405,7 +405,7 @@ export const useNav = () => { label: t("ethereum-whitepaper"), description: t("nav-whitepaper-description"), icon: BsBook, - href: "/whitepaper", + href: "/whitepaper/", }, { label: t("nav-roadmap-label"), @@ -415,27 +415,27 @@ export const useNav = () => { { label: t("nav-overview-label"), description: t("nav-roadmap-overview-description"), - href: "/roadmap", + href: "/roadmap/", }, { label: t("nav-roadmap-security-label"), description: t("nav-roadmap-security-description"), - href: "/roadmap/security", + href: "/roadmap/security/", }, { label: t("nav-roadmap-scaling-label"), description: t("nav-roadmap-scaling-description"), - href: "/roadmap/scaling", + href: "/roadmap/scaling/", }, { label: t("nav-roadmap-ux-label"), description: t("nav-roadmap-ux-description"), - href: "/roadmap/user-experience", + href: "/roadmap/user-experience/", }, { label: t("nav-roadmap-future-label"), description: t("nav-roadmap-future-description"), - href: "/roadmap/future-proofing", + href: "/roadmap/future-proofing/", }, ], }, @@ -447,22 +447,22 @@ export const useNav = () => { { label: t("nav-history-label"), description: t("nav-history-description"), - href: "/history", + href: "/history/", }, { label: t("nav-open-research-label"), description: t("nav-open-research-description"), - href: "/community/research", + href: "/community/research/", }, { label: t("nav-eip-label"), description: t("nav-eip-description"), - href: "/eips", + href: "/eips/", }, { label: t("nav-governance-label"), description: t("nav-governance-description"), - href: "/governance", + href: "/governance/", }, ], },