mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
feat(app): redesign discovery and align skeletons with rendered UI
This commit is contained in:
1 parent
e054aa96be
commit
98c40c6979
380 files changed
+50869
-32207
No files matched your search
@@ -20,10 +20,20 @@ export const UserIdentityRow = observer(
|
||||
const displayName = DisplayNameUtils.getNickname(user, guildId, channelId);
|
||||
return (
|
||||
<>
|
||||
<Avatar user={user} size={avatarSize} guildId={guildId === null ? undefined : guildId} className={className} />
|
||||
<flx-user-identity-row-info className={flxElementClassName(styles.info)}>
|
||||
<span className={styles.name}>{displayName}</span>
|
||||
<span className={styles.tag}>{user.tag}</span>
|
||||
<Avatar
|
||||
user={user}
|
||||
size={avatarSize}
|
||||
guildId={guildId === null ? undefined : guildId}
|
||||
className={className}
|
||||
data-flx="user.user-identity-row.avatar"
|
||||
/>
|
||||
<flx-user-identity-row-info className={flxElementClassName(styles.info)} data-flx="user.user-identity-row.info">
|
||||
<span className={styles.name} data-flx="user.user-identity-row.name">
|
||||
{displayName}
|
||||
</span>
|
||||
<span className={styles.tag} data-flx="user.user-identity-row.tag">
|
||||
{user.tag}
|
||||
</span>
|
||||
</flx-user-identity-row-info>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user