Merge branch 'feature/mobile-ui' into 'main'

UI

See merge request common/lk-beecloud/beecloud-docs!45
This commit is contained in:
Анисин Александр Александрович
2026-06-11 10:11:46 +00:00
7 changed files with 89 additions and 15 deletions
+11 -9
View File
@@ -135,15 +135,20 @@ export default defineConfig({
outline: {
label: 'Содержание'
},
returnToTopLabel: 'Вернуться к началу',
sidebarMenuLabel: 'Меню',
skipToContentLabel: 'Перейти к содержимому',
sidebar: {
'/platform/': [
{ text: 'Обзор', link: '/platform/about.md' },
{ text: 'Техническая поддержка', link: '/platform/support-overview.md' },
],
{text: 'Обзор', link: '/platform/about.md'},
{text: 'Техническая поддержка', link: '/platform/support-overview.md'},
],
@@ -331,7 +336,7 @@ export default defineConfig({
'/vdc/': [
{text: 'Виртуальные дата-центры на VMware', link: '/vdc/index.md'},
{text: 'Виртуальные дата-центры на VMware', link: '/vdc/index.md'},
{text: 'Обзор сервиса', link: '/vdc/vdc-overview.md',
collapsed: true,
items: [
@@ -339,7 +344,7 @@ export default defineConfig({
{ text: 'Техническое описание', link: '/vdc/vdc-tech.md' },
]
},
{ text: 'Подключиться к виртуальному дата-центру', link: '/vdc/vdc-getting-started.md' },
{ text: 'Подключиться к виртуальному дата-центру', link: '/vdc/vdc-getting-started.md' },
{ text: 'Виртуальные машины', link: '/vdc/vdc-how-to/vm/vm-index.md',
collapsed: true,
items: [
@@ -409,10 +414,7 @@ export default defineConfig({
// { text: 'Тарификация', link: '/vdc/vdc-tarif.md' },
'/monitoring/': [
{text: 'Мониторинг', link: '/monitoring/about.md'},
],
},
},
},
}
)
+25 -1
View File
@@ -106,7 +106,7 @@ $topSpacing: 40px;
flex-grow: 1;
flex-shrink: 0;
background-color: themes.$color-background-secondary;
padding: 98px 92px;
padding: 32px 92px;
border-radius: sizes.$size-border-radius-x6;
.VPHero.has-image .container {
@@ -142,6 +142,30 @@ $topSpacing: 40px;
}
}
@media (max-width: 959px) {
.main .name,
.main .text {
font-size: 40px;
line-height: 48px;
}
}
@media (max-width: 639px) {
.main {
padding: 32px 20px;
}
.main .name,
.main .text {
font-size: clamp(28px, 8vw, 34px);
line-height: 1.2;
}
.main .name {
padding-bottom: 24px;
}
}
.clip {
background: var(--color-gradient-magma);
-webkit-background-clip: text;
@@ -74,6 +74,10 @@ const handleClick = (event: Event) => {
border: 1px solid themes.$color-border;
max-width: 344px;
padding: sizes.$size-spacing-x8 sizes.$size-spacing-x6;
@media (max-width: 639px) {
max-width: none;
}
&WithScroll {
cursor: pointer;
@@ -96,6 +100,11 @@ const handleClick = (event: Event) => {
@include mixin.h4;
color: themes.$color-text-active;
@media (max-width: 639px) {
font-size: 20px;
line-height: 26px;
}
&:hover {
color: themes.$color-text-link;
}
@@ -22,5 +22,20 @@ const { frontmatter } = useData()
max-width: 1080px;
margin: 0 auto;
margin-bottom: 80px;
@media (max-width: 1080px) {
padding-left: 24px;
padding-right: 24px;
}
@media (max-width: 959px) {
grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 639px) {
grid-template-columns: 1fr;
gap: sizes.$size-spacing-x6;
margin-bottom: 48px;
}
}
</style>
@@ -55,12 +55,25 @@ defineProps<{
@include mixin.h4();
color: themes.$color-text-active;
margin-bottom: sizes.$size-spacing-x6;
@media (max-width: 639px) {
font-size: 20px;
line-height: 26px;
}
}
&Links {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: sizes.$size-spacing-x6;
@media (max-width: 959px) {
grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 639px) {
grid-template-columns: 1fr;
}
}
&Link {
@@ -25,11 +25,22 @@ const { frontmatter } = useData()
max-width: 1080px;
margin: 0 auto;
@media (max-width: 1080px) {
padding-left: 24px;
padding-right: 24px;
}
&Title {
@include mixin.h2;
text-align: center;
margin-bottom: 40px;
color: themes.$color-text-active;
@media (max-width: 639px) {
font-size: 24px;
line-height: 30px;
margin-bottom: 24px;
}
}
&List {
@@ -24,27 +24,27 @@
// Titles
h1 {
@include font_style(44px, 500, 56px, 0.3px);
@include font_style(26px, 500, 32px, 0.3px);
margin-bottom: 24px;
}
h2 {
@include font_style(26px, 500, 32px, 0.2px);
@include font_style(20px, 500, 28px, 0.2px);
margin: 40px 0 24px;
}
h3 {
@include font_style(26px, 500, 32px, 0.2px);
@include font_style(17px, 500, 22px, 0.2px);
margin-bottom: 12px;
}
h4 {
@include font_style(20px, 700, 28px, 0.2px);
@include font_style(17px, 700, 22px, 0.2px);
margin-bottom: 12px;
}
h5 {
@include font_style(17px, 500, 22px, 0.2px);
@include font_style(15px, 700, 20px, 0.2px);
margin-bottom: 12px;
}