feat: upgrade preset

This commit is contained in:
jinhojang6 2024-03-21 03:43:46 +09:00
parent aed2c90529
commit 95c9bc788f
4 changed files with 37 additions and 15 deletions

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": "^1.0.0-topic-new-layout.20", "@acid-info/logos-docusaurus-preset": "^1.0.0-topic-new-layout.23",
"@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

@ -36,6 +36,17 @@ html {
margin-top: -40%; margin-top: -40%;
} }
.mdx-section-header__extra {
display: flex;
align-items: center;
}
.read-more-button {
display: flex;
align-items: center;
text-decoration: none !important;
}
@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;

View File

@ -23,6 +23,9 @@ import {
InputCTASection, InputCTASection,
} from '../components/mdx' } from '../components/mdx'
import { Button } from '@acid-info/lsd-react'
import Link from '@docusaurus/Link'
<Hero size="large" verticalAlign="center"> <Hero size="large" verticalAlign="center">
<HeroInfo hideScrollToBottom> <HeroInfo hideScrollToBottom>
<HeroTitle uppercase={false}> <HeroTitle uppercase={false}>
@ -41,7 +44,11 @@ import {
</Hero> </Hero>
<Box> <Box>
<SectionHeader noBorder title="Codex attributes"></SectionHeader> <SectionHeader noBorder title="Codex attributes">
<Link className="read-more-button" href="/about">
<Button size="small">Read more</Button>
</Link>
</SectionHeader>
<Box top={{ xs: 64 }}> <Box top={{ xs: 64 }}>
<Grid <Grid
xs={{ cols: 2, wrap: true, gap: '1.5rem 1em' }} xs={{ cols: 2, wrap: true, gap: '1.5rem 1em' }}
@ -83,7 +90,7 @@ import {
</Box> </Box>
</Box> </Box>
<Box top={{ xs: 144, lg: 216 }}> <Box top={{ xs: 144, lg: 190 }}>
<CallToActionSection <CallToActionSection
title="Logos Collective" title="Logos Collective"
columns={1} columns={1}
@ -108,6 +115,8 @@ import {
noBorder noBorder
title="Development Roadmap" title="Development Roadmap"
description="Codex is currently in its first proof-of-concept iteration and aims to release its alpha version, Katana, before the end of Q4 2023." description="Codex is currently in its first proof-of-concept iteration and aims to release its alpha version, Katana, before the end of Q4 2023."
href="/about/roadmap"
linkLabel="Learn more"
timeline={[ timeline={[
{ {
period: [2021], period: [2021],
@ -209,9 +218,12 @@ import {
/> />
</Box> </Box>
<Box top={{ xs: 144, lg: 190 }}> <Box top={{ xs: 134 }}>
<SectionHeader title="Team" noBorder /> <SectionHeader title="Team" noBorder />
<Box top={{ xs: 40, md: 80 }}> <Box
top={{ xs: 64 }}
bottom={{ xs: 64 }}
>
<Grid <Grid
xs={{ cols: 3, gap: '1.5rem 1rem', wrap: false, scrollButtons: false }} xs={{ cols: 3, gap: '1.5rem 1rem', wrap: false, scrollButtons: false }}
md={{ cols: 4, gap: '1.5rem 1rem', wrap: true }} md={{ cols: 4, gap: '1.5rem 1rem', wrap: true }}
@ -342,7 +354,6 @@ import {
<Grid <Grid
xs={{ cols: 1, gap: '1rem' }} xs={{ cols: 1, gap: '1rem' }}
md={{ cols: 2 }} md={{ cols: 2 }}
className="events-cta-sections"
> >
<Grid.Item xs={1}> <Grid.Item xs={1}>
<InputCTASection <InputCTASection

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@^1.0.0-topic-new-layout.20": "@acid-info/logos-docusaurus-preset@^1.0.0-topic-new-layout.23":
version "1.0.0-topic-new-layout.20" version "1.0.0-topic-new-layout.23"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-topic-new-layout.20.tgz#09355fe717e5c86c7da61e3a3422a12902cc05d8" resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-topic-new-layout.23.tgz#a49863535dd7aa6999774fdf532935d8f51086ac"
integrity sha512-IV5I0LBcqkSiRQQ0L1PTKL7ONM0hMxrLRQW5zotCNMfDKnLk2H1A7posfLt54iBcgz8HyuLRXVZniV85v/I2Kg== integrity sha512-WyE/Jw76XwQNtQP8hnB4pAkoL5yh7yGtAIUE2IBc8K3+qIODPWrHIGTlwZAa1FB3vckOGRuDPifh6ZH6sDt5iA==
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-topic-new-layout.20+94a4407" "@acid-info/logos-docusaurus-theme" "1.0.0-topic-new-layout.23+0fa1e48"
"@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-topic-new-layout.20+94a4407": "@acid-info/logos-docusaurus-theme@1.0.0-topic-new-layout.23+0fa1e48":
version "1.0.0-topic-new-layout.20" version "1.0.0-topic-new-layout.23"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-topic-new-layout.20.tgz#c1bb195505981fccfc677456887faf1717dedf71" resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-topic-new-layout.23.tgz#42352546f2ebda6b1264360f66f491b54e165a36"
integrity sha512-MSqWBANHpIULcuTWUAz9r++BYroSiPKewRTXEiTLnjBTtUNyamBlO5pwDYG6Yf4B5XNrE2E7f78DVosly13qwQ== integrity sha512-lJ4AJs6L202yyzqfUISok0YronpMSkoGf1C6IaLuEivmdzrzBddIDvIz3pQLYEQNQUum5tNJc7jfMI5lIa+byA==
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"