Display concerts with card views on "All concerts" page, adding image property for tours

This commit is contained in:
2024-09-28 21:18:25 +02:00
parent 9b325c849e
commit 4bcc2b86d5
49 changed files with 454 additions and 219 deletions

View File

@@ -1,8 +1,8 @@
<script setup lang="ts">
import OutlinedButton from '@/components/outlinedButton.vue';
import { useShowStore } from '@/data/stores/showStore';
import { useConcertStore } from '@/data/stores/concertStore';
const tourStore = useShowStore()
const concertStore = useConcertStore()
</script>
<template>
@@ -29,7 +29,7 @@ const tourStore = useShowStore()
</template>
<v-carousel-item
v-for="tour in tourStore.tours"
v-for="tour in concertStore.tours"
:src="'http://localhost:3000/static/bands/' + tour.band.images[0]"
cover
>