upgrade logos preset

This commit is contained in:
Hossein Mehrabi 2023-06-02 22:53:47 +03:30
parent aed3567d67
commit 0f69654862
No known key found for this signature in database
GPG Key ID: 45C04964191AFAA1
4 changed files with 23 additions and 25 deletions

View File

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

View File

@ -15,7 +15,7 @@
"typecheck": "tsc" "typecheck": "tsc"
}, },
"dependencies": { "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/core": "2.4.1",
"@docusaurus/preset-classic": "2.4.1", "@docusaurus/preset-classic": "2.4.1",
"@docusaurus/theme-mermaid": "^2.4.1", "@docusaurus/theme-mermaid": "^2.4.1",

View File

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

View File

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