Skip to content

Commit

Permalink
feat: update developers nav (#739)
Browse files Browse the repository at this point in the history
  • Loading branch information
ffe9f8 authored Feb 1, 2024
1 parent 55fb2da commit 3007978
Show file tree
Hide file tree
Showing 15 changed files with 131 additions and 63 deletions.
124 changes: 66 additions & 58 deletions src/layouts/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,9 @@ export const getNavigation = (section) => {
title: "General Message Passing",
children: [
{
title: "Overview",
title: "Introduction",
href: "/dev/general-message-passing/overview",
},
{
title: "Local Development",
href: "/dev/general-message-passing/local-dev",
},
{
title: "Examples",
href: "/dev/general-message-passing/examples",
Expand All @@ -72,92 +68,97 @@ export const getNavigation = (section) => {
href: "/dev/general-message-passing/gmp-tokens-with-messages",
},
{
title: "Gas Services",
title: "Monitor Transaction State",
href: "/dev/general-message-passing/monitoring",
},
{
title: "Debug",
children: [
{
title: "Introduction",
href: "/dev/general-message-passing/gas-services/intro",
title: "Error Messages",
href: "/dev/general-message-passing/debug/error-debugging",
},
{
title: "Pay Gas",
href: "/dev/general-message-passing/gas-services/pay-gas",
title: "Debug a Smart Contract",
href: "/dev/general-message-passing/debug/debugging-your-smart-contract",
},
{
title: "Increase Gas",
href: "/dev/general-message-passing/gas-services/increase-gas",
title: "Fork Mainnet for Local Testing",
href: "/dev/general-message-passing/debug/fork-mainnet",
},
{
title: "Refund",
href: "/dev/general-message-passing/gas-services/refund",
title: "Transaction Recovery",
href: "/dev/general-message-passing/debug/transaction-recovery",
},
],
},
{
title: "Debugging",
title: "Developer Guides",
children: [
{
title: "Error messages",
href: "/dev/general-message-passing/debug/error-debugging",
title: "Cross-Chain Swaps with CCTP",
href: "/dev/general-message-passing/developer-guides/example-usdc-cctp",
},
{
title: "Smart Contract",
href: "/dev/general-message-passing/debug/debugging-your-smart-contract",
},
{
title: "Forking Mainnet",
href: "/dev/general-message-passing/debug/fork-mainnet",
title: "Hello World GMP Example",
href: "/dev/general-message-passing/developer-guides/example-gmp",
},
],
},
],
},
{
title: "Gas Service",
children: [
{
title: "Recovery",
href: "/dev/general-message-passing/recovery",
title: "Introduction",
href: "/dev/gas-service/intro",
},
{
title: "Monitoring",
href: "/dev/general-message-passing/monitoring",
title: "Pay Gas",
href: "/dev/gas-service/pay-gas",
},
{
title: "Solidity Utilities",
href: "/dev/general-message-passing/solidity-utilities",
title: "Increase Gas",
href: "/dev/gas-service/increase-gas",
},
{
title: "Sandbox",
href: "/dev/general-message-passing/axelar-sandbox/intro",
title: "Refund Gas",
href: "/dev/gas-service/refund",
},
{
title: "Cosmos GMP",
href: "/dev/general-message-passing/cosmos-gmp",
title: "Transaction Pricing",
href: "/dev/gas-service/pricing",
},
],
},
{
title: "AxelarJS SDK",
children: [
{ title: "Introduction", href: "/dev/axelarjs-sdk/intro" },
{
title: "USDC CCTP",
href: "/dev/general-message-passing/example-usdc-cctp",
title: "Token Transfer via Deposit Address",
href: "/dev/axelarjs-sdk/token-transfer-dep-addr",
},
{
title: "AxelarJS SDK",
children: [
{ title: "Introduction", href: "/dev/axelarjs-sdk/intro" },
{
title: "Token Transfer via Deposit Address",
href: "/dev/axelarjs-sdk/token-transfer-dep-addr",
},
{
title: "GMP transaction status and recovery",
href: "/dev/axelarjs-sdk/tx-status-query-recovery",
},
{
title: "Axelar Query API",
href: "/dev/axelarjs-sdk/axelar-query-api",
},
],
title: "GMP Transaction Status and Recovery",
href: "/dev/axelarjs-sdk/tx-status-query-recovery",
},
{
title: "Axelar Query API",
href: "/dev/axelarjs-sdk/axelar-query-api",
},
],
},
{
title: "Cosmos GMP",
href: "/dev/cosmos-gmp",
},
{
title: "Indexers",
children: [
{
title: "Overview",
title: "Introduction",
href: "/dev/indexers/overview",
},
{
Expand All @@ -167,7 +168,7 @@ export const getNavigation = (section) => {
],
},
{
title: "Reference",
title: "Chain and Contract Reference",
children: [
{
title: "Mainnet Chain Names",
Expand All @@ -185,13 +186,20 @@ export const getNavigation = (section) => {
title: "Testnet Contract Addresses",
href: "/dev/reference/testnet-contract-addresses",
},
{
title: "Transaction Pricing",
href: "/dev/reference/pricing",
},
{ title: "Glossary", href: "/dev/reference/glossary" },
],
},
{
title: "Solidity Utilities",
href: "/dev/solidity-utilities",
},
{
title: "Sandbox",
href: "/dev/axelar-sandbox/intro",
},
{
title: "Glossary",
href: "/dev/glossary"
},
],
});
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
70 changes: 65 additions & 5 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,71 @@
{
"framework": null,
"redirects": [
{
"source": "/dev/general-message-passing/cosmos-gmp",
"destination": "/dev/cosmos-gmp",
"permanent": true
},
{
"source": "/dev/general-message-passing/cosmos-gmp",
"destination": "/dev/cosmos-gmp",
"permanent": true
},
{
"source": "/dev/general-message-passing/gas-services/intro",
"destination": "/dev/gas-service/intro",
"permanent": true
},
{
"source": "/dev/general-message-passing/gas-services/pay-gas",
"destination": "/dev/gas-service/pay-gas",
"permanent": true
},
{
"source": "/dev/general-message-passing/gas-services/increase-gas",
"destination": "/dev/gas-service/increase-gas",
"permanent": true
},
{
"source": "/dev/general-message-passing/gas-services/refund",
"destination": "/dev/gas-service/refund",
"permanent": true
},
{
"source": " /dev/general-message-passing/gas-services/pricing",
"destination": "/dev/gas-service/pricing",
"permanent": true
},
{
"source": "/dev/general-message-passing/solidity-utilities",
"destination": "/dev/solidity-utilities",
"permanent": true
},
{
"source": "/dev/general-message-passing/axelar-sandbox/intro",
"destination": "/dev/axelar-sandbox/intro",
"permanent": true
},
{
"source": "/dev/general-message-passing/local-dev",
"destination": "/dev/general-message-passing/developer-guides/example-gmp",
"permanent": true
},
{
"source": "/dev/general-message-passing/example-usdc-cctp",
"destination": "/dev/general-message-passing/developer-guides/example-usdc-cctp",
"permanent": true
},
{
"source": "/dev/general-message-passing/recovery",
"destination": "/dev/general-message-passing/debug/transaction-recovery",
"permanent": true
},
{
"source": "/dev/reference/pricing",
"destination": "/dev/gas-service/pricing",
"permanent": true
},
{
"source": "/learn/validators",
"destination": "/validator/status/register-external-chains",
Expand Down Expand Up @@ -166,11 +231,6 @@
"destination": "/dev/general-message-passing/debug/:path",
"permanent": true
},
{
"source": "/dev/gas-services/:path(.*)",
"destination": "/dev/general-message-passing/gas-services/:path",
"permanent": true
},
{
"source": "/dev/hello-world",
"destination": "/dev/general-message-passing/local-dev",
Expand Down

0 comments on commit 3007978

Please sign in to comment.