Skeleton loader
This commit is contained in:
@@ -2,35 +2,49 @@
|
||||
import { useConcertStore } from '@/data/stores/concertStore';
|
||||
import { BandModel } from '@/data/models/acts/bandModel';
|
||||
import { useRouter } from 'vue-router';
|
||||
import bandBanner from './bandBanner.vue';
|
||||
import ratingSection from './ratingSection.vue';
|
||||
import bandMemberSection from './bandMemberSection.vue';
|
||||
import gallerySection from './gallerySection.vue';
|
||||
import concertSection from './concertSection.vue';
|
||||
import heroImage from '@/components/pageParts/heroImage.vue';
|
||||
import sectionDivider from '@/components/sectionDivider.vue';
|
||||
import concertListItem from '@/components/pageParts/concertListItem.vue';
|
||||
import { useShoppingStore } from '@/data/stores/shoppingStore';
|
||||
import { ref } from 'vue';
|
||||
|
||||
const router = useRouter()
|
||||
const shoppingStore = useShoppingStore()
|
||||
const band = ref<BandModel>(new BandModel())
|
||||
|
||||
const concertStore = useConcertStore()
|
||||
const band: BandModel = concertStore.bands.find(band =>
|
||||
band.name.replaceAll(' ', '-').toLowerCase() == router.currentRoute.value.params.bandName
|
||||
)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<band-banner :band="band" />
|
||||
<hero-image
|
||||
:image="band.imageMembers"
|
||||
:logo="band.logo"
|
||||
:title="band.name"
|
||||
:chips="band.genres.map(genre => genre.name)"
|
||||
:description="band.descriptionDe"
|
||||
/>
|
||||
|
||||
<v-container>
|
||||
<v-row>
|
||||
<v-spacer />
|
||||
|
||||
<v-col cols="10">
|
||||
<v-row>
|
||||
<v-col>
|
||||
<section-divider :title="$t('concert', 2)" />
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
<concert-section :band="band" />
|
||||
|
||||
<band-member-section :band="band" />
|
||||
<!-- band-member-section :band="band" />
|
||||
|
||||
<rating-section :band="band" />
|
||||
|
||||
<gallery-section :band="band" />
|
||||
<gallery-section :band="band" /> -->
|
||||
</v-col>
|
||||
|
||||
<v-spacer />
|
||||
|
||||
Reference in New Issue
Block a user