From 06681131e3e1034203f70ace1bae1d588d184b47 Mon Sep 17 00:00:00 2001 From: Sahil Garg Date: Tue, 23 Jun 2026 10:37:44 +0530 Subject: [PATCH 1/3] feat: added settiings button in the mobile view. --- .../lib/fragments/BottomNav/BottomNav.svelte | 3 +-- .../src/lib/fragments/Header/Header.svelte | 19 +++++++++++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/platforms/pictique/client/src/lib/fragments/BottomNav/BottomNav.svelte b/platforms/pictique/client/src/lib/fragments/BottomNav/BottomNav.svelte index 47cd0fc94..f05c75b22 100644 --- a/platforms/pictique/client/src/lib/fragments/BottomNav/BottomNav.svelte +++ b/platforms/pictique/client/src/lib/fragments/BottomNav/BottomNav.svelte @@ -20,7 +20,6 @@ let ownerId: string | null = $derived(getAuthId()); let previousTab = $state('home'); let _activeTab = $derived(page.url.pathname); - let fullPath = $derived(page.url.pathname); let imageInput: HTMLInputElement; let images: FileList | null = $state(null); @@ -147,7 +146,7 @@ onclick={() => handleNavClick('profile')} > + import { goto } from '$app/navigation'; import { page } from '$app/state'; + import { Settings } from '$lib/icons'; import { cn } from '$lib/utils'; import { ArrowLeft01Icon, ArrowLeft02Icon } from '@hugeicons/core-free-icons'; import { HugeiconsIcon } from '@hugeicons/svelte'; + import { onDestroy } from 'svelte'; import type { HTMLAttributes } from 'svelte/elements'; import { heading as headingStore } from '../../../routes/store'; - import { onDestroy } from 'svelte'; const { ...restProps }: HTMLAttributes = $props(); @@ -100,7 +102,7 @@ {/if} @@ -110,6 +112,19 @@ {/if} + {#if !route.includes('/settings')} + + {/if}