Autogen SolidJS template with auth

This commit is contained in:
2026-02-04 21:37:21 +02:00
parent b2d2409357
commit 5b544f5818
27 changed files with 2063 additions and 0 deletions

15
ui/src/routes/index.tsx Normal file
View File

@@ -0,0 +1,15 @@
import { Title } from "@solidjs/meta";
import { useAuth } from "~/components/Context";
export default function Home() {
const { session } = useAuth();
return (
<main>
<Title>Home</Title>
<h1 class="text-center">Hello World</h1>
<img src="/favicon.svg" alt="logo" class="w-28" />
You are signed in as <b class="font-medium">{session()?.email}</b>
</main>
);
}