From 3e7b2beca1136a42700a7e1aebfe4c0fb2861a00 Mon Sep 17 00:00:00 2001
From: soryu <soryu@soryu.co>
Date: Sat, 15 Nov 2025 18:00:09 +0000
Subject: Initial commit

---
 frontend/src/App.tsx | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 frontend/src/App.tsx

(limited to 'frontend/src/App.tsx')

diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx
new file mode 100644
index 0000000..0a0e008
--- /dev/null
+++ b/frontend/src/App.tsx
@@ -0,0 +1,19 @@
+import React from 'react'
+import { useStore } from '@nanostores/react'
+import { LandingPage } from './components/LandingPage'
+import { VNInterface } from './components/VNInterface'
+import { isLoggedInStore, login, logout } from './stores'
+
+export default function App() {
+  const isLoggedIn = useStore(isLoggedInStore)
+
+  return (
+    <>
+      {isLoggedIn ? (
+        <VNInterface onLogout={logout} />
+      ) : (
+        <LandingPage onLogin={login} />
+      )}
+    </>
+  )
+}
-- 
cgit v1.2.3

