From f502e39ccd6f14717170472b9a11786c20cea486 Mon Sep 17 00:00:00 2001 From: jinhojang6 Date: Thu, 21 Sep 2023 02:18:48 +0900 Subject: [PATCH] feat: implement requested changes --- about/architect.md | 1 + about/index.md | 1 + about/roadmap.md | 1 + about/team.md | 1 + docusaurus.config.js | 11 +++++++---- package.json | 2 +- src/css/custom.scss | 15 +++++++++++++++ src/pages/community.mdx | 35 +++++++++++++++++++++++++++++++++++ yarn.lock | 18 +++++++++--------- 9 files changed, 71 insertions(+), 14 deletions(-) create mode 100644 src/pages/community.mdx diff --git a/about/architect.md b/about/architect.md index bd4a76d..6235753 100644 --- a/about/architect.md +++ b/about/architect.md @@ -1,6 +1,7 @@ --- title: Description and architecture sidebar_position: 2 +hide_table_of_contents: true --- Nomos was designed to serve as the trustless agreements layer for emerging network states, providing a key piece of infrastructure to the Logos tech stack. We believe that such a network must maintain the following properties: diff --git a/about/index.md b/about/index.md index ce1e386..ebc1dbd 100644 --- a/about/index.md +++ b/about/index.md @@ -1,6 +1,7 @@ --- title: About sidebar_position: 1 +hide_table_of_contents: true --- Nomos is an innovative blockchain platform designed to address the critical requirements of the network state. It aims to provide developers with secure, flexible, and scalable infrastructure for building a wide range of applications while respecting the privacy and sovereignty of its users. diff --git a/about/roadmap.md b/about/roadmap.md index 95c0ebe..b441bb4 100644 --- a/about/roadmap.md +++ b/about/roadmap.md @@ -1,6 +1,7 @@ --- title: Development roadmap sidebar_position: 3 +hide_table_of_contents: true --- At this early stage of Nomos' development, the team is primarily focused on implementing the network's consensus protocol, Carnot. As the consensus protocol is so foundational to the rest of the project, it must precede other development areas. Alongside Carnot, Nomos' contributors are working on defining the network architecture, which will also influence future roadmap items. diff --git a/about/team.md b/about/team.md index 369d0f3..607467e 100644 --- a/about/team.md +++ b/about/team.md @@ -1,6 +1,7 @@ --- title: Core contributors sidebar_position: 4 +hide_table_of_contents: true --- Building Nomos is a team of passionate and experienced blockchain developers and researchers. diff --git a/docusaurus.config.js b/docusaurus.config.js index 0fb8b60..8c8fffc 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -40,6 +40,7 @@ const config = { }, }, docs: { + breadcrumbs: false, routeBasePath: '/', path: 'root-pages', }, @@ -68,16 +69,18 @@ const config = { type: 'search', }, { - label: 'About', + label: 'About Nomos', to: '/about', }, { - label: 'Features', - href: '/#features', + label: 'Community', + to: '/community', }, { - label: 'Github', href: 'https://github.com/logos-co', + position: 'right', + className: 'header-github-link', + title: 'Waku GitHub repository', }, ], }, diff --git a/package.json b/package.json index 722cf02..a0ceb78 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "typecheck": "tsc" }, "dependencies": { - "@acid-info/logos-docusaurus-preset": "^1.0.0-alpha.97", + "@acid-info/logos-docusaurus-preset": "^1.0.0-alpha.100", "@docusaurus/core": "2.4.1", "@docusaurus/preset-classic": "2.4.1", "@docusaurus/theme-mermaid": "^2.4.1", diff --git a/src/css/custom.scss b/src/css/custom.scss index f7edaf4..53c3f79 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -5,3 +5,18 @@ body, html { overflow-x: hidden; } + +// TODO: breadcrumbs: false in docusaurus.config.js does not work +.theme-doc-breadcrumbs { + display: none; +} + +.community-container { + max-width: 796px; + margin: 16px auto 0 auto; +} + +div:has(.community-container) > .container { + padding-bottom: 0 !important; + margin-bottom: 0 !important; +} \ No newline at end of file diff --git a/src/pages/community.mdx b/src/pages/community.mdx new file mode 100644 index 0000000..acf5bd4 --- /dev/null +++ b/src/pages/community.mdx @@ -0,0 +1,35 @@ +--- +title: Join the community +--- + +import { Community } from '../components/mdx' + +
+ +# Join the community + +
+
+ +Welcome to the Nomos Community! + +
+ +Join us as we build a novel blockchain layer ideal for a network state. Be the first to receive our latest news, access documentation, and celebrate with us as we get closer to realising the Logos network state. + + +
\ No newline at end of file diff --git a/yarn.lock b/yarn.lock index f147cb4..848205a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16,14 +16,14 @@ "@easyops-cn/docusaurus-search-local" "^0.33.6" lodash "^4.17.21" -"@acid-info/logos-docusaurus-preset@^1.0.0-alpha.97": - version "1.0.0-alpha.97" - resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-alpha.97.tgz#96d29bd2f75cf427de8e537616c7f8852e52d760" - integrity sha512-Cs0w3pFfrE2jmroaleedGakb8LoEyH8iN5q0Q+WsDLt2qz3xFIXvIW4fiQc5eM37NbHpGgGgvrm7YcB2Fp0ySg== +"@acid-info/logos-docusaurus-preset@^1.0.0-alpha.100": + version "1.0.0-alpha.100" + resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-alpha.100.tgz#061329adcaf840f5139bf3cceb9f7a3eba7be771" + integrity sha512-zWS8zqxmH2IZ8MACERPus6oyuPL3M+Rsa/EFjtx1qmCIT0ik09NPwL1Mf6Y3RmYUkwdYfzRU0wzf6DVCWtroTw== dependencies: "@acid-info/docusaurus-og" "^1.0.0-alpha.76" "@acid-info/logos-docusaurus-search-local" "^1.0.0-alpha.47" - "@acid-info/logos-docusaurus-theme" "^1.0.0-alpha.97" + "@acid-info/logos-docusaurus-theme" "^1.0.0-alpha.99" "@docusaurus/core" "^2.4.1" "@docusaurus/module-type-aliases" "^2.4.1" "@docusaurus/preset-classic" "^2.4.1" @@ -53,10 +53,10 @@ satori "^0.10.1" sharp "^0.32.1" -"@acid-info/logos-docusaurus-theme@^1.0.0-alpha.97": - version "1.0.0-alpha.97" - resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-alpha.97.tgz#8b7366238cc0cb177f400af82c0086f88f8f0a45" - integrity sha512-iBbH8enlSIhhGZuWWNxRSV5z8rQrO7uxBUq+xjA4PiCrjpbQb90YSuChuTizRUKkawzpswzkcukIdhzIGfc/Eg== +"@acid-info/logos-docusaurus-theme@^1.0.0-alpha.99": + version "1.0.0-alpha.99" + resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-alpha.99.tgz#2450ca1eea78e20b4b7c5301d9f971de7f825b74" + integrity sha512-fwGVbutoUu3M1A7LxmbPLZV64oqIrEvkYrSYiuJClZEiUXOeVQBmf9gl646IgZoPDjW86Owk4XPg796dS+hH7Q== dependencies: "@acid-info/docusaurus-og" "^1.0.0-alpha.76" "@acid-info/lsd-react" "^0.1.0-alpha.17"