File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,15 @@ interface ProfileHeaderProps {
1010const ProfileHeader = ( { name, imageUrl, title } : ProfileHeaderProps ) => {
1111 return (
1212 < div className = "flex flex-col items-center text-center animate-fade-up" >
13- < Avatar className = "h-32 w-32 mb-4 border-4 border-white/20" >
14- < AvatarImage src = { imageUrl } alt = { name } />
15- < AvatarFallback > { name . slice ( 0 , 2 ) . toUpperCase ( ) } </ AvatarFallback >
13+ < Avatar className = "h-32 w-32 mb-4 border-4 border-white/20 shadow-xl" >
14+ < AvatarImage src = { imageUrl } alt = { name } className = "object-cover" />
15+ < AvatarFallback >
16+ < img
17+ src = "/placeholder.svg"
18+ alt = "Tech professional placeholder"
19+ className = "w-full h-full object-cover bg-gray-200"
20+ />
21+ </ AvatarFallback >
1622 </ Avatar >
1723 < h1 className = "text-4xl font-bold" > { name } </ h1 >
1824 { title && < p className = "text-lg text-white/80 mt-2" > { title } </ p > }
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const Home = () => {
2020 id : project . id ,
2121 title : project . title ,
2222 slug : project . slug ,
23- tags : project . tags || [ 'kubernetes' , 'cloud-native' , 'sre' ]
23+ tags : [ 'kubernetes' , 'cloud-native' , 'sre' ] // Fixed: Explicitly setting tags array
2424 } ) ) ;
2525
2626 return (
You can’t perform that action at this time.
0 commit comments