chore: upgrade preset

This commit is contained in:
jinhojang6 2024-03-23 21:49:05 +09:00
parent 7231763adc
commit 85ec82f38b
8 changed files with 26 additions and 67 deletions

View File

@ -43,6 +43,7 @@ const config = {
}, },
}, },
docs: { docs: {
id: 'root-pages',
routeBasePath: '/', routeBasePath: '/',
path: 'root-pages', path: 'root-pages',
}, },

View File

@ -16,7 +16,7 @@
}, },
"dependencies": { "dependencies": {
"@acid-info/docusaurus-fathom": "^1.0.0-alpha.111", "@acid-info/docusaurus-fathom": "^1.0.0-alpha.111",
"@acid-info/logos-docusaurus-preset": "v1.0.0-alpha.148", "@acid-info/logos-docusaurus-preset": "v1.0.0-alpha.162",
"@docusaurus/theme-mermaid": "^2.4.1", "@docusaurus/theme-mermaid": "^2.4.1",
"@emotion/react": "^11.11.0", "@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0", "@emotion/styled": "^11.11.0",

View File

@ -19,7 +19,7 @@ import {
} from '@site/src/components/mdx' } from '@site/src/components/mdx'
<head> <head>
<body className="events" /> <body className="events event-details" />
</head> </head>
<Box top={{ xs: 8 }}> <Box top={{ xs: 8 }}>
@ -152,7 +152,7 @@ Yet, it doesn't have to be this way. Advances in cryptography, peer-to-peer netw
<Grid <Grid
xs={{ cols: 1, gap: '1rem' }} xs={{ cols: 1, gap: '1rem' }}
md={{ cols: 2 }} md={{ cols: 2 }}
className="events-cta-sections" className="bottom-cta-sections"
> >
<Grid.Item xs={1}> <Grid.Item xs={1}>
<InputCTASection <InputCTASection

View File

@ -18,7 +18,7 @@ import {
} from '@site/src/components/mdx' } from '@site/src/components/mdx'
<head> <head>
<body className="events" /> <body className="events event-details" />
</head> </head>
<Box top={{ xs: 8 }}> <Box top={{ xs: 8 }}>
@ -133,7 +133,7 @@ Yet, it doesn't have to be this way. Advances in cryptography, peer-to-peer netw
<Grid <Grid
xs={{ cols: 1, gap: '1rem' }} xs={{ cols: 1, gap: '1rem' }}
md={{ cols: 2 }} md={{ cols: 2 }}
className="events-cta-sections" className="bottom-cta-sections"
> >
<Grid.Item xs={1}> <Grid.Item xs={1}>
<InputCTASection <InputCTASection

View File

@ -39,46 +39,3 @@ List of all Waku events
}, },
]} ]}
/> />
<Box top={{ xs: 152 }}>
<Grid
xs={{ cols: 1, gap: '1rem' }}
md={{ cols: 2 }}
className="events-cta-sections"
>
<Grid.Item xs={1}>
<InputCTASection
title="Logos Network State"
description={
'Want to get involved with Waku?\nJoin the Discord community.'
}
link="https://discord.waku.org/"
label="Get Involved"
/>
</Grid.Item>
<Grid.Item xs={1}>
<InputCTASection
title="Newsletter"
description={'Subscribe\nto our newsletter'}
label="Subscribe"
formInput={[
{
label: 'Name',
placeholder: 'Name',
type: 'text',
name: 'name',
required: true,
},
{
label: 'Email',
placeholder: 'Enter your email',
type: 'email',
name: 'email',
required: true,
},
]}
/>
</Grid.Item>
</Grid>
</Box>

View File

@ -78,12 +78,18 @@ div:has(.community-container) > .container {
overflow-x: hidden; overflow-x: hidden;
} }
@media screen and (min-width: 1200px) {
.mdx-hero > .mdx-hero-image > img {
margin-right: -160px;
}
}
@media screen and (min-width: 996px) { @media screen and (min-width: 996px) {
.mdx-hero > .mdx-hero-image > img { .mdx-hero > .mdx-hero-image > img {
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
margin-right: -160px; margin-right: -200px;
margin-top: -50%; margin-top: -50%;
scale: 0.95; scale: 0.95;
} }

View File

@ -120,6 +120,7 @@ import Link from '@docusaurus/Link'
> >
<Grid.Item xs={1}> <Grid.Item xs={1}>
<ShowcaseCard <ShowcaseCard
borderStyle={false}
name='Status' name='Status'
logoSrc='/showcase/status-mark-black.svg' logoSrc='/showcase/status-mark-black.svg'
logoSrcDark='/showcase/status-mark-white.svg' logoSrcDark='/showcase/status-mark-white.svg'
@ -128,6 +129,7 @@ import Link from '@docusaurus/Link'
</Grid.Item> </Grid.Item>
<Grid.Item xs={1}> <Grid.Item xs={1}>
<ShowcaseCard <ShowcaseCard
borderStyle={false}
name='Railgun' name='Railgun'
logoSrc='/showcase/railgun-mark-black.svg' logoSrc='/showcase/railgun-mark-black.svg'
logoSrcDark='/showcase/railgun-mark-white.svg' logoSrcDark='/showcase/railgun-mark-white.svg'
@ -136,6 +138,7 @@ import Link from '@docusaurus/Link'
</Grid.Item> </Grid.Item>
<Grid.Item xs={1}> <Grid.Item xs={1}>
<ShowcaseCard <ShowcaseCard
borderStyle={false}
name='The Graph' name='The Graph'
logoSrc='/showcase/the-graph-mark-black.svg' logoSrc='/showcase/the-graph-mark-black.svg'
logoSrcDark='/showcase/the-graph-mark-white.svg' logoSrcDark='/showcase/the-graph-mark-white.svg'

View File

@ -36,14 +36,14 @@
satori "^0.10.1" satori "^0.10.1"
sharp "^0.32.1" sharp "^0.32.1"
"@acid-info/logos-docusaurus-preset@v1.0.0-alpha.148": "@acid-info/logos-docusaurus-preset@v1.0.0-alpha.162":
version "1.0.0-alpha.148" version "1.0.0-alpha.162"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-alpha.148.tgz#40127c72fbc45f5fdc025e98fbd5db29a46bfebb" resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-alpha.162.tgz#b2125cac7456a38f8d50ee1fda95682756252108"
integrity sha512-QiPhmxeZ3N/8432ySGbBRKkaaOG58Q8BCsuMvebZucCbU/K/cdjJnZkrMVGg0Blw+FtAvw28fcYTcIRWxk3Hvg== integrity sha512-laY/l2j8kFjdY7Ri0/YPBOsHd3Ol2sSdX4/T1Bgb2pPM2bw3I1sEAB2jxw3C0YklqLvFBCjBCmPYRb4lwWixXg==
dependencies: dependencies:
"@acid-info/docusaurus-og" "^1.0.0-alpha.131" "@acid-info/docusaurus-og" "^1.0.0-alpha.131"
"@acid-info/logos-docusaurus-search-local" "^1.0.0-alpha.111" "@acid-info/logos-docusaurus-search-local" "^1.0.0-alpha.111"
"@acid-info/logos-docusaurus-theme" "^1.0.0-alpha.148" "@acid-info/logos-docusaurus-theme" "^1.0.0-alpha.162"
"@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"
@ -71,10 +71,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.148": "@acid-info/logos-docusaurus-theme@^1.0.0-alpha.162":
version "1.0.0-alpha.148" version "1.0.0-alpha.162"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-alpha.148.tgz#de469af63592206328cbe6be577c97ef7c21acf3" resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-alpha.162.tgz#eb6b57526c5d23a576a3f070e8cd4efe24aec806"
integrity sha512-2KZmRw4A9/YZS8g6ZXP5PPNAlrxuGA1PncikFIyMtDglwR1En7WhqMWyE/vUqHSCPuj7BsCoakF/cCWSXacJhA== integrity sha512-jixawhnNsLsgttWEU4F5L1PrKtwfkdL29BAQ7zcaIHw7sAXr1A+O/kjQmkNfj6iXv239gg3YllTkpkPfZVBBfA==
dependencies: dependencies:
"@acid-info/docusaurus-og" "^1.0.0-alpha.131" "@acid-info/docusaurus-og" "^1.0.0-alpha.131"
"@acid-info/lsd-react" "^0.1.0-beta.3" "@acid-info/lsd-react" "^0.1.0-beta.3"
@ -1716,7 +1716,7 @@
"@docusaurus/theme-search-algolia" "2.4.3" "@docusaurus/theme-search-algolia" "2.4.3"
"@docusaurus/types" "2.4.3" "@docusaurus/types" "2.4.3"
"@docusaurus/react-loadable@5.5.2": "@docusaurus/react-loadable@5.5.2", "react-loadable@npm:@docusaurus/react-loadable@5.5.2":
version "5.5.2" version "5.5.2"
resolved "https://registry.yarnpkg.com/@docusaurus/react-loadable/-/react-loadable-5.5.2.tgz#81aae0db81ecafbdaee3651f12804580868fa6ce" resolved "https://registry.yarnpkg.com/@docusaurus/react-loadable/-/react-loadable-5.5.2.tgz#81aae0db81ecafbdaee3651f12804580868fa6ce"
integrity sha512-A3dYjdBGuy0IGT+wyLIGIKLRE+sAk1iNk0f1HjNDysO7u8lhL4N3VEm+FAubmJbAztn94F7MxBTPmnixbiyFdQ== integrity sha512-A3dYjdBGuy0IGT+wyLIGIKLRE+sAk1iNk0f1HjNDysO7u8lhL4N3VEm+FAubmJbAztn94F7MxBTPmnixbiyFdQ==
@ -10842,14 +10842,6 @@ react-loadable-ssr-addon-v5-slorber@^1.0.1:
dependencies: dependencies:
"@babel/runtime" "^7.10.3" "@babel/runtime" "^7.10.3"
"react-loadable@npm:@docusaurus/react-loadable@5.5.2":
version "5.5.2"
resolved "https://registry.yarnpkg.com/@docusaurus/react-loadable/-/react-loadable-5.5.2.tgz#81aae0db81ecafbdaee3651f12804580868fa6ce"
integrity sha512-A3dYjdBGuy0IGT+wyLIGIKLRE+sAk1iNk0f1HjNDysO7u8lhL4N3VEm+FAubmJbAztn94F7MxBTPmnixbiyFdQ==
dependencies:
"@types/react" "*"
prop-types "^15.6.2"
react-merge-refs@^1.1.0: react-merge-refs@^1.1.0:
version "1.1.0" version "1.1.0"
resolved "https://registry.yarnpkg.com/react-merge-refs/-/react-merge-refs-1.1.0.tgz#73d88b892c6c68cbb7a66e0800faa374f4c38b06" resolved "https://registry.yarnpkg.com/react-merge-refs/-/react-merge-refs-1.1.0.tgz#73d88b892c6c68cbb7a66e0800faa374f4c38b06"