File tree Expand file tree Collapse file tree 2 files changed +8
-15
lines changed
Expand file tree Collapse file tree 2 files changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ type ProfileAvatarProps = {
66
77const ProfileAvatar : React . FC < ProfileAvatarProps > = ( { pfpUrl } ) => (
88 < div className = "relative group" >
9- < div className = "absolute inset-0 rounded-full bg-gradient-to-tr from-highlight-light via-purple-400 to-accent-red blur-sm opacity-60 group-hover:opacity-80 transition-opacity duration-300" > </ div >
109 < img
1110 src = { pfpUrl || "/logo-new.png" }
1211 alt = "Profile"
Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ const ProfileInfo: React.FC<{ profile: User | null }> = ({ profile }) => {
6868 </ button >
6969 ) }
7070
71- < div className = "flex flex-col md :flex-row gap-6" >
72- < div className = "flex-shrink-0" >
71+ < div className = "flex flex-col sm :flex-row gap-4 sm: gap-6" >
72+ < div className = "flex-shrink-0 flex justify-center sm:block " >
7373 < ProfileAvatar pfpUrl = { localProfile ?. pfpUrl || null } />
7474 </ div >
7575
@@ -142,25 +142,19 @@ const PlatformLink = ({
142142 logo : string ;
143143 rating ?: number | null | undefined ;
144144} ) => (
145- < div className = "flex items-start gap-2 group" >
146- < img
147- src = { logo }
148- alt = { `${ label } logo` }
149- className = "w-10 h-auto mt-1 opacity-80"
150- />
151- < div >
152- < div className = "text-sm text-gray-400" > { label } </ div >
145+ < div className = "flex items-center gap-3 group" >
146+ < img src = { logo } alt = { `${ label } logo` } className = "w-6 h-6 opacity-80" />
147+ < div className = "flex flex-col text-sm" >
148+ < span className = "text-gray-400" > { label } </ span >
153149 < a
154150 href = { href }
155151 target = "_blank"
156152 rel = "noopener noreferrer"
157- className = "text-white font-mono font-semibold hover:text-blue-400 transition-colors"
153+ className = "text-white font-mono font-semibold hover:text-blue-400 transition-colors break-all "
158154 >
159155 { handle }
160156 { rating && (
161- < span className = { `ml-2 font-mono ${ getRatingColor ( rating ) } ` } >
162- ({ rating } )
163- </ span >
157+ < span className = { `ml-1 ${ getRatingColor ( rating ) } ` } > ({ rating } )</ span >
164158 ) }
165159 </ a >
166160 </ div >
You can’t perform that action at this time.
0 commit comments