From 59fcf4fa7f0e3c88c11aa44a403767e5eeb7e5eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilja=20Karta=C5=A1ov?= Date: Wed, 2 Sep 2026 13:56:23 +0200 Subject: [PATCH 1/4] Fix trailing slash issue --- src/routes/+layout.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/+layout.ts b/src/routes/+layout.ts index 189f71e2..ba58d860 100644 --- a/src/routes/+layout.ts +++ b/src/routes/+layout.ts @@ -1 +1,2 @@ export const prerender = true; +export const trailingSlash = 'always'; From 01104fde9e2a20773cc10c292865d0ef291a6143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilja=20Karta=C5=A1ov?= Date: Wed, 2 Sep 2026 15:42:04 +0200 Subject: [PATCH 2/4] Include .env for builds --- .env | 10 ---------- .env.example | 2 +- .github/workflows/deploy.yml | 1 + 3 files changed, 2 insertions(+), 11 deletions(-) delete mode 100755 .env diff --git a/.env b/.env deleted file mode 100755 index 1baa640a..00000000 --- a/.env +++ /dev/null @@ -1,10 +0,0 @@ -DATABASE_URL=postgresql://lowenware:lowenware@localhost:5434/lowenware -ORIGIN=http://localhost:3000 -FEEDBACK_NOTIFY_EMAIL=you@example.com -SMTP_HOST=localhost -SMTP_PORT=1025 -SMTP_USER= -SMTP_PASS= -SMTP_FROM=noreply@lowenware.com -# PUBLIC_INQUIRY_API_URL=https://my.lowenware.com/api/public/inquiries -PUBLIC_INQUIRY_API_URL=http://localhost:8081/api/public/inquiries diff --git a/.env.example b/.env.example index 1b68125a..781a8f3b 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,2 @@ -ORIGIN=http://localhost:3000 +ORIGIN=https://lowenware.com PUBLIC_INQUIRY_API_URL=https://my.lowenware.com/api/inquiry diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ffbd5081..6264b5e4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,6 +28,7 @@ jobs: node-version: ${{ matrix.node-version }} cache: npm - run: npm ci + - run: cp .env.example .env - run: npm run build - name: Upload run: rsync -avz ./build/ ${{ secrets.LOWENWARE_SSH_USER }}@${{ secrets.LOWENWARE_SSH_HOST }}:${{ vars.LOWENWARE_ROOT }}/${{ github.ref_name }}/ From ea1ffca2fee90aae1f9526307f515ed8a20d9e6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilja=20Karta=C5=A1ov?= Date: Wed, 2 Sep 2026 15:49:32 +0200 Subject: [PATCH 3/4] Fix menu on mobiles --- src/lib/ui/layout/site-header.svelte | 33 ++++++++++++++++------------ 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/src/lib/ui/layout/site-header.svelte b/src/lib/ui/layout/site-header.svelte index 14bc5b5d..e2722cc1 100644 --- a/src/lib/ui/layout/site-header.svelte +++ b/src/lib/ui/layout/site-header.svelte @@ -34,10 +34,11 @@ $effect(() => { if (!open) return; - const previousOverflow = document.body.style.overflow; - document.body.style.overflow = 'hidden'; + const root = document.documentElement; + const previousOverflow = root.style.overflow; + root.style.overflow = 'hidden'; return () => { - document.body.style.overflow = previousOverflow; + root.style.overflow = previousOverflow; }; }); @@ -75,17 +76,17 @@ - - {#if open} - - - {/if} +{#if open} + + +{/if} +