Updated nav link

This commit is contained in:
Vivek Santayana 2022-08-31 00:52:30 +01:00
parent fddfceb5e4
commit 152a199ee2

View File

@ -37,7 +37,7 @@
</div>
<!-- Menu Items -->
<div class="hidden md:flex space-x-3 justify-center items-center">
<Navlink :svgPath="route.meta.svgPath" :text="route.meta.title" :to="route.path" v-for="route in $router.options.routes" :key="route.path" />
<Navlink :svgPath="route.meta.svgPath" :text="route.meta.title" :to="route.path" v-for="route in $router.options.routes.filter( value => value.meta.index >= 0 )" :key="route.path" />
</div>
<Menu v-slot="{ open }" as="div" class="relative inline-block text-left md:hidden">
<div>