hide about link

pull/98/head
Dario Piotrowicz 2023-01-12 09:54:02 +00:00
rodzic 0a0cd65216
commit 281740b7cd
1 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -35,7 +35,7 @@ export default component$(() => {
{ iconName: 'fa-globe', linkText: 'Federated', linkTarget: '/public', linkActiveRegex: /^\/public\/?$/ },
]
const aboutLink = { iconName: 'fa-ellipsis', linkText: 'About', linkTarget: '/about', linkActiveRegex: /^\/about/ }
// const aboutLink = { iconName: 'fa-ellipsis', linkText: 'About', linkTarget: '/about', linkActiveRegex: /^\/about/ }
return (
<div class="bg-wildebeest-600 xl:bg-transparent flex flex-col justify-between right-column-wrapper text-wildebeest-200 flex-1">
@ -47,10 +47,11 @@ export default component$(() => {
</div>
<hr class="hidden xl:block border-t border-wildebeest-700 my-3" />
{links.map((link) => renderNavLink(link))}
<div class="xl:hidden">
{/* *********** Hiding the about link until the backend support is available ***************** */}
{/* <div class="xl:hidden">
<hr class="border-t border-wildebeest-700 my-3" />
{renderNavLink(aboutLink)}
</div>
</div> */}
</div>
</div>
)