update lib
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user