From 11d940574c4e77a08033745dbbf9b215620cc1a2 Mon Sep 17 00:00:00 2001 From: jinhojang6 Date: Thu, 21 Sep 2023 02:40:59 +0900 Subject: [PATCH] feat: implement requested changes --- docs/contribute.md | 4 ++++ docs/deepresearch.md | 1 + docs/index.md | 9 +-------- docs/media.md | 1 + docs/principles.md | 1 + docs/publications.md | 4 ++++ docs/rfcprocess.md | 1 + docs/terms.md | 1 + docs/vips.md | 1 + docs/vsus.md | 1 + docusaurus.config.js | 18 +++++++++++++----- package.json | 2 +- src/css/custom.scss | 16 ++++++++++++++++ src/pages/community.mdx | 40 ++++++++++++++++++++++++++++++++++++++++ yarn.lock | 18 +++++++++--------- 15 files changed, 95 insertions(+), 23 deletions(-) create mode 100644 src/pages/community.mdx diff --git a/docs/contribute.md b/docs/contribute.md index 91988edc..072b7308 100644 --- a/docs/contribute.md +++ b/docs/contribute.md @@ -1,3 +1,7 @@ +--- +hide_table_of_contents: true +--- + # Contribute ## How to Contribute diff --git a/docs/deepresearch.md b/docs/deepresearch.md index ce8f3c0c..93805416 100644 --- a/docs/deepresearch.md +++ b/docs/deepresearch.md @@ -1,5 +1,6 @@ --- title: Deep Research +hide_table_of_contents: true --- # Vac Deep Research diff --git a/docs/index.md b/docs/index.md index 3c624c72..be1d60aa 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,5 +1,6 @@ --- title: About +hide_table_of_contents: true --- # Vac @@ -12,11 +13,3 @@ Vac comprises [R&D Service Units](/vsus), [Incubator Projects](/vips), [Deep Res We do applied research based on which we build protocols, libraries, and publications. As custodians of these protocols, our aim is to adhere to [a set of principles](/principles) that ensure their alignment with our core values and objectives. -## Our principles - -Liberty, censorship resistance, security, privacy, transparency, openness, decentralisation, inclusivity, continuance, resourcefulness. - -These principles act as tools. Tools for thinking, for communication, and for decentralised decision making. They keep us honest about where we are falling short of our vision. - -The meaning of these principles is elaborated on [here](/principles). - diff --git a/docs/media.md b/docs/media.md index 67968242..015e7d84 100644 --- a/docs/media.md +++ b/docs/media.md @@ -1,5 +1,6 @@ --- title: Media +hide_table_of_contents: true --- # diff --git a/docs/principles.md b/docs/principles.md index c3117adc..79c965ec 100644 --- a/docs/principles.md +++ b/docs/principles.md @@ -1,5 +1,6 @@ --- title: Principles +hide_table_of_contents: true --- # diff --git a/docs/publications.md b/docs/publications.md index 14ea995d..163f93b6 100644 --- a/docs/publications.md +++ b/docs/publications.md @@ -1,3 +1,7 @@ +--- +hide_table_of_contents: true +--- + # Publications ## Papers diff --git a/docs/rfcprocess.md b/docs/rfcprocess.md index a6f252e0..d8ba3f06 100644 --- a/docs/rfcprocess.md +++ b/docs/rfcprocess.md @@ -1,5 +1,6 @@ --- title: RFC Process +hide_table_of_contents: true --- # Vac RFC Process diff --git a/docs/terms.md b/docs/terms.md index 77f9f200..3076b350 100644 --- a/docs/terms.md +++ b/docs/terms.md @@ -1,6 +1,7 @@ --- displayed_sidebar: null sidebar_class_name: hidden +hide_table_of_contents: true --- # Terms of Use diff --git a/docs/vips.md b/docs/vips.md index 2209e485..f9a8052d 100644 --- a/docs/vips.md +++ b/docs/vips.md @@ -1,5 +1,6 @@ --- title: Incubator Projects +hide_table_of_contents: true --- # Vac Incubator Projects diff --git a/docs/vsus.md b/docs/vsus.md index 60e221f3..1664209a 100644 --- a/docs/vsus.md +++ b/docs/vsus.md @@ -1,5 +1,6 @@ --- title: R&D Service Units +hide_table_of_contents: true --- # Vac R&D Service Units diff --git a/docusaurus.config.js b/docusaurus.config.js index 9c494f4a..209edaf0 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -7,8 +7,8 @@ const katex = require('rehype-katex') /** @type {import('@docusaurus/types').Config} */ const config = { - title: 'Logos', - url: 'https://logos.co/', + title: 'VacResearch', + url: 'https://vac.dev/', baseUrl: '/', markdown: { @@ -37,6 +37,7 @@ const config = { }, docs: { id: 'Docs', + breadcrumbs: false, routeBasePath: '/', sidebarPath: 'docs/sidebars.js', remarkPlugins: [math], @@ -54,7 +55,7 @@ const config = { id: 'blog', routeBasePath: '/rlog', path: 'rlog', - blogTitle: 'Research Log', + blogTitle: 'Research Blog', blogSidebarCount: 0, authorsMapPath: 'authors.yml', remarkPlugins: [math], @@ -83,12 +84,19 @@ const config = { type: 'search', }, { - label: 'About', + label: 'About Vac', to: '/', + activeBaseRegex: '^/$', }, { - label: 'Research Log', + label: 'Community', + to: '/community', + activeBasePath: 'community', + }, + { + label: 'Research Blog', to: '/rlog', + activeBasePath: 'rlog', }, ], }, diff --git a/package.json b/package.json index 4a57a735..7b4880d6 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/plugin-client-redirects": "^2.4.1", "@docusaurus/preset-classic": "2.4.1", diff --git a/src/css/custom.scss b/src/css/custom.scss index 1c192f08..d0d61a97 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -11,3 +11,19 @@ html { margin-left: 0 !important; } } + +.community-container { + max-width: 796px; + margin: 16px auto 0 auto; +} + +div:has(.community-container) > .container { + padding-bottom: 0 !important; + margin-bottom: 0 !important; +} + +div[class^='blogHeader'] { + span { + display: none; + } +} \ No newline at end of file diff --git a/src/pages/community.mdx b/src/pages/community.mdx new file mode 100644 index 00000000..95d8cbdd --- /dev/null +++ b/src/pages/community.mdx @@ -0,0 +1,40 @@ +--- +title: Join the community +--- + +import { Community } from '../components/mdx' + +
+ +# Join the community + +
+
+ +Join the Vac Community! + +
+ +Keep up to date with our latest research by connecting with us on our communities channels. + + +
\ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 344f6e26..26cc3ebe 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"