From ecc6a55aba7bb35fc778e7a53848396b88214151 Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Sat, 23 Aug 2025 22:29:28 +0100
Subject: Add multiple conferences feature

---
 web/pages/live.vue | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'web/pages/live.vue')

diff --git a/web/pages/live.vue b/web/pages/live.vue
index d69dce5..638910e 100644
--- a/web/pages/live.vue
+++ b/web/pages/live.vue
@@ -4,6 +4,10 @@ import EventListing from '~/components/EventListing.vue';
 import Panel from '~/components/Panel.vue';
 import { type Event } from '~/stores/schedule';
 
+definePageMeta({
+  middleware: ['logged-in', 'conference-selected']
+})
+
 const favouritesStore = useFavouritesStore();
 const scheduleStore = useScheduleStore();
 
@@ -56,6 +60,11 @@ function isToday(date: Date): boolean {
 </script>
 
 <template>
+  <div v-if="scheduleStore.status === 'pending'" class="loading">
+    <span class="loading-text">
+      <Spinner color="var(--color-text-muted)" />Updating schedule...
+    </span>
+  </div>
   <Panel kind="emphasis" class="ongoing" v-if="happeningNow.length > 0" title="Now" :icon="Radio">
     <ul class="events-list">
       <li v-for="event in showAllHappeningNow ? happeningNow : favouritesHappeningNow" :key="event.id">
-- 
cgit v1.2.3-70-g09d2

