From aa15a392f187dad77107b78dbe52309d8a71b905 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Fri, 12 Sep 2025 17:27:16 +0200 Subject: [PATCH] Update cospend layout styling to match site theme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Change navigation text from "View All Payments" to "All Payments" - Remove Nord theme background overrides to use global site background - Update side panel styling to match site colors in light/dark modes - Maintain existing functionality while improving visual consistency 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/routes/cospend/+layout.svelte | 71 ++++++++++++++++++++++--------- 1 file changed, 52 insertions(+), 19 deletions(-) diff --git a/src/routes/cospend/+layout.svelte b/src/routes/cospend/+layout.svelte index 6573c24..b831d83 100644 --- a/src/routes/cospend/+layout.svelte +++ b/src/routes/cospend/+layout.svelte @@ -5,9 +5,18 @@ import { fly } from 'svelte/transition'; import { quintOut } from 'svelte/easing'; import PaymentModal from '$lib/components/PaymentModal.svelte'; + import Header from '$lib/components/Header.svelte'; + import UserHeader from '$lib/components/UserHeader.svelte'; + export let data; + let showModal = false; let paymentId = null; + let user; + + if (data.session) { + user = data.session.user; + } $: { // Check if URL contains payment view route OR if we have paymentId in state @@ -37,28 +46,37 @@ } -
-
- -
+
+ + + +
+
+ +
-
- {#if showModal} - - {/if} +
+ {#if showModal} + + {/if} +
-
+