Display all bands grouped by genre, create m:n association between Band and Genre in database

This commit is contained in:
2024-09-27 23:25:24 +02:00
parent 513c73c5c1
commit 8d0b141217
29 changed files with 275 additions and 165 deletions

View File

@@ -7,7 +7,7 @@ defineProps({
<template>
<v-card
variant="outlined"
variant="tonal"
link
>
<v-img

View File

@@ -15,7 +15,20 @@
height="100%"
:rounded="false"
>
{{ $t('menu.shopping.allEvents', 2) }}
{{ $t('menu.allEvents', 2) }}
</v-btn>
<v-divider vertical />
<v-btn
variant="text"
to="/shows/bands"
prepend-icon="mdi-music-clef-treble"
height="100%"
:rounded="false"
>
{{ $t('menu.allBands') }}
</v-btn>
<v-divider vertical />
@@ -28,20 +41,7 @@
height="100%"
:rounded="false"
>
{{ $t('menu.shopping.allLocations', 2) }}
</v-btn>
<v-divider vertical />
<v-btn
variant="text"
to="/shows/genres"
prepend-icon="mdi-music-clef-treble"
height="100%"
:rounded="false"
>
{{ $t('menu.shopping.allGenres', 2) }}
{{ $t('menu.allLocations', 2) }}
</v-btn>
<v-divider vertical />

View File

@@ -3,7 +3,7 @@ defineProps({
prependIcon: String,
color: {
type: String,
default: "primary"
default: "secondary"
}
})
</script>

View File

@@ -3,13 +3,6 @@ defineProps({
title: String,
image: String
})
function backgroundStyle(image: string) {
return {
"background-image": 'http://localhost:3000/static/cities/hannover.jpg',
height: `100px`
}
}
</script>
<template>
@@ -29,7 +22,7 @@ function backgroundStyle(image: string) {
<v-spacer />
<v-col class="v-col-auto">
<span class="text-h3" style="color: white;">{{ title }}</span>
<span class="text-h4" style="color: white;">{{ title }}</span>
</v-col>
<v-spacer />
@@ -44,7 +37,7 @@ function backgroundStyle(image: string) {
</v-col>
<v-col class="v-col-auto">
<span class="text-h6">{{ title }}</span>
<span class="text-h4">{{ title }}</span>
</v-col>
<v-col class="d-flex justify-center align-center">