feat: update profile banner aspect ratio to 3/1
This commit is contained in:
parent
717494b4ad
commit
0d42f8687f
1 changed files with 2 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ const ProfilePage = forwardRef(({ id, index }: { id?: string; index?: number },
|
||||||
<SecondaryPageLayout index={index} ref={ref}>
|
<SecondaryPageLayout index={index} ref={ref}>
|
||||||
<div className="sm:px-4">
|
<div className="sm:px-4">
|
||||||
<div className="relative bg-cover bg-center mb-2">
|
<div className="relative bg-cover bg-center mb-2">
|
||||||
<Skeleton className="w-full aspect-video sm:rounded-lg" />
|
<Skeleton className="w-full aspect-[3/1] sm:rounded-lg" />
|
||||||
<Skeleton className="w-24 h-24 absolute bottom-0 left-3 translate-y-1/2 border-4 border-background rounded-full" />
|
<Skeleton className="w-24 h-24 absolute bottom-0 left-3 translate-y-1/2 border-4 border-background rounded-full" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -111,7 +111,7 @@ const ProfilePage = forwardRef(({ id, index }: { id?: string; index?: number },
|
||||||
<ProfileBanner
|
<ProfileBanner
|
||||||
banner={banner}
|
banner={banner}
|
||||||
pubkey={pubkey}
|
pubkey={pubkey}
|
||||||
className="w-full aspect-video sm:rounded-lg"
|
className="w-full aspect-[3/1] sm:rounded-lg"
|
||||||
/>
|
/>
|
||||||
<Avatar className="w-24 h-24 absolute left-3 bottom-0 translate-y-1/2 border-4 border-background">
|
<Avatar className="w-24 h-24 absolute left-3 bottom-0 translate-y-1/2 border-4 border-background">
|
||||||
<AvatarImage src={avatar} className="object-cover object-center" />
|
<AvatarImage src={avatar} className="object-cover object-center" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue