Added user profile update

This commit is contained in:
2025-08-08 00:49:07 +02:00
parent 0a4f5a7d36
commit 298fae916b
10 changed files with 311 additions and 41 deletions

View File

@@ -1,6 +1,7 @@
import { getSession } from "@/lib/auth/session"
import { PasskeyAdd } from "../_components/passkey"
import PasskeysList from "../_components/passkeys-list"
import UserProfile from "../_components/user-profile"
export default async function UserPage() {
const { session, redirect } = await getSession()
@@ -11,12 +12,15 @@ export default async function UserPage() {
return (
<div className="p-6">
<div className="mb-6">
<div className="pb-6">
<h1 className="block mb-2 text-2xl font-bold text-foreground">User Profile</h1>
<h1 className="block text-muted-foreground">Manage user settings</h1>
</div>
<PasskeyAdd />
<PasskeysList />
<div className="flex flex-col gap-6">
<UserProfile />
<PasskeyAdd />
<PasskeysList />
</div>
</div>
)
}