remove home nav item

This commit is contained in:
Jon Staab
2024-10-10 09:27:26 -07:00
parent 2034eb8c9c
commit 89c4a2014a
3 changed files with 10 additions and 12 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
<div class="relative hidden w-14 flex-shrink-0 bg-base-100 pt-4 sm:block">
<div class="flex h-full flex-col justify-between">
<div>
<PrimaryNavItem href="/home" class="tooltip-right">
<PrimaryNavItem href="/home/people" class="tooltip-right">
<Avatar src={$userProfile?.picture} class="!h-10 !w-10" />
</PrimaryNavItem>
{#each getMembershipUrls($userMembership) as url (url)}
+4 -9
View File
@@ -42,26 +42,21 @@
<SecondaryNav>
<SecondaryNavSection>
<div in:fly>
<SecondaryNavItem href="/home">
<Icon icon="home-smile" /> Home
</SecondaryNavItem>
</div>
<div in:fly={{delay: 50}}>
<SecondaryNavItem href="/home/people">
<Icon icon="user-heart" /> People
</SecondaryNavItem>
</div>
<div in:fly={{delay: 100}}>
<div in:fly={{delay: 50}}>
<SecondaryNavItem href="/home/network">
<Icon icon="share-circle" /> Network
</SecondaryNavItem>
</div>
<div in:fly={{delay: 150}}>
<div in:fly={{delay: 100}}>
<SecondaryNavItem href="/home/notes">
<Icon icon="notes-minimalistic" /> Notes
</SecondaryNavItem>
</div>
<div in:fly={{delay: 200}}>
<div in:fly={{delay: 150}}>
<SecondaryNavHeader>
Chats
<Button on:click={startChat}>
@@ -72,7 +67,7 @@
</SecondaryNavSection>
<label
class="input input-sm input-bordered mx-6 -mt-4 mb-2 flex items-center gap-2"
in:fly={{delay: 250}}>
in:fly={{delay: 200}}>
<Icon icon="magnifer" />
<input bind:value={term} class="grow" type="text" />
</label>
+5 -2
View File
@@ -5,6 +5,7 @@
import {shuffle} from "@welshman/lib"
import {getPubkeyTagValues, getListTags} from "@welshman/util"
import {profileSearch, userFollows} from "@welshman/app"
import PageHeader from "@lib/components/PageHeader.svelte"
import PeopleItem from "@app/components/PeopleItem.svelte"
const defaultPubkeys = shuffle(getPubkeyTagValues(getListTags($userFollows)))
@@ -28,8 +29,10 @@
</script>
<div class="content column gap-4" bind:this={element}>
<h1 class="superheading mt-20 hidden sm:block">People</h1>
<p class="hidden text-center sm:block">Get the latest from people in your network</p>
<PageHeader>
<div slot="title">People</div>
<div slot="info">Get the latest from people in your network</div>
</PageHeader>
<label class="input input-bordered flex w-full items-center gap-2">
<Icon icon="magnifer" />
<input bind:value={term} class="grow" type="text" placeholder="Search for people..." />