update deps + fix Editor background on scroll

This commit is contained in:
lesion
2022-08-26 15:19:09 +02:00
parent 2a1adcc956
commit 5e69d06abd
5 changed files with 45 additions and 56 deletions

View File

@@ -1,11 +1,13 @@
<template>
<v-container class='px-0' fluid>
<h1 class='d-block text-h4 font-weight-black text-center text-uppercase mt-10 mx-auto w-100 text-underline'><u>{{place.name}}</u></h1>
<span class="d-block text-subtitle text-center w-100 mb-14">{{place.address}}</span>
<h1 class='d-block text-h4 font-weight-black text-center text-uppercase mt-10 mx-auto w-100 text-underline'>
<u>{{ place.name }}</u>
</h1>
<span class="d-block text-subtitle text-center w-100 mb-14">{{ place.address }}</span>
<!-- Events -->
<div class="mb-2 mt-1 pl-1 pl-sm-2" id="events">
<Event :event='event' v-for='(event, idx) in events' :lazy='idx>2' :key='event.id'></Event>
<Event :event='event' v-for='(event, idx) in events' :lazy='idx > 2' :key='event.id'></Event>
</div>
</v-container>
</template>
@@ -17,7 +19,7 @@ import Event from '@/components/Event'
export default {
name: 'Place',
components: { Event },
head () {
head() {
const title = `${this.settings.title} - ${this.place.name}`
return {
title,
@@ -27,8 +29,8 @@ export default {
]
}
},
computed: mapState(['settings']),
asyncData ({ $axios, params, error }) {
computed: mapState(['settings']),
asyncData({ $axios, params, error }) {
try {
const place = params.place
return $axios.$get(`/place/${place}`)
@@ -38,4 +40,4 @@ export default {
}
}
</script>
</script>