This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Zaimki/components/LinksNav.vue

11 lines
832 B
Vue

<template>
<Submenu v-if="config.links.split" :links="[
{name: 'links.links', route: config.links.route, icon: 'bookmark', condition: config.links.links.length > 0},
{name: 'links.academic', route: config.links.academicRoute, icon: 'vial', condition: config.links.academic.length > 0},
{name: 'links.blog', route: config.links.blogRoute, icon: 'pen-nib', condition: config.links.blog},
{name: 'links.media', route: config.links.mediaRoute, icon: 'tv', condition: config.links.mediaGuests.length || config.links.mediaMentions.length > 0},
{name: 'faq.header', route: config.faq.route, icon: 'map-marker-question', condition: config.faq.enabled},
{name: 'english.header', route: config.english.route, icon: 'globe-americas', condition: config.english.enabled},
]"/>
</template>