From 09d1e3ee6dcbce652d74979740bb36fc0979217d Mon Sep 17 00:00:00 2001 From: Xylight Date: Sat, 13 Apr 2024 15:37:55 -0700 Subject: [PATCH] misc: update sidebar --- .../ui/sidebar/ProfileButton.svelte | 2 +- src/lib/components/ui/sidebar/Sidebar.svelte | 37 ++++++++++++++----- .../ui/sidebar/SidebarButton.svelte | 13 ++++++- 3 files changed, 39 insertions(+), 13 deletions(-) diff --git a/src/lib/components/ui/sidebar/ProfileButton.svelte b/src/lib/components/ui/sidebar/ProfileButton.svelte index e72faccc..f102097f 100644 --- a/src/lib/components/ui/sidebar/ProfileButton.svelte +++ b/src/lib/components/ui/sidebar/ProfileButton.svelte @@ -43,7 +43,7 @@ {index} {guest} selected={$profile?.id == prof.id} - slot="prefix" + slot="icon" /> import { ArrowLeftOnRectangle, + Bookmark, ChevronDoubleRight, Cog6Tooth, GlobeAlt, @@ -10,6 +11,7 @@ Inbox, MagnifyingGlass, ServerStack, + UserCircle, UserGroup, } from 'svelte-hero-icons' import { profile, profileData } from '$lib/auth.js' @@ -23,8 +25,6 @@ import { DEFAULT_INSTANCE_URL, LINKED_INSTANCE_URL } from '$lib/instance.js' import Expandable from '$lib/components/ui/Expandable.svelte' import EndPlaceholder from '../EndPlaceholder.svelte' - - export let route = ''