Scaffold web app

This commit is contained in:
tedspare
2025-11-18 16:05:05 -05:00
parent 15dce46be2
commit 51a8916a4c
40 changed files with 808 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
'use client'
import { useSession } from '~/auth/client'
import { SignOutButton } from '~/components/SignOut'
export function Nav() {
const { user } = useSession()
return (
<div className="flex flex-row items-center justify-between gap-4 p-4">
<a href="/">Home</a>
<div className="flex flex-row items-center gap-4">
<p>Signed in as {user.email}</p>
<SignOutButton />
</div>
</div>
)
}