Remove home button on mobile nav
This commit is contained in:
parent
e3e688699f
commit
00413df68f
1 changed files with 4 additions and 12 deletions
|
|
@ -11,11 +11,10 @@
|
|||
import Divider from "@lib/components/Divider.svelte"
|
||||
import PrimaryNavItem from "@lib/components/PrimaryNavItem.svelte"
|
||||
import MenuSettings from "@app/components/MenuSettings.svelte"
|
||||
import PrimaryNavItemSpace from "@app/components/PrimaryNavItemSpace.svelte"
|
||||
import PrimaryNavSpaces from "@app/components/PrimaryNavSpaces.svelte"
|
||||
import Search from "@app/components/Search.svelte"
|
||||
import SpaceMenuDrawer from "@app/components/SpaceMenuDrawer.svelte"
|
||||
import {PLATFORM_LOGO, PLATFORM_RELAYS} from "@app/env"
|
||||
import {PLATFORM_RELAYS} from "@app/env"
|
||||
import {modal, popModal, pushDrawer, pushModal} from "@app/modal"
|
||||
import {notifications} from "@app/notifications"
|
||||
import {userSpaceUrls} from "@app/rooms"
|
||||
|
|
@ -97,16 +96,9 @@
|
|||
<ImageIcon alt={spaceMenuLabel} src={Sidebar} size={8} />
|
||||
</PrimaryNavItem>
|
||||
{/if}
|
||||
{#if PLATFORM_RELAYS.length === 1}
|
||||
<PrimaryNavItemSpace url={PLATFORM_RELAYS[0]} />
|
||||
{:else}
|
||||
<PrimaryNavItem title="Home" href="/home">
|
||||
<ImageIcon alt="Home" src={PLATFORM_LOGO} class="rounded-full" size={10} />
|
||||
</PrimaryNavItem>
|
||||
<PrimaryNavItem onclick={showSearch}>
|
||||
<ImageIcon alt="Search" src={Magnifier} size={8} />
|
||||
</PrimaryNavItem>
|
||||
{/if}
|
||||
<PrimaryNavItem onclick={showSearch}>
|
||||
<ImageIcon alt="Search" src={Magnifier} size={8} />
|
||||
</PrimaryNavItem>
|
||||
<PrimaryNavItem href="/chat" onclick={chatHandler} notification={$notifications.has("/chat")}>
|
||||
<ImageIcon alt="Messages" src={Letter} size={8} />
|
||||
</PrimaryNavItem>
|
||||
|
|
|
|||
Loading…
Reference in a new issue