Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsrobot committed Jan 2, 2024
1 parent 2bec18a commit 489dee1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/components/user-menu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function UserMenu() {
<Link draggable="false" aria-label={`Community ${c.handle}`} to={`/c/${c.handle}/${c.default_channel}`} data-accent-color="gray" data-radius="full" className={`rt-reset rt-BaseButton rt-IconButton rt-r-size-4 rt-variant-surface wk-community-button ${handle == c.handle ? "active" : ""}`}>
<div className={`${handle == c.handle ? "wk-community-active" : "wk-community-hovered"}`} />
{c.unread_count > 0 && <div className='wk-channel-users-unread' />}
<Tooltip content={c.name}>
<Tooltip content={c.name} delayDuration={0} side='right'>
<Text weight="bold" style={{ color: "var(--color-text-on-light)" }}>{avatarFallback(c.name)}</Text>
</Tooltip>
</Link>
Expand All @@ -77,25 +77,25 @@ export default function UserMenu() {
{!!me ? <Dialog.Root>
<Dialog.Trigger>
<IconButton aria-label="Create a community" draggable="false" size="4" color='gray' radius='full' variant='surface'>
<Tooltip content="Create a community">
<Tooltip content="Create a community" delayDuration={0} side='right'>
<PlusIcon width="28" height="28" style={{ color: "var(--color-text-on-light)" }} />
</Tooltip>
</IconButton>
</Dialog.Trigger>
<CreateCommunityDialog />
</Dialog.Root> :
<NavLink aria-label="Community settings" draggable="false" to='/signup' data-accent-color="gray" data-radius="full" className='rt-reset rt-BaseButton rt-IconButton rt-r-size-4 rt-variant-surface'>
<Tooltip content="Create a community">
<Tooltip content="Create a community" delayDuration={0} side='right'>
<PlusIcon width="28" height="28" style={{ color: "var(--color-text-on-light)" }} />
</Tooltip>
</NavLink>}
<NavLink draggable="false" aria-label="Explore communities" to='/c/get-started' data-accent-color="gray" data-radius="full" className='rt-reset rt-BaseButton rt-IconButton rt-r-size-4 rt-variant-surface'>
<Tooltip content="Explore communities">
<Tooltip content="Explore communities" delayDuration={0} side='right'>
<MagnifyingGlassIcon style={{ color: "var(--color-text-on-light)" }} width="28" height="28" />
</Tooltip>
</NavLink>
{!!me && <NavLink draggable="false" aria-label="User preferences" to='/u/settings' data-accent-color="gray" data-radius="full" className='rt-reset rt-BaseButton rt-IconButton rt-r-size-4 rt-variant-surface'>
<Tooltip content="Settings">
<Tooltip content="Settings" delayDuration={0} side='right'>
<GearIcon style={{ color: "var(--color-text-on-light)" }} width="28" height="28" />
</Tooltip>
</NavLink>}
Expand Down

0 comments on commit 489dee1

Please sign in to comment.