make profile photo bigger

This commit is contained in:
vchikalkin 2025-01-27 15:08:39 +03:00
parent 22022fb480
commit fed597229f

View File

@ -22,12 +22,12 @@ export function ProfileCard({ telegramId }: ProfileCardProps) {
return ( return (
<div className="space-y-4 bg-background p-4"> <div className="space-y-4 bg-background p-4">
<div className="flex flex-row items-center space-x-4"> <div className="flex flex-col items-center space-y-2">
<Avatar className="size-12"> <Avatar className="size-20">
<AvatarImage alt={customer?.name} src={customer.photoUrl || ''} /> <AvatarImage alt={customer?.name} src={customer.photoUrl || ''} />
<AvatarFallback>{customer?.name.charAt(0)}</AvatarFallback> <AvatarFallback>{customer?.name.charAt(0)}</AvatarFallback>
</Avatar> </Avatar>
<h2 className="text-2xl font-bold">{customer?.name}</h2> <h2 className="text-3xl font-bold">{customer?.name}</h2>
</div> </div>
<div className="flex flex-col gap-4"> <div className="flex flex-col gap-4">
{telegramId ? ( {telegramId ? (