From 78dcd843417d527eb5ef8b97ffb7b82d62167630 Mon Sep 17 00:00:00 2001 From: Dave Lane Date: Thu, 5 Sep 2024 12:21:32 +1200 Subject: [PATCH] tweaking image paths to work with enhancedImages --- README.md | 5 +++++ src/routes/+page.svelte | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1a26e55..cc5e0ce 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,13 @@ You can preview the production build with `npm run preview`. and then run + npm install + +(which runs these) + npm i -D @sveltejs/adapter-node npm i dotenv + npm i --save-dev @sveltejs/enhanced-img ### To build a new image diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 2805695..b10f3e4 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -461,7 +461,7 @@ } .tag.on { padding-right: 25px; - background-image: url('images/check-black-in-white-20px.png'); + background-image: url('/images/check-black-in-white-20px.png'); background-position: right center; background-repeat: no-repeat; }