From ceb7ea4ddf55f0ff3dfcca0c08f7db335d21675f Mon Sep 17 00:00:00 2001 From: Xylight Date: Sat, 17 Aug 2024 17:40:57 -0700 Subject: [PATCH] design: blur the profile picture and use as background for nav --- src/lib/components/ui/navbar/Navbar.svelte | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/src/lib/components/ui/navbar/Navbar.svelte b/src/lib/components/ui/navbar/Navbar.svelte index bd56a4e9..4ec7c8a2 100644 --- a/src/lib/components/ui/navbar/Navbar.svelte +++ b/src/lib/components/ui/navbar/Navbar.svelte @@ -35,6 +35,7 @@ import { LINKED_INSTANCE_URL } from '$lib/instance' import { t } from '$lib/translations' import CommandsWrapper from './commands/CommandsWrapper.svelte' + import { optimizeImageURL } from '$lib/components/lemmy/post/helpers' let searching = false let promptOpen: boolean = false @@ -181,12 +182,19 @@ {/if} - +
+ +
+