From 4697556cac819c47d068819b9fc9c3b4ea84e279 Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Thu, 14 Aug 2025 18:07:12 +0100
Subject: Merge confplanner-web and replace fiber with native net/http

---
 web/pages/index.vue | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 web/pages/index.vue

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

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>
-- 
cgit v1.2.3-70-g09d2

