docs: fix mobile homepage navigation

This commit is contained in:
3252a8
2026-05-28 08:07:09 +03:00
parent f153ca5bf4
commit d46324cb6a
2 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -101,8 +101,8 @@ function extraFrontmatter(sourceRelativePath) {
' image:',
' html: \'<img class="minishop-hero-screenshot" src="/remnawave-minishop.webp" alt="Интерфейс Remnawave Minishop" width="1920" height="1080" loading="eager" decoding="async" />\'',
' actions:',
' - text: "Обзор"',
' link: /getting-started/overview/',
' - text: "Демо"',
' link: /demo/',
' icon: right-arrow',
' - text: "Установка"',
' link: /getting-started/setup/',
+4 -1
View File
@@ -64,7 +64,10 @@ function navIcon(href: string) {
<SiteTitle />
</div>
<nav
class="flex flex-1 flex-row gap-4 overflow-x-auto py-3 pr-4 pl-4 text-sm font-medium max-md:**:hidden xl:gap-6 xl:pl-6"
class:list={[
'flex flex-1 flex-row gap-4 overflow-x-auto py-3 pr-4 pl-4 text-sm font-medium xl:gap-6 xl:pl-6',
hasSidebar && 'max-md:**:hidden',
]}
>
{
nav.map((item) => {