wip: update browse user screen

This commit is contained in:
Ren Amamiya
2023-09-24 15:42:49 +07:00
parent 41b12746a7
commit c049fa8865
8 changed files with 128 additions and 27 deletions

View File

@@ -35,6 +35,10 @@ export const User = memo(function User({
const createdAt = time ? formatCreatedAt(time, variant === 'chat') : 0;
if (status === 'loading') {
if (variant === 'avatar') {
<div className="h-12 w-12 animate-pulse overflow-hidden rounded-lg bg-white/10 backdrop-blur-xl" />;
}
if (variant === 'mention') {
return (
<div className="relative flex items-center gap-3">