@@ -6,7 +6,7 @@ import { DetailsCard } from '@shared/cards/DetailsCard';
66import ProfileRow from '@shared/ProfileRow' ;
77import { useQuery } from '@tanstack/react-query' ;
88import { EthAddress } from '@typedefs/blockchain' ;
9- import { PublicProfileInfo } from '@typedefs/general' ;
9+ import { BRANDING_PLATFORM_NAMES , PublicProfileInfo } from '@typedefs/general' ;
1010import clsx from 'clsx' ;
1111import { useEffect , useMemo , useState } from 'react' ;
1212import toast from 'react-hot-toast' ;
@@ -119,20 +119,20 @@ export default function PublicProfile() {
119119 < div className = "center-all" >
120120 < div className = "center-all h-[84px] w-[84px]" >
121121 { ! address ? (
122- < Skeleton className = "h-full w-full rounded-full " />
122+ < Skeleton className = "h-full w-full rounded-[37.5%] " />
123123 ) : imageError ? (
124124 // Placeholder user icon when no image exists
125- < div className = "center-all h-full w-full rounded-full bg-slate-200 text-6xl text-white" >
125+ < div className = "center-all h-full w-full rounded-[37.5%] bg-slate-200 text-6xl text-white" >
126126 < HiUser />
127127 </ div >
128128 ) : (
129- < div className = "center-all relative h-full w-full overflow-hidden rounded-full " >
130- < Skeleton className = "absolute h-full w-full rounded-full " />
129+ < div className = "center-all relative h-full w-full overflow-hidden rounded-[37.5%] " >
130+ < Skeleton className = "absolute h-full w-full rounded-[37.5%] " />
131131
132132 < img
133133 src = { profileImageUrl }
134134 alt = "Profile"
135- className = { clsx ( 'z-10 h-full w-full rounded-full object-cover object-center' , {
135+ className = { clsx ( 'z-10 h-full w-full rounded-[37.5%] object-cover object-center' , {
136136 'opacity-0' : isImageLoading ,
137137 } ) }
138138 onLoad = { ( ) => setImageLoading ( false ) }
@@ -233,7 +233,13 @@ export default function PublicProfile() {
233233 < div className = "text-slate-500" > —</ div >
234234 ) ;
235235
236- return < ProfileRow key = { platform } label = { platform } value = { displayValue } /> ;
236+ return (
237+ < ProfileRow
238+ key = { platform }
239+ label = { BRANDING_PLATFORM_NAMES [ platform ] ?? platform }
240+ value = { displayValue }
241+ />
242+ ) ;
237243 } ) }
238244 </ div >
239245 </ DetailsCard >
0 commit comments