upgrade logos preset

This commit is contained in:
Hossein Mehrabi 2023-06-02 22:53:47 +03:30 committed by Jinho Jang
parent 72f7ca759b
commit bb6d39d504
4 changed files with 23 additions and 25 deletions

View File

@ -8,9 +8,6 @@ const config = {
url: 'https://nimbus.team/',
baseUrl: '/',
customFields: {
ghostAPiKey: process.env.GHOST_API_KEY,
},
markdown: {
mermaid: true,
},
@ -33,6 +30,13 @@ const config = {
name: 'default',
options: {
customCss: [require.resolve('./src/css/custom.scss')],
docs: {
default: {
sidebar: {
hide: true,
},
},
},
},
},
docs: {
@ -58,10 +62,6 @@ const config = {
themeConfig:
/** @type {import('@acid-info/logos-docusaurus-preset').ThemeConfig} */
({
colorMode: {
defaultMode: 'dark',
disableSwitch: false,
},
navbar: {
items: [
{

View File

@ -15,7 +15,7 @@
"typecheck": "tsc"
},
"dependencies": {
"@acid-info/logos-docusaurus-preset": "^1.0.0-alpha.13",
"@acid-info/logos-docusaurus-preset": "^1.0.0-alpha.14",
"@docusaurus/core": "2.4.1",
"@docusaurus/preset-classic": "2.4.1",
"@docusaurus/theme-mermaid": "^2.4.1",

View File

@ -13,17 +13,14 @@ import {
Box,
} from '../components/mdx'
<Hero size="medium">
<Hero size="large">
<HeroInfo>
<HeroTitle>Ethereum network participation for everyone</HeroTitle>
<HeroDescription>
Nimbus promotes client diversity and decentralization on Ethereum by lowering participation barriers and reducing hardware overheads for validators.
</HeroDescription>
{/*
<HeroTitle>
Ethereum network participation for everyone
</HeroTitle>
<HeroDescription>
Nimbus promotes client diversity and decentralization on Ethereum
Nimbus promotes client diversity and decentralization on Ethereum by lowering participation barriers and reducing hardware overheads for validators
</HeroDescription>
* */}
<HeroActions>
<HeroAction variant="filled" href="https://github.com/status-im/nimbus-eth2" target="_blank">
Explore Nimbus
@ -34,6 +31,7 @@ import {
modelId={'architecture04'}
mode={'abstract'}
rotateSpeed={0.04}
startY={'bottom'}
asciiConfig={{
characters: ' + ^ ^%%%0 -a @@@ ###',
}}

View File

@ -2,13 +2,13 @@
# yarn lockfile v1
"@acid-info/logos-docusaurus-preset@^1.0.0-alpha.13":
version "1.0.0-alpha.13"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-alpha.13.tgz#da9ef880598a48513b06d66e2b411fe732ef5f05"
integrity sha512-pGFblt957C9aYMautNO8oEEQQW7WRQ+7MGbkHbmfJHiSBIaLLrYi5B9Kkj5tud5LoFuZ3qh6Hk2L6WXU7faOCA==
"@acid-info/logos-docusaurus-preset@^1.0.0-alpha.14":
version "1.0.0-alpha.14"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-alpha.14.tgz#1ecc424c64b2bc5bf209f32504cb7d0e56907438"
integrity sha512-eCKkCUHgcBi3/A/RUXLnQohOZxrmHVVV21dyr7D72oQJ3ca9xR550CCiiK/WRRGcowJcpumvJw3jLHx38BhlcQ==
dependencies:
"@acid-info/logos-docusaurus-search-local" "^1.0.0-alpha.0"
"@acid-info/logos-docusaurus-theme" "^1.0.0-alpha.13"
"@acid-info/logos-docusaurus-theme" "^1.0.0-alpha.14"
"@docusaurus/core" "^2.4.1"
"@docusaurus/module-type-aliases" "^2.4.1"
"@docusaurus/preset-classic" "^2.4.1"
@ -34,10 +34,10 @@
"@easyops-cn/docusaurus-search-local" "^0.33.6"
lodash "^4.17.21"
"@acid-info/logos-docusaurus-theme@^1.0.0-alpha.13":
version "1.0.0-alpha.13"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-alpha.13.tgz#de118574ee54f1f7569a0ffd3b3db0688e63ee5f"
integrity sha512-nqUvJ/0iKyXiu05NJXTLjmpK1XGUBGvWyStfFNXkRnFPzzaIZ/NfKO84+HKdF1B1OFmQjfBQvAaVrQL/8HYrsw==
"@acid-info/logos-docusaurus-theme@^1.0.0-alpha.14":
version "1.0.0-alpha.14"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-alpha.14.tgz#7f2e4002af45438fc4f769166af3034ef1b7829f"
integrity sha512-16XlT1fM55eZJrCKj15X3G9aUkklr8VFBLSm7nMaVlEhTLSbbrjxl+qA1xFHpBPKAAU3I3dfn9xlt12rp7qXuQ==
dependencies:
"@acid-info/lsd-react" "^0.1.0-alpha.8"
"@docusaurus/core" "^2.4.1"