File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -78,22 +78,20 @@ const description = "Our conference speakers organized alphabetically";
7878 href = { ` /speaker/${speaker .id } ` }
7979 class = " flex flex-col items-center group"
8080 >
81- <div class = " w-full aspect-square rounded-full overflow-hidden mb-3 border-2 border-transparent group-hover:border-primary transition-all" >
8281 { speaker .data .avatar ? (
8382
8483 <Image
8584 src = { speaker .data .avatar }
8685 alt = { ` ${speaker .data .name }'s profile picture ` }
8786 height = { 250 }
8887 width = { 250 }
89- class = " w-full h-full object-cover "
88+ class = " w-full aspect-square rounded-full overflow-hidden mb-3 border-2 border-transparent group-hover:border-primary transition-all h-full object-cover "
9089 />
9190 ) : (
92- <div class = " w-full h-full bg-[#f7efe6] flex items-center justify-center text-gray-500 text-xl" >
91+ <div class = " w-full h-full bg-[#f7efe6] flex items-center justify-center text-gray-500 text-xl aspect-square rounded-full overflow-hidden mb-3 border-2 border-transparent " >
9392 { speaker .data .name .charAt (0 )}
9493 </div >
9594 )}
96- </div >
9795 <h3 class = " text-center font-medium group-hover:text-primary text-sm md:text-base" >
9896 { speaker .data .name }
9997 </h3 >
You can’t perform that action at this time.
0 commit comments