fix: landing page design adjustments

This commit is contained in:
Hossein Mehrabi 2023-12-15 17:15:18 +03:30
parent e761dd2bcd
commit 9108dfd0b5
No known key found for this signature in database
GPG Key ID: 45C04964191AFAA1
4 changed files with 23 additions and 18 deletions

View File

@ -15,7 +15,7 @@
"typecheck": "tsc" "typecheck": "tsc"
}, },
"dependencies": { "dependencies": {
"@acid-info/logos-docusaurus-preset": "^1.0.0-topic-upgrade-lsd.11", "@acid-info/logos-docusaurus-preset": "^1.0.0-topic-upgrade-lsd.16",
"@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,3 +1,6 @@
@use "@acid-info/logos-docusaurus-theme/src/client/css/lsd";
@use "@acid-info/logos-docusaurus-theme/src/client/css/utils";
:root { :root {
} }
@ -6,6 +9,8 @@ html {
overflow-x: hidden; overflow-x: hidden;
} }
.mdx-hero { @include utils.responsive('lg', 'up') {
height: calc(80vh - var(--ifm-navbar-height)) !important; .mdx-cta-section-heading-large {
@include lsd.typography('h1', false);
}
} }

View File

@ -71,10 +71,10 @@ import {
<Box top={{ xs: 144, lg: 216 }}> <Box top={{ xs: 144, lg: 216 }}>
<SectionHeader title="Nimbus attributes"> <SectionHeader title="Nimbus attributes">
<CallToActionButton variant="outlined" size="small" href="/"> <CallToActionButton variant="outlined" size="small" href="/">
Read mroe Read more
</CallToActionButton> </CallToActionButton>
</SectionHeader> </SectionHeader>
<Box top={{ xs: 100, lg: 100 }}> <Box top={{ xs: 64, lg: 100 }}>
<Grid <Grid
xs={{ cols: 2, wrap: true, gap: '1.5rem 1em' }} xs={{ cols: 2, wrap: true, gap: '1.5rem 1em' }}
lg={{ cols: 4, gap: '1rem' }} lg={{ cols: 4, gap: '1rem' }}
@ -278,10 +278,10 @@ import {
<Box top={{ xs: 144, lg: 216 }}> <Box top={{ xs: 144, lg: 216 }}>
<CallToActionSection <CallToActionSection
title={ title={
<> <span className='mdx-cta-section-heading-large'>
Want to learn more about Nimbus? <br/> Want to learn more about Nimbus? <br/>
Join the Discord community. Join the Discord community.
</> </span>
} }
label="Discord" label="Discord"
target="_blank" target="_blank"
@ -294,7 +294,7 @@ import {
title="Team" title="Team"
columns={1} columns={1}
/> />
<Box top={{ xs: 40, md: 80 }} bottom={{ xs: 40, md: 80 }}> <Box top={{ xs: 40, md: 80 }}>
<Grid <Grid
xs={{ cols: 3, gap: '1rem', wrap: false, scrollButtons: false }} xs={{ cols: 3, gap: '1rem', wrap: false, scrollButtons: false }}
md={{ cols: 4, gap: '1rem', wrap: true }} md={{ cols: 4, gap: '1rem', wrap: true }}

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-upgrade-lsd.11": "@acid-info/logos-docusaurus-preset@^1.0.0-topic-upgrade-lsd.16":
version "1.0.0-topic-upgrade-lsd.11" version "1.0.0-topic-upgrade-lsd.16"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-topic-upgrade-lsd.11.tgz#2ff7f5ddc60220a8298870126522304b85caac3c" resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-topic-upgrade-lsd.16.tgz#60268f3a47db6a22af9b42eff97e8c775c11d2c2"
integrity sha512-OfazEHE3v0ZVvyXE7Q1SkYOdzNnFgd+TgjqAaw3WaFuY+Al8Wb0Ae4uHVzOfUmqhJ18zinT/QOu6n5K9V0bRWw== integrity sha512-MdayhToZoQfUqepYX6TJNLK9xtlqk9mKd0kg5vznUE0xeL3TkPCe+A6GJnYyjRQGD2UkKRyNC4wkm22gPw0kDQ==
dependencies: dependencies:
"@acid-info/docusaurus-og" "1.0.0-alpha.111" "@acid-info/docusaurus-og" "1.0.0-alpha.111"
"@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-upgrade-lsd.11+fbaadc2" "@acid-info/logos-docusaurus-theme" "1.0.0-topic-upgrade-lsd.16+e9dc989"
"@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-upgrade-lsd.11+fbaadc2": "@acid-info/logos-docusaurus-theme@1.0.0-topic-upgrade-lsd.16+e9dc989":
version "1.0.0-topic-upgrade-lsd.11" version "1.0.0-topic-upgrade-lsd.16"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-topic-upgrade-lsd.11.tgz#590e544c43b7fd2f3982bf509d9c5397906f32ec" resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-topic-upgrade-lsd.16.tgz#c47e5eba3ab7caf7ae6ac7b25eccd897cc3701c9"
integrity sha512-y56eIi+/wePZppHVeKrst5bmw3oODQ9+mhWgs9pZBqyh2HQboPM5TuaTt/79b97GgXo1uh/d0ppHp7tmbWjZ6A== integrity sha512-qll+v6+criG7N9NDIsMxNEY53s/pyukrNBegDEgg0UWK8Usm81rUGMRXoWJGQ55bOXS5/Dc0pM8x4PwRouuALQ==
dependencies: dependencies:
"@acid-info/docusaurus-og" "1.0.0-alpha.111" "@acid-info/docusaurus-og" "1.0.0-alpha.111"
"@acid-info/lsd-react" "^0.1.0-beta.1" "@acid-info/lsd-react" "^0.1.0-beta.1"