55 lines
991 B
Vue
55 lines
991 B
Vue
<script setup>
|
|
import NavigationButton from "components/navigation/NavigationButton.vue";
|
|
|
|
|
|
const linksList = [
|
|
{
|
|
title: 'Moje lety',
|
|
icon: "flight_takeoff",
|
|
to: {name: "myFlights"}
|
|
},
|
|
{separator: true},
|
|
|
|
{
|
|
title: 'Letadla',
|
|
icon: "connecting_airports",
|
|
to: {name: "aircrafts"}
|
|
},
|
|
{
|
|
title: 'Zajímavá místa',
|
|
icon: "place",
|
|
to: {name: "poi"}
|
|
},
|
|
{
|
|
title: 'Spolucestující',
|
|
icon: "people",
|
|
to: {name: "copilots"}
|
|
},
|
|
{separator: true},
|
|
{
|
|
title: 'Události',
|
|
icon: 'event',
|
|
to: {name: "events"}
|
|
},
|
|
{separator: true},
|
|
{
|
|
title: 'Organizace',
|
|
icon: "groups",
|
|
to: {name: "organizations"}
|
|
},
|
|
{separator: true},
|
|
]
|
|
</script>
|
|
|
|
<template>
|
|
<q-list class="q-my-lg">
|
|
<template v-for="link in linksList" :key="link.title">
|
|
<q-separator v-if="link.separator"/>
|
|
<NavigationButton
|
|
v-if="!link.separator"
|
|
v-bind="link"
|
|
/>
|
|
</template>
|
|
</q-list>
|
|
</template>
|