Adjust profile picture size

Adjusted the profile picture size to occupy the height of two lines.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-16 09:29:15 +00:00
parent 0f371ac87f
commit 4b52c85478

View File

@@ -2,6 +2,7 @@
import React from 'react';
import { Bell } from 'lucide-react';
import { useAuth } from '@/contexts/auth';
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar';
const Header: React.FC = () => {
const {
@@ -11,23 +12,15 @@ const Header: React.FC = () => {
return <header className="py-8">
<div className="flex justify-between items-center">
<div>
<div className="flex items-center mb-1">
<img
src="/zellyy.png"
alt="Zellyy"
className="w-6 h-6 mr-2"
/>
<div className="flex items-center">
<Avatar className="h-12 w-12 mr-3">
<AvatarImage src="/zellyy.png" alt="Zellyy" />
<AvatarFallback>ZY</AvatarFallback>
</Avatar>
<div>
<h1 className="text-2xl font-bold neuro-text">
{user ? `${userName}님, 반갑습니다` : '반갑습니다'}
</h1>
</div>
<div className="flex items-center">
<img
src="/zellyy.png"
alt="Zellyy"
className="w-4 h-4 mr-2"
/>
<p className="text-gray-500 text-left"> </p>
</div>
</div>