1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-30 21:24:18 +00:00

* Ajout de raccourcis sur la page d'accueil

* Ajout de feedback au changement de page
This commit is contained in:
Maxime Moraine 2020-05-15 15:48:51 +02:00
parent ff7beafe06
commit 72a29eaaf0
16 changed files with 325 additions and 42 deletions

View file

@ -0,0 +1,12 @@
<template>
<v-btn color="primary" class="mb-4" depressed link to="/mes-objets-magiques/">Mes objets magiques<v-chip v-if="$store.state.myMagicItems.magicItems.length > 0" class="ml-2" color="#fff" small label>{{ $store.state.myMagicItems.magicItems.length }}</v-chip></v-btn>
</template>
<script>
export default {
name: 'MyMagicItemsButton'
}
</script>
<style lang="scss">
</style>

View file

@ -0,0 +1,12 @@
<template>
<v-btn color="primary" class="mb-4" depressed link to="/mon-bestiaire/">Mon bestiaire<v-chip v-if="$store.state.myMonsters.monsters.length > 0" class="ml-2" color="#fff" small label>{{ $store.state.myMonsters.monsters.length }}</v-chip></v-btn>
</template>
<script>
export default {
name: 'MyMontersButton'
}
</script>
<style lang="scss">
</style>

View file

@ -0,0 +1,12 @@
<template>
<v-btn color="primary" class="mb-4" depressed link to="/mon-grimoire/">Mon grimoire<v-chip v-if="$store.state.mySpells.spells.length > 0" class="ml-2" color="#fff" small label>{{ $store.state.mySpells.spells.length }}</v-chip></v-btn>
</template>
<script>
export default {
name: 'MySpellsButton'
}
</script>
<style lang="scss">
</style>