mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
24 lines
974 B
Vue
24 lines
974 B
Vue
|
|
<template lang="pug">
|
||
|
|
.row
|
||
|
|
secondary-menu.col-12
|
||
|
|
router-link.nav-link(:to="{name: 'site'}", exact, :class="{'active': $route.name === 'site'}") {{ $t('site') }}
|
||
|
|
router-link.nav-link(:to="{name: 'api'}", :class="{'active': $route.name === 'api'}") {{ $t('API') }}
|
||
|
|
router-link.nav-link(:to="{name: 'dataExport'}", :class="{'active': $route.name === 'dataExport'}") {{ $t('dataExport') }}
|
||
|
|
router-link.nav-link(:to="{name: 'promoCode'}", :class="{'active': $route.name === 'promoCode'}") {{ $t('promoCode') }}
|
||
|
|
router-link.nav-link(:to="{name: 'subscription'}", :class="{'active': $route.name === 'subscription'}") {{ $t('subscription') }}
|
||
|
|
router-link.nav-link(:to="{name: 'notifications'}", :class="{'active': $route.name === 'notifications'}") {{ $t('notifications') }}
|
||
|
|
|
||
|
|
.col-12
|
||
|
|
router-view
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
import SecondaryMenu from 'client/components/secondaryMenu';
|
||
|
|
|
||
|
|
export default {
|
||
|
|
components: {
|
||
|
|
SecondaryMenu,
|
||
|
|
},
|
||
|
|
};
|
||
|
|
</script>
|