aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/client/components/index.ts
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-12-06 18:55:57 +0900
committernsfisis <nsfisis@gmail.com>2025-12-06 18:55:57 +0900
commitf655585cc81ab4af5d27cebb1fa9390e93e0a4bf (patch)
treea7e6bbcb9816f85ec8dff7a8c6a8ac5dbcb7c395 /src/client/components/index.ts
parent516e26f5ca72f2db724fd68584663c0732c77f77 (diff)
downloadkioku-f655585cc81ab4af5d27cebb1fa9390e93e0a4bf.tar.gz
kioku-f655585cc81ab4af5d27cebb1fa9390e93e0a4bf.tar.zst
kioku-f655585cc81ab4af5d27cebb1fa9390e93e0a4bf.zip
feat(client): add protected route handling with login redirect
Unauthenticated users accessing protected pages (like HomePage) are now redirected to the login page. Includes ProtectedRoute component with loading state support. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'src/client/components/index.ts')
-rw-r--r--src/client/components/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/components/index.ts b/src/client/components/index.ts
new file mode 100644
index 0000000..9b97620
--- /dev/null
+++ b/src/client/components/index.ts
@@ -0,0 +1 @@
+export { ProtectedRoute } from "./ProtectedRoute";