File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
lib/algora_web/components/layouts Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 117117 title = { Algora.Accounts.User . handle ( contact ) }
118118 >
119119 < div class = "relative inline-block " >
120- < div class = "relative h-8 w-8 flex-shrink-0 overflow-hidden rounded-full " >
121- < img
122- alt = { Algora.Accounts.User . handle ( contact ) }
123- loading = "lazy "
124- decoding = "async "
125- src = { contact . avatar_url }
126- class = "h-full w-full object-cover "
127- />
128- </ div >
120+ < . avatar >
121+ < . avatar_image src = { contact . avatar_url } />
122+ < . avatar_fallback >
123+ { Algora.Util . initials ( Algora.Accounts.User . handle ( contact ) ) }
124+ </ . avatar_fallback >
125+ </ . avatar >
129126 < span class = "absolute right-0 bottom-0 block h-2 w-2 rounded-full bg-green-400 ring-2 ring-white dark:ring-gray-950 " >
130127 </ span >
131128 </ div >
You can’t perform that action at this time.
0 commit comments