chore: upgrade preset version

This commit is contained in:
jinhojang6 2024-03-20 03:29:23 +09:00 committed by Jinho Jang
parent 3493760ff6
commit 230a04533f
4 changed files with 24 additions and 83 deletions

View File

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

View File

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

View File

@ -19,14 +19,14 @@
satori "^0.10.1"
sharp "^0.32.1"
"@acid-info/logos-docusaurus-preset@^1.0.0-topic-new-layout.12":
version "1.0.0-topic-new-layout.12"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-topic-new-layout.12.tgz#c6fc874542a661bd1995ee568b74c46386b0f378"
integrity sha512-S03XH8yYzLsCYYloMxrvbTiOmYV2tSVX3i6Vx51P59zEPgZEjiEZDX0Ip27cysudMRhnIsfvm9VyzRItV3x9jw==
"@acid-info/logos-docusaurus-preset@^1.0.0-topic-new-layout.20":
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.20.tgz#09355fe717e5c86c7da61e3a3422a12902cc05d8"
integrity sha512-IV5I0LBcqkSiRQQ0L1PTKL7ONM0hMxrLRQW5zotCNMfDKnLk2H1A7posfLt54iBcgz8HyuLRXVZniV85v/I2Kg==
dependencies:
"@acid-info/docusaurus-og" "1.0.0-alpha.131"
"@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/module-type-aliases" "^2.4.1"
"@docusaurus/preset-classic" "^2.4.1"
@ -54,10 +54,10 @@
"@easyops-cn/docusaurus-search-local" "^0.33.6"
lodash "^4.17.21"
"@acid-info/logos-docusaurus-theme@1.0.0-topic-new-layout.12+785dae4":
version "1.0.0-topic-new-layout.12"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-topic-new-layout.12.tgz#9366c5a0eb5de5d7fc04309d809518cae6933fa4"
integrity sha512-Fxvt9K0686hV7pj+gsBr6xXmBQQtEVUxy2+GX89Em39xgWuGnIqrssR5Vj5A3TvbjYRgsTQq/3xJnINESNwISg==
"@acid-info/logos-docusaurus-theme@1.0.0-topic-new-layout.20+94a4407":
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.20.tgz#c1bb195505981fccfc677456887faf1717dedf71"
integrity sha512-MSqWBANHpIULcuTWUAz9r++BYroSiPKewRTXEiTLnjBTtUNyamBlO5pwDYG6Yf4B5XNrE2E7f78DVosly13qwQ==
dependencies:
"@acid-info/docusaurus-og" "1.0.0-alpha.131"
"@acid-info/lsd-react" "^0.1.0-beta.3"