From f581b67ba3d8a4f3496c5422ce06b9a8a9fa8efd Mon Sep 17 00:00:00 2001 From: Dominic Schwarz Date: Fri, 21 Oct 2022 10:53:46 +0200 Subject: [PATCH] feat: add bans to bandcontest page --- pages/bandcontest.vue | 65 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 63 insertions(+), 2 deletions(-) diff --git a/pages/bandcontest.vue b/pages/bandcontest.vue index 36f1b25b..81b59fa3 100644 --- a/pages/bandcontest.vue +++ b/pages/bandcontest.vue @@ -17,6 +17,19 @@

+ Termin: 18.November 2022
+ Location: Waidbachhalle 78661 Irslingen
+ Doors Open: 18.00 Uhr
+ Bewerbungszeitraum: 05.08.2022 – 04.09.2022 +

+
+ +
+ +

Bands

+

Folgende Bands nehmen am Bandcontest 2022 teil:

+ + +
+ + + + + +

+ {{ band.content.name }} +

+
+ +
+
+
@@ -205,10 +253,17 @@ export default { }, async asyncData(context) { - return await sbData({ + const bandcontest = await sbData({ ctx: context, path: '/bandcontest' }) + + const bands = await sbData({ + ctx: context, + startsWith: 'bandcontest-bands/' + }) + + return { ...bandcontest, bands } }, middleware({ store }) { @@ -219,6 +274,12 @@ export default {