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

@@ -0,0 +1,33 @@
<script setup lang="ts">
defineProps({
image: String,
title: String
})
</script>
<template>
<v-card
variant="tonal"
link
>
<v-row>
<v-col cols="auto" class="pr-0">
<v-img :src="image" aspect-ratio="1" width="140" cover />
</v-col>
<v-col class="pl-0">
<v-card-title v-if="title">
{{ title }}
</v-card-title>
<div class="px-4 pb-4" v-if="$slots.default">
<slot></slot>
</div>
</v-col>
<v-col cols="2" height="100%">
<slot name="append"></slot>
</v-col>
</v-row>
</v-card>
</template>