chore: upgrade preset version

This commit is contained in:
jinhojang6 2024-03-20 03:29:23 +09:00
parent fb68267cbd
commit 184695d621
No known key found for this signature in database
GPG Key ID: 1762F21FE8B543F8
4 changed files with 24 additions and 83 deletions

View File

@ -15,7 +15,7 @@
"typecheck": "tsc" "typecheck": "tsc"
}, },
"dependencies": { "dependencies": {
"@acid-info/logos-docusaurus-preset": "^1.0.0-topic-new-layout.12", "@acid-info/logos-docusaurus-preset": "^1.0.0-topic-new-layout.20",
"@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

@ -1,19 +1,6 @@
@use "@acid-info/logos-docusaurus-theme/src/client/css/lsd"; @use "@acid-info/logos-docusaurus-theme/src/client/css/lsd";
@use "@acid-info/logos-docusaurus-theme/src/client/css/utils"; @use "@acid-info/logos-docusaurus-theme/src/client/css/utils";
:root {
--container-max-width: 1072px !important;
}
body,
html {
overflow-x: hidden;
}
#__docusaurus {
overflow: hidden;
}
@include utils.responsive('lg', 'up') { @include utils.responsive('lg', 'up') {
.mdx-cta-section-heading-large { .mdx-cta-section-heading-large {
@include lsd.typography('h1', false); @include lsd.typography('h1', false);
@ -33,40 +20,17 @@ html[data-theme='light'] {
margin-bottom: 96px !important; margin-bottom: 96px !important;
} }
#hero-image-container { .mdx-hero-image {
z-index: -1; position: relative;
button {
display: none !important;
}
} }
.navbar { .mdx-hero > .mdx-hero-image > img {
background: transparent !important;
}
.hero-image {
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
margin-top: -65%; margin-top: -65%;
} }
.mdx-hero {
h1 {
font-size: 48px !important;
line-height: 56px !important;
}
z-index: 10;
}
// @include utils.responsive('xl', 'up') {
// .hero-image {
// position: absolute;
// right: 0;
// top: 0;
// }
// }
.buttons-row { .buttons-row {
display: flex; display: flex;
gap: 16px; gap: 16px;
@ -80,10 +44,6 @@ html[data-theme='light'] {
} }
} }
h2 {
margin-top: unset !important;
}
#open-source-and-support { #open-source-and-support {
h3 { h3 {
max-width: 460px; max-width: 460px;
@ -106,13 +66,13 @@ h2 {
} }
@media screen and (max-width: 1200px) { @media screen and (max-width: 1200px) {
.hero-image { .mdx-hero > .mdx-hero-image > img {
margin-right: -280px; margin-right: -280px;
} }
} }
@media screen and (min-width: 1024px) { @media screen and (min-width: 996px) {
.hero-image { .mdx-hero > .mdx-hero-image > img {
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
@ -123,8 +83,8 @@ h2 {
} }
} }
@media screen and (max-width: 1024px) { @media screen and (max-width: 996px) {
.hero-image { .mdx-hero > .mdx-hero-image > img {
margin-right: -32px; margin-right: -32px;
margin-left: 0; margin-left: 0;
scale: 1; scale: 1;
@ -134,30 +94,11 @@ h2 {
.mdx-hero { .mdx-hero {
margin-bottom: 200px; margin-bottom: 200px;
} }
.mdx-section-header {
h2 {
font-size: 28px !important;
line-height: 36px !important;
}
}
.mdx-feature-list__header {
h2 {
font-size: 28px !important;
line-height: 36px !important;
}
}
} }
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
.mdx-hero { .mdx-hero {
margin-bottom: 210px; margin-bottom: 210px;
h1 {
font-size: 32px !important;
line-height: 40px !important;
}
} }
#open-source-and-support { #open-source-and-support {
@ -177,7 +118,7 @@ h2 {
} }
} }
.hero-image { .mdx-hero > .mdx-hero-image > img {
margin-right: 22px; margin-right: 22px;
scale: 1.15; scale: 1.15;
margin-top: -27%; margin-top: -27%;
@ -185,7 +126,7 @@ h2 {
} }
@media screen and (max-width: 650px) { @media screen and (max-width: 650px) {
.hero-image { .mdx-hero > .mdx-hero-image > img {
margin-top: -24%; margin-top: -24%;
scale: 1; scale: 1;
} }
@ -200,7 +141,7 @@ h2 {
margin-bottom: 140px; margin-bottom: 140px;
} }
.hero-image { .mdx-hero > .mdx-hero-image > img {
margin-right: 32px; margin-right: 32px;
scale: 1.36; scale: 1.36;
margin-top: -18%; margin-top: -18%;

View File

@ -9,6 +9,7 @@ import {
HeroDescription, HeroDescription,
HeroActions, HeroActions,
HeroAction, HeroAction,
HeroImage,
CallToActionSection, CallToActionSection,
FeatureList, FeatureList,
HeroInfo, HeroInfo,
@ -38,9 +39,7 @@ import { Button } from '@acid-info/lsd-react'
</HeroAction> </HeroAction>
</HeroActions> </HeroActions>
</HeroInfo> </HeroInfo>
<div id="hero-image-container"> <HeroImage src="/hero/hero-image.png" alt="alt" />
<img src="/hero/hero-image.png" alt="hero-image" className="hero-image"/>
</div>
</Hero> </Hero>
<Box> <Box>
@ -545,3 +544,4 @@ import { Button } from '@acid-info/lsd-react'
</Grid.Item> </Grid.Item>
</Grid> </Grid>
</Box> </Box>

View File

@ -19,14 +19,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.12": "@acid-info/logos-docusaurus-preset@^1.0.0-topic-new-layout.20":
version "1.0.0-topic-new-layout.12" version "1.0.0-topic-new-layout.20"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-topic-new-layout.12.tgz#c6fc874542a661bd1995ee568b74c46386b0f378" resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-topic-new-layout.20.tgz#09355fe717e5c86c7da61e3a3422a12902cc05d8"
integrity sha512-S03XH8yYzLsCYYloMxrvbTiOmYV2tSVX3i6Vx51P59zEPgZEjiEZDX0Ip27cysudMRhnIsfvm9VyzRItV3x9jw== integrity sha512-IV5I0LBcqkSiRQQ0L1PTKL7ONM0hMxrLRQW5zotCNMfDKnLk2H1A7posfLt54iBcgz8HyuLRXVZniV85v/I2Kg==
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.12+785dae4" "@acid-info/logos-docusaurus-theme" "1.0.0-topic-new-layout.20+94a4407"
"@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"
@ -54,10 +54,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.12+785dae4": "@acid-info/logos-docusaurus-theme@1.0.0-topic-new-layout.20+94a4407":
version "1.0.0-topic-new-layout.12" version "1.0.0-topic-new-layout.20"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-topic-new-layout.12.tgz#9366c5a0eb5de5d7fc04309d809518cae6933fa4" resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-topic-new-layout.20.tgz#c1bb195505981fccfc677456887faf1717dedf71"
integrity sha512-Fxvt9K0686hV7pj+gsBr6xXmBQQtEVUxy2+GX89Em39xgWuGnIqrssR5Vj5A3TvbjYRgsTQq/3xJnINESNwISg== integrity sha512-MSqWBANHpIULcuTWUAz9r++BYroSiPKewRTXEiTLnjBTtUNyamBlO5pwDYG6Yf4B5XNrE2E7f78DVosly13qwQ==
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"