Skip to content

Commit

Permalink
fix: update Resources nav according to dev user journeys doc (#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
ffe9f8 authored Feb 1, 2024
1 parent de8b868 commit ae6bf2b
Show file tree
Hide file tree
Showing 11 changed files with 88 additions and 23 deletions.
54 changes: 41 additions & 13 deletions src/layouts/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export const getNavigation = (section) => {
title: "Register broadcaster proxy",
href: "/validator/setup/register-broadcaster",
},
{ title: "Stake AXL tokens", href: "/validator/setup/stake-axl" },
{ title: "Health check", href: "/validator/setup/health-check" },
{ title: "Manual setup", href: "/validator/setup/manual" },
],
},
Expand Down Expand Up @@ -318,20 +318,48 @@ export const getNavigation = (section) => {
nav.push({
header: "Resources",
children: [
{ title: "Mainnet", href: "/resources/mainnet" },
{ title: "Testnet", href: "/resources/testnet" },
{ title: "RPC Endpoints", href: "/resources/" },
{
title: "Community Pool Proposals",
href: "/resources/governance/community-pool-proposals",
title: "Contract addresses",
children: [
{ title: "Mainnet", href: "/resources/contract-addresses/mainnet" },
{ title: "Testnet", href: "/resources/contract-addresses/testnet" },
],
},
{
title: "RPCs",
children: [
{ title: "RPC Endpoints", href: "/resources/rpc/resources" },
{ title: "Free Public RPC", href: "/resources/rpc/lava-iprpc" },
],
},
{
title: "Tokens",
children: [
{ title: "Stake AXL tokens", href: "/resources/tokens/stake-axl" },
{ title: "Wrap / unwrap tokens", href: "/resources/tokens/wrapped-tokens" },
],
},
{
title: "Axelarscan",
children: [
{ title: "Add Account to Axelarscan", href: "/resources/axelarscan/axelarscan-add" },
],
},
{
title: "Misc",
children: [
{ title: "Satellite", href: "/resources/satellite" },
{ title: "MetaMask", href: "/resources/metamask" },
{ title: "Add Network to Keplr Wallet", href: "/resources/keplr" },
],
},
{
title: "Community",
children: [
{ title: "Community Pool Proposals", href: " /resources/community/community-pool-proposals" },
{ title: "Bug Bounty", href: "/resources/community/bug-bounty" },
],
},
{ title: "Satellite", href: "/resources/satellite" },
{ title: "MetaMask", href: "/resources/metamask" },
{ title: "Add Network to Keplr Wallet", href: "/resources/keplr" },
{ title: "Wrap/unwrap tokens", href: "/resources/wrapped-tokens" },
{ title: "Using ipRPC (Free Public RPC)", href: "/resources/lava-iprpc" },
{ title: "Bug Bounty", href: "/bug-bounty" },
{ title: "Add Account to Axelarscan", href: "/resources/axelarscan-add" },
],
});

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Testnet

import { Callout } from '/src/components/callout'
import IBCChannels from '../../components/ibc/channels'
import TransferFeeCalculator from '../../components/transfer-fee/calculator'
import EVMChains from '../../components/evm/chains'
import EVMAssets from '../../components/evm/assets'
import IBCChannels from '/src/components/ibc/channels'
import TransferFeeCalculator from '/src/components/transfer-fee/calculator'
import EVMChains from '/src/components/evm/chains'
import EVMAssets from '/src/components/evm/assets'
import UpgradePathTestnet from '/src/upgrade-path-testnet.md'

| Variable | Value |
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { Callout } from "/src/components/callout"

import Resources from "../components/resources";



import Resources from "/src/components/resources/index.jsx";

# Resources

Expand Down
File renamed without changes.
File renamed without changes.
44 changes: 42 additions & 2 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,43 @@
"framework": null,
"redirects": [
{
"source": "/dev/general-message-passing/cosmos-gmp",
"destination": "/dev/cosmos-gmp",
"source": "/resources/mainnet",
"destination": " /resources/contract-addresses/mainnet",
"permanent": true
},
{
"source": "/resources/testnet",
"destination": "/resources/contract-addresses/testnet",
"permanent": true
},
{
"source": "/resources/governance/community-pool-proposals",
"destination": " /resources/community/community-pool-proposals",
"permanent": true
},
{
"source": "/resources/bug-bounty",
"destination": "/resources/community/bug-bounty",
"permanent": true
},
{
"source": "/resources/axelarscan-add",
"destination": "/resources/axelarscan/axelarscan-add",
"permanent": true
},
{
"source": "/resources/wrapped-tokens",
"destination": "/resources/tokens/wrapped-tokens",
"permanent": true
},
{
"source": "/resources",
"destination": "/resources/rpc/resources",
"permanent": true
},
{
"source": "/resources/lava-iprpc",
"destination": "/resources/rpc/lava-iprpc",
"permanent": true
},
{
Expand Down Expand Up @@ -76,6 +111,11 @@
"destination": "/validator/status/health-check",
"permanent": true
},
{
"source": "/validator/setup/stake-axl",
"destination": "/resources/tokens/stake-axl",
"permanent": true
},
{
"source": "/validator/troubleshoot/leave",
"destination": "/validator/status/leave",
Expand Down

0 comments on commit ae6bf2b

Please sign in to comment.