Browse Source

docs home page link fix

pull/5130/head
Daniel 2 years ago
parent
commit
f38748e5ab
  1. 14
      src/html/components/dashboard/_sidenav.astro
  2. 0
      src/html/pages/docs/introduction.astro

14
src/html/components/dashboard/_sidenav.astro

@ -104,6 +104,18 @@ const htmlPath = convertPathToHtml(path)
<p>Sidebar Mini</p>
</a>
</li>
<li class="nav-item">
<a href={htmlPath + '/layout/collapsed-sidebar.html'} class:list={['nav-link', page === 'collapsed-sidebar' && 'active']}>
<i class="nav-icon fa-regular fa-circle"></i>
<p>Sidebar Mini <small>+ Collapsed</small></p>
</a>
</li>
<li class="nav-item">
<a href={htmlPath + '/layout/logo-switch.html'} class:list={['nav-link', page === 'logo-switch' && 'active']}>
<i class="nav-icon fa-regular fa-circle"></i>
<p>Sidebar Mini <small>+ Logo Switch</small></p>
</a>
</li>
<li class="nav-item">
<a href={htmlPath + '/layout/layout-rtl.html'} class:list={['nav-link', page === 'layout-rtl' && 'active']}>
<i class="nav-icon fa-regular fa-circle"></i>
@ -191,7 +203,7 @@ const htmlPath = convertPathToHtml(path)
<li class="nav-header">DOCUMENTATIONS</li>
<li class="nav-item">
<a href={htmlPath + '/docs/index.html'} class:list={['nav-link', page === 'introduction' && 'active']}>
<a href={htmlPath + '/docs/introduction.html'} class:list={['nav-link', page === 'introduction' && 'active']}>
<i class="nav-icon fa-solid fa-download"></i>
<p>Installation</p>
</a>

0
src/html/pages/docs/index.astro → src/html/pages/docs/introduction.astro

Loading…
Cancel
Save