Files
newfreeplanet_OLD/src/components/MyFooter/MyFooter.vue

68 lines
1.6 KiB
Vue
Raw Normal View History

<template>
<q-footer
2022-11-23 10:27:36 +01:00
v-if="tools.isUserOk() && site"
class="bg-white small-screen-only"
bordered
>
<q-tabs
2022-08-17 00:36:30 +02:00
dense
2022-09-12 18:36:54 +02:00
class="text-grey-10 mylabfooter mysmalltabs"
style="padding: 0px !important;"
content-class="mysmalltabs"
active-color="primary"
2022-08-17 00:36:30 +02:00
no-caps
indicator-color="transparent"
>
<q-route-tab
v-if="site.confpages.showButtHome"
to="/"
2022-08-17 00:36:30 +02:00
class="mylabfooter"
:label="$t('tabdown.home')"
icon="fas fa-home"
/>
<q-route-tab
v-if="site.confpages.showViewGroups"
2022-08-17 00:36:30 +02:00
class="mylabfooter"
:label="$t('tabdown.groups')"
to="/groups"
icon="fas fa-users"
/>
2022-09-12 18:36:54 +02:00
<q-route-tab
v-if="site.confpages.showViewCircuits"
2022-09-12 18:36:54 +02:00
class="mylabfooter"
:label="$t('tabdown.circuits')"
to="/circuits"
icon="fas fa-coins"
/>
<q-route-tab
v-if="site.confpages.showViewUsers"
2022-08-17 00:36:30 +02:00
class="mylabfooter"
:label="$t('tabdown.friends')"
to="/friends"
icon="fas fa-user-friends"
/>
<q-route-tab
v-if="site.confpages.bookingEvents"
2022-08-17 00:36:30 +02:00
class="mylabfooter"
:label="$t('tabdown.bookings')"
to="/admin/eventlist"
icon="fas fa-calendar-plus"
/>
<q-route-tab
v-if="site.confpages.showViewProfile"
2022-08-17 00:36:30 +02:00
class="mylabfooter"
:label="$t('tabdown.profile')"
:to="`/my/`+getMyUsername()"
icon="person"
/>
</q-tabs>
</q-footer>
</template>
<script lang="ts" src="./MyFooter.ts">
</script>
2022-09-12 18:36:54 +02:00
<style lang="scss" scoped>
@import './MyFooter.scss';
</style>