From 33f6c29934e7179a68c79add4c2fbd3c2dc98d3d Mon Sep 17 00:00:00 2001 From: Xavier Brochard Date: Fri, 4 Oct 2024 10:02:18 +0200 Subject: [PATCH] feat: try alternate top-level structure (#12) * feat: try alternate top-level structure * Update index.tsx --- {docs => docks-bak}/eca1/index.md | 0 {docs => docks-bak}/eca3/index.md | 0 .../sdk/how-to/_category_.json | 0 .../how-to/create-an-ethereum-transaction.md | 0 .../sdk/how-to/get-an-ethereum-transaction.md | 0 .../sdk/how-to/initialize-a-custodian.md | 0 {docs => docks-bak}/sdk/how-to/set-up.md | 0 {docs => docks-bak}/sdk/index.md | 0 .../sdk/reference/_category_.json | 0 .../sdk/reference/architecture.md | 0 .../reference/listing-suported-custodians.md | 0 docusaurus.config.js | 44 +++++----- src/components/HomepageCards/index.tsx | 80 +++++++++---------- 13 files changed, 62 insertions(+), 62 deletions(-) rename {docs => docks-bak}/eca1/index.md (100%) rename {docs => docks-bak}/eca3/index.md (100%) rename {docs => docks-bak}/sdk/how-to/_category_.json (100%) rename {docs => docks-bak}/sdk/how-to/create-an-ethereum-transaction.md (100%) rename {docs => docks-bak}/sdk/how-to/get-an-ethereum-transaction.md (100%) rename {docs => docks-bak}/sdk/how-to/initialize-a-custodian.md (100%) rename {docs => docks-bak}/sdk/how-to/set-up.md (100%) rename {docs => docks-bak}/sdk/index.md (100%) rename {docs => docks-bak}/sdk/reference/_category_.json (100%) rename {docs => docks-bak}/sdk/reference/architecture.md (100%) rename {docs => docks-bak}/sdk/reference/listing-suported-custodians.md (100%) diff --git a/docs/eca1/index.md b/docks-bak/eca1/index.md similarity index 100% rename from docs/eca1/index.md rename to docks-bak/eca1/index.md diff --git a/docs/eca3/index.md b/docks-bak/eca3/index.md similarity index 100% rename from docs/eca3/index.md rename to docks-bak/eca3/index.md diff --git a/docs/sdk/how-to/_category_.json b/docks-bak/sdk/how-to/_category_.json similarity index 100% rename from docs/sdk/how-to/_category_.json rename to docks-bak/sdk/how-to/_category_.json diff --git a/docs/sdk/how-to/create-an-ethereum-transaction.md b/docks-bak/sdk/how-to/create-an-ethereum-transaction.md similarity index 100% rename from docs/sdk/how-to/create-an-ethereum-transaction.md rename to docks-bak/sdk/how-to/create-an-ethereum-transaction.md diff --git a/docs/sdk/how-to/get-an-ethereum-transaction.md b/docks-bak/sdk/how-to/get-an-ethereum-transaction.md similarity index 100% rename from docs/sdk/how-to/get-an-ethereum-transaction.md rename to docks-bak/sdk/how-to/get-an-ethereum-transaction.md diff --git a/docs/sdk/how-to/initialize-a-custodian.md b/docks-bak/sdk/how-to/initialize-a-custodian.md similarity index 100% rename from docs/sdk/how-to/initialize-a-custodian.md rename to docks-bak/sdk/how-to/initialize-a-custodian.md diff --git a/docs/sdk/how-to/set-up.md b/docks-bak/sdk/how-to/set-up.md similarity index 100% rename from docs/sdk/how-to/set-up.md rename to docks-bak/sdk/how-to/set-up.md diff --git a/docs/sdk/index.md b/docks-bak/sdk/index.md similarity index 100% rename from docs/sdk/index.md rename to docks-bak/sdk/index.md diff --git a/docs/sdk/reference/_category_.json b/docks-bak/sdk/reference/_category_.json similarity index 100% rename from docs/sdk/reference/_category_.json rename to docks-bak/sdk/reference/_category_.json diff --git a/docs/sdk/reference/architecture.md b/docks-bak/sdk/reference/architecture.md similarity index 100% rename from docs/sdk/reference/architecture.md rename to docks-bak/sdk/reference/architecture.md diff --git a/docs/sdk/reference/listing-suported-custodians.md b/docks-bak/sdk/reference/listing-suported-custodians.md similarity index 100% rename from docs/sdk/reference/listing-suported-custodians.md rename to docks-bak/sdk/reference/listing-suported-custodians.md diff --git a/docusaurus.config.js b/docusaurus.config.js index e750e47..5800875 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -163,44 +163,44 @@ const config = { type: "doc", docId: "custodian/index", position: "left", - label: "Custodian", - }, - { - type: "doc", - docId: "eca1/index", - position: "left", - label: "ECA1", - }, - { - type: "doc", - docId: "eca3/index", - position: "left", - label: "ECA3", + label: "Custodian integrations", }, + // { + // type: "doc", + // docId: "eca1/index", + // position: "left", + // label: "ECA1", + // }, + // { + // type: "doc", + // docId: "eca3/index", + // position: "left", + // label: "ECA3", + // }, { type: "docSidebar", sidebarId: "stakingSidebar", docId: "staking/introduction", position: "left", - label: "Staking", + label: "Staking integrations", }, { type: "doc", docId: "api/index", position: "left", - label: "API", - }, - { - type: "doc", - docId: "sdk/index", - position: "left", - label: "SDK", + label: "MMI API suite", }, + // { + // type: "doc", + // docId: "sdk/index", + // position: "left", + // label: "SDK", + // }, { type: "doc", docId: "defi-adapters/index", position: "left", - label: "DeFi Adapters", + label: "DeFi adapter developers", }, { href: "https://github.com/consensys-vertical-apps/metamask-institutional", diff --git a/src/components/HomepageCards/index.tsx b/src/components/HomepageCards/index.tsx index 1a40212..6b5de2a 100644 --- a/src/components/HomepageCards/index.tsx +++ b/src/components/HomepageCards/index.tsx @@ -23,7 +23,7 @@ type CardItem = { const CardList: CardItem[][] = [ [ { - title: "Custodian", + title: "Custodian integrations", link: "/custodian", description: ( <> @@ -34,34 +34,34 @@ const CardList: CardItem[][] = [ buttonName: "Get started", buttonType: "secondary", }, - { - title: "ECA1", - link: "/eca1", - description: ( - <> - Implement the Ethereum Custodian JSON-RPC API to allow MetaMask - Institutional to send user transactions to your platform. - - ), - buttonName: "Get started", - buttonType: "secondary", - }, - { - title: "ECA3", - link: "/eca3", - description: ( - <> - Implement the Ethereum Custodian JSON-RPC API to allow MetaMask - Institutional to send user transactions to your platform. - - ), - buttonName: "Get started", - buttonType: "secondary", - }, + // { + // title: "ECA1", + // link: "/eca1", + // description: ( + // <> + // Implement the Ethereum Custodian JSON-RPC API to allow MetaMask + // Institutional to send user transactions to your platform. + // + // ), + // buttonName: "Get started", + // buttonType: "secondary", + // }, + // { + // title: "ECA3", + // link: "/eca3", + // description: ( + // <> + // Implement the Ethereum Custodian JSON-RPC API to allow MetaMask + // Institutional to send user transactions to your platform. + // + // ), + // buttonName: "Get started", + // buttonType: "secondary", + // }, ], [ { - title: "Staking", + title: "Staking integrations", link: "/staking/introduction", description: ( <> @@ -73,7 +73,7 @@ const CardList: CardItem[][] = [ buttonType: "secondary", }, { - title: "API", + title: "MMI API suite", link: "/api", description: ( <> @@ -84,20 +84,20 @@ const CardList: CardItem[][] = [ buttonName: "Get started", buttonType: "secondary", }, + // { + // title: "SDK", + // link: "/sdk", + // description: ( + // <> + // Use our Python library to create and submit Ethereum transactions to + // custodians connected with MetaMask Institutional. + // + // ), + // buttonName: "Get started", + // buttonType: "secondary", + // }, { - title: "SDK", - link: "/sdk", - description: ( - <> - Use our Python library to create and submit Ethereum transactions to - custodians connected with MetaMask Institutional. - - ), - buttonName: "Get started", - buttonType: "secondary", - }, - { - title: "DeFi Adapters", + title: "DeFi adapter developers", link: "/defi-adapters", description: ( <>