aboutsummaryrefslogtreecommitdiffstats
path: root/web/pages/index.vue
diff options
context:
space:
mode:
Diffstat (limited to 'web/pages/index.vue')
-rw-r--r--web/pages/index.vue22
1 files changed, 22 insertions, 0 deletions
diff --git a/web/pages/index.vue b/web/pages/index.vue
new file mode 100644
index 0000000..c455678
--- /dev/null
+++ b/web/pages/index.vue
@@ -0,0 +1,22 @@
+<script setup lang="ts">
+const scheduleStore = useScheduleStore();
+
+const destination = ref()
+
+if (scheduleStore.isConferenceOngoing()) {
+ destination.value = "/live";
+ navigateTo('/live');
+} else {
+ destination.value = "/events";
+ navigateTo('/events');
+}
+</script>
+
+<template>
+ <Panel kind="success">
+ <span class="text-icon">
+ <Spinner />
+ <span>Successfully logged in. Navigating to {{ destination }}...</span>
+ </span>
+ </Panel>
+</template>