From 24b77162418d681f85eba7c7ce32a31b5c6e3cf5 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Wed, 6 Nov 2024 21:45:48 -0800 Subject: [PATCH] refac: workspace styling --- src/lib/components/icons/Plus.svelte | 2 +- src/lib/components/layout/Sidebar.svelte | 22 +++--- .../layout/Sidebar/SearchInput.svelte | 2 +- src/lib/components/workspace/Functions.svelte | 72 +++++++---------- src/lib/components/workspace/Knowledge.svelte | 78 +++++++------------ src/lib/components/workspace/Models.svelte | 72 +++++++---------- src/lib/components/workspace/Prompts.svelte | 72 +++++++---------- src/lib/components/workspace/Tools.svelte | 72 +++++++---------- src/routes/(app)/admin/+layout.svelte | 2 +- src/routes/(app)/playground/+layout.svelte | 2 +- src/routes/(app)/workspace/+layout.svelte | 4 +- 11 files changed, 154 insertions(+), 246 deletions(-) diff --git a/src/lib/components/icons/Plus.svelte b/src/lib/components/icons/Plus.svelte index bcfe4a8b2..e5f3ba770 100644 --- a/src/lib/components/icons/Plus.svelte +++ b/src/lib/components/icons/Plus.svelte @@ -1,6 +1,6 @@
-
+ {#if $user?.role === 'admin'} -
+ {/if} -
+ + +
- -
-
+