Add more locations, add all location images, adjust seatGroups in locations

This commit is contained in:
2024-10-08 20:04:56 +02:00
parent 48bfcc9c75
commit 23b9fa3dd2
57 changed files with 606 additions and 381 deletions

View File

@@ -51,7 +51,6 @@ shoppingStore.getEvents()
<div class="text-h5">
{{ createDateRangeString(event) }}
<!-- {{ console.log(event.concerts) }} -->
</div>
<div class="text-h5">

View File

@@ -18,20 +18,21 @@ const location = ref<LocationModel>(new LocationModel())
feedbackStore.fetchDataFromServerInProgress = true
getLocation(String(router.currentRoute.value.params.locationName).replaceAll('-', ' '))
getLocation(String(router.currentRoute.value.params.locationName))
.then(result => {
location.value = result.data
feedbackStore.fetchDataFromServerInProgress = false
console.log(location.value.seatGroups)
})
</script>
<template>
<hero-image
:title="location.name"
:image="location.image"
:image="location.imageIndoor"
:description="location.address + location.city.name"
:loading="feedbackStore.fetchDataFromServerInProgress"
:logo="location.logo"
:logo="location.imageOutdoor"
>
<template #description>
<p class="text-h6">{{ location.address }}</p>

View File

@@ -49,7 +49,7 @@ shoppingStore.getCities()
<v-row>
<v-col v-for="location in city.locations" cols="3">
<card-with-top-image
:image="location.image"
:image="location.imageOutdoor"
:title="location.name"
@click="router.push('locations/' + location.name.replaceAll(' ', '-').toLowerCase())"
>