update lib

This commit is contained in:
2026-05-05 15:11:36 +07:00
parent 9dfd0295d3
commit 7c4440bf41
5 changed files with 179 additions and 211 deletions
+9 -4
View File
@@ -44,10 +44,10 @@ export default async function ProfilePage() {
alt=""
width={72}
height={72}
className="h-[72px] w-[72px] rounded-full object-cover"
className="h-18 w-18 rounded-full object-cover"
/>
) : (
<div className="flex h-[72px] w-[72px] shrink-0 items-center justify-center rounded-full bg-primary-600 text-2xl font-bold text-white">
<div className="flex h-18 w-18 shrink-0 items-center justify-center rounded-full bg-primary-600 text-2xl font-bold text-white">
{user.name.charAt(0).toUpperCase()}
</div>
)}
@@ -55,7 +55,9 @@ export default async function ProfilePage() {
<h1 className="text-xl font-bold text-neutral-800 sm:text-2xl">
{user.name}
</h1>
<p className="mt-0.5 truncate text-sm text-neutral-500">{user.email}</p>
<p className="mt-0.5 truncate text-sm text-neutral-500">
{user.email}
</p>
<p className="mt-1 text-xs text-neutral-400">
Anggota sejak {memberSince}
</p>
@@ -131,7 +133,10 @@ export default async function ProfilePage() {
{organizedTrips.length === 0 ? (
<p className="rounded-xl border border-dashed border-neutral-200 bg-neutral-50 px-4 py-6 text-center text-sm text-neutral-500">
Belum ada trip.{" "}
<Link href="/create-trip" className="font-semibold text-primary-600">
<Link
href="/create-trip"
className="font-semibold text-primary-600"
>
Buat trip pertama
</Link>
</p>