feat: restructure routing and authentication for hidden layout and user login

This commit is contained in:
2026-05-26 17:06:31 +02:00
parent d6e29a74af
commit ed9fb0d1ce
16 changed files with 284 additions and 127 deletions
+9 -4
View File
@@ -1,9 +1,14 @@
import { createFileRoute } from '@tanstack/react-router'
import { createFileRoute } from "@tanstack/react-router";
import { LoginCard } from "../components/LoginCard";
export const Route = createFileRoute('/login')({
export const Route = createFileRoute("/login")({
component: RouteComponent,
})
});
function RouteComponent() {
return <div>Hello "/login"!</div>
return (
<>
<LoginCard />
</>
);
}