add more user information to member sidebar
This commit is contained in:
parent
6c970f74e2
commit
3f1c7bc9f7
|
@ -20,7 +20,7 @@ export const DisconnectDialog = (props: Props) => {
|
||||||
<Flex direction="column" align="center" gap="2">
|
<Flex direction="column" align="center" gap="2">
|
||||||
<Avatar size={64} />
|
<Avatar size={64} />
|
||||||
<Heading weight="600">{account.username}</Heading>
|
<Heading weight="600">{account.username}</Heading>
|
||||||
<Text color="gray">Chatkey: {account.chatKey}</Text>
|
<Text color="gray">Chatkey: {account.publicKey}</Text>
|
||||||
<EmojiHash />
|
<EmojiHash />
|
||||||
</Flex>
|
</Flex>
|
||||||
</Dialog.Body>
|
</Dialog.Body>
|
||||||
|
|
|
@ -18,7 +18,12 @@ export const MemberItem = (props: Props) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Flex gap="2" align="center" css={{ height: 56 }}>
|
<Flex gap="2" align="center" css={{ height: 56 }}>
|
||||||
<Avatar size={32} indicator={indicator} colorHash={colorHash} />
|
<Avatar
|
||||||
|
size={32}
|
||||||
|
indicator={indicator}
|
||||||
|
name={username}
|
||||||
|
colorHash={colorHash}
|
||||||
|
/>
|
||||||
<div>
|
<div>
|
||||||
<Flex align="center" gap={1}>
|
<Flex align="center" gap={1}>
|
||||||
<Text size="15" color="accent" truncate>
|
<Text size="15" color="accent" truncate>
|
||||||
|
|
|
@ -17,7 +17,7 @@ export const UserItem = (props: Props) => {
|
||||||
return (
|
return (
|
||||||
<Flex align="center" justify="between">
|
<Flex align="center" justify="between">
|
||||||
<Flex gap="2" align="center" css={{ height: 56 }}>
|
<Flex gap="2" align="center" css={{ height: 56 }}>
|
||||||
<Avatar size={32} />
|
<Avatar size={32} name={account.username} />
|
||||||
<div>
|
<div>
|
||||||
<Flex align="center" gap={1}>
|
<Flex align="center" gap={1}>
|
||||||
<Text size="15" color="accent">
|
<Text size="15" color="accent">
|
||||||
|
|
Loading…
Reference in New Issue