docs: fix mobile homepage navigation
This commit is contained in:
@@ -101,8 +101,8 @@ function extraFrontmatter(sourceRelativePath) {
|
|||||||
' image:',
|
' image:',
|
||||||
' html: \'<img class="minishop-hero-screenshot" src="/remnawave-minishop.webp" alt="Интерфейс Remnawave Minishop" width="1920" height="1080" loading="eager" decoding="async" />\'',
|
' html: \'<img class="minishop-hero-screenshot" src="/remnawave-minishop.webp" alt="Интерфейс Remnawave Minishop" width="1920" height="1080" loading="eager" decoding="async" />\'',
|
||||||
' actions:',
|
' actions:',
|
||||||
' - text: "Обзор"',
|
' - text: "Демо"',
|
||||||
' link: /getting-started/overview/',
|
' link: /demo/',
|
||||||
' icon: right-arrow',
|
' icon: right-arrow',
|
||||||
' - text: "Установка"',
|
' - text: "Установка"',
|
||||||
' link: /getting-started/setup/',
|
' link: /getting-started/setup/',
|
||||||
|
|||||||
@@ -64,7 +64,10 @@ function navIcon(href: string) {
|
|||||||
<SiteTitle />
|
<SiteTitle />
|
||||||
</div>
|
</div>
|
||||||
<nav
|
<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) => {
|
nav.map((item) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user