Add links to project and GitHub page
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<script setup lang="ts">
|
||||
import { useAccountStore } from '@/stores/account.store';
|
||||
import { useBasketStore } from '@/stores/basket.store';
|
||||
import { useExerciseStore } from '@/stores/exercise.store';
|
||||
import { useAccountStore } from "@/stores/account.store";
|
||||
import { useBasketStore } from "@/stores/basket.store";
|
||||
import { useExerciseStore } from "@/stores/exercise.store";
|
||||
|
||||
const accountStore = useAccountStore()
|
||||
const basketStore = useBasketStore()
|
||||
const exerciseStore = useExerciseStore()
|
||||
const accountStore = useAccountStore();
|
||||
const basketStore = useBasketStore();
|
||||
const exerciseStore = useExerciseStore();
|
||||
|
||||
exerciseStore.getAllExercises()
|
||||
exerciseStore.getAllExercises();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -19,15 +19,20 @@ exerciseStore.getAllExercises()
|
||||
icon="mdi-account"
|
||||
to="/account/login"
|
||||
/>
|
||||
|
||||
|
||||
<v-btn v-else variant="plain" icon="mdi-account-check" to="/account/home" />
|
||||
|
||||
<div>
|
||||
<v-badge
|
||||
:content="basketStore.itemsInBasket.reduce((tot, item) => {
|
||||
return tot + item.seats.length
|
||||
}, 0)"
|
||||
color="error" offset-x="8" offset-y="8">
|
||||
:content="
|
||||
basketStore.itemsInBasket.reduce((tot, item) => {
|
||||
return tot + item.seats.length;
|
||||
}, 0)
|
||||
"
|
||||
color="error"
|
||||
offset-x="8"
|
||||
offset-y="8"
|
||||
>
|
||||
<v-btn variant="plain" icon="mdi-cart" to="/basket" />
|
||||
</v-badge>
|
||||
</div>
|
||||
@@ -45,6 +50,6 @@ exerciseStore.getAllExercises()
|
||||
icon="mdi-book-open-blank-variant"
|
||||
to="/help"
|
||||
/>
|
||||
|
||||
<v-btn variant="plain" icon="mdi-cog" to="/preferences"/>
|
||||
</template>
|
||||
|
||||
<v-btn variant="plain" icon="mdi-cog" to="/preferences" />
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user