mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 21:27:23 +01:00
* Added initial challenge pages * Added challenge item and find guilds page * Added challenge detail * Added challenge modals * Ported over challenge service code * Ported over challenge ctrl code * Added styles and column * Minor modal updates * Removed duplicate keys * Fixed casing
20 lines
504 B
Vue
20 lines
504 B
Vue
<template lang="pug">
|
|
.row
|
|
secondary-menu.col-12
|
|
router-link.nav-link(:to="{name: 'myChallenges'}", :class="{'active': $route.name === 'myChallenges'}") {{ $t('myChallenges') }}
|
|
router-link.nav-link(:to="{name: 'findChallenges'}", :class="{'active': $route.name === 'findChallenges'}") {{ $t('findChallenges') }}
|
|
|
|
.col-12
|
|
router-view
|
|
</template>
|
|
|
|
<script>
|
|
import SecondaryMenu from 'client/components/secondaryMenu';
|
|
|
|
export default {
|
|
components: {
|
|
SecondaryMenu,
|
|
},
|
|
};
|
|
</script>
|