aboutsummaryrefslogtreecommitdiffstats
path: root/web/pages/index.vue
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2025-08-14 18:07:12 +0100
committerLeonardo Bishop <me@leonardobishop.com>2025-08-14 18:07:12 +0100
commit4697556cac819c47d068819b9fc9c3b4ea84e279 (patch)
treeb832d8fc6b643a8b9d0eeca35c1268e1649da731 /web/pages/index.vue
parentdd49c9205bb04844b686b9c3396c40eb49d25826 (diff)
Merge confplanner-web and replace fiber with native net/http
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>