From 1b930b1ed944d6ea21882f78592e2ab8c7894fe3 Mon Sep 17 00:00:00 2001 From: Marko Date: Fri, 10 May 2024 12:22:02 +0200 Subject: [PATCH] remove dropdown (#141) * remove dropdown * add it to the navbar --- docusaurus.config.js | 21 +++++++-------------- yarn.lock | 7 ++++--- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 975e68fa9..82b06516e 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -105,20 +105,9 @@ const config = { position: "left", }, { - type: 'dropdown', - label: 'Build', - position: 'left', - items: [ - { - type: "doc", - label: "Build a Module", - docId: "build/building-modules/intro", - }, - { - label: "REST API", - to: "api", - }, - ], + type: "doc", + label: "Build", + docId: "build/building-modules/intro", }, { type: "doc", @@ -133,6 +122,10 @@ const config = { docId: "tutorials/vote-extensions/auction-frontrunning/getting-started", position: "left", }, + { + label: "REST API", + to: "api", + }, { href: "https://github.com/cosmos/cosmos-sdk", html: ` diff --git a/yarn.lock b/yarn.lock index e23669c3a..e69aad01b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3078,9 +3078,10 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" - version "1.0.30001486" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001486.tgz#56a08885228edf62cbe1ac8980f2b5dae159997e" - integrity sha512-uv7/gXuHi10Whlj0pp5q/tsK/32J2QSqVRKQhs2j8VsDCjgyruAh/eEXHF822VqO9yT6iZKw3nRwZRSPBE9OQg== +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001449, caniuse-lite@^1.0.30001464: + version "1.0.30001617" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001617.tgz#809bc25f3f5027ceb33142a7d6c40759d7a901eb" + integrity sha512-mLyjzNI9I+Pix8zwcrpxEbGlfqOkF9kM3ptzmKNw5tizSyYwMe+nGLTqMK9cO+0E+Bh6TsBxNAaHWEM8xwSsmA== ccount@^1.0.0: version "1.1.0"