feat: implement requested changes

This commit is contained in:
jinhojang6
2023-09-21 02:40:59 +09:00
parent 889bbb42a1
commit 11d940574c
15 changed files with 95 additions and 23 deletions

View File

@@ -1,3 +1,7 @@
---
hide_table_of_contents: true
---
# Contribute
## How to Contribute

View File

@@ -1,5 +1,6 @@
---
title: Deep Research
hide_table_of_contents: true
---
# Vac Deep Research

View File

@@ -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).

View File

@@ -1,5 +1,6 @@
---
title: Media
hide_table_of_contents: true
---
#

View File

@@ -1,5 +1,6 @@
---
title: Principles
hide_table_of_contents: true
---
#

View File

@@ -1,3 +1,7 @@
---
hide_table_of_contents: true
---
# Publications
## Papers

View File

@@ -1,5 +1,6 @@
---
title: RFC Process
hide_table_of_contents: true
---
# Vac RFC Process

View File

@@ -1,6 +1,7 @@
---
displayed_sidebar: null
sidebar_class_name: hidden
hide_table_of_contents: true
---
# Terms of Use

View File

@@ -1,5 +1,6 @@
---
title: Incubator Projects
hide_table_of_contents: true
---
# Vac Incubator Projects

View File

@@ -1,5 +1,6 @@
---
title: R&D Service Units
hide_table_of_contents: true
---
# Vac R&D Service Units

View File

@@ -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',
},
],
},

View File

@@ -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",

View File

@@ -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;
}
}

40
src/pages/community.mdx Normal file
View File

@@ -0,0 +1,40 @@
---
title: Join the community
---
import { Community } from '../components/mdx'
<div className="community-container">
# Join the community
<br/>
<br/>
Join the Vac Community!
<br/>
Keep up to date with our latest research by connecting with us on our communities channels.
<Community
items={[
{
type: 'x',
link: 'https://twitter.com/vacp2p',
linkLabel: 'Follow us on X',
},
{
type: 'discord',
logoSrcDark: '/icons/discord.svg',
link: 'https://discord.com/invite/PQFdubGt6d',
linkLabel: 'Join the community on Discord',
},
{
logoSrcDark: '/theme/image/logo.svg',
link: 'https://forum.vac.dev/',
linkLabel: 'Share your thoughts on the latest research on the Vac research forum',
},
]}
/>
</div>

View File

@@ -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"