From a704082779630534d22ed5fe92e196e647df965a Mon Sep 17 00:00:00 2001 From: Fluffy Date: Wed, 8 May 2024 10:27:15 +0100 Subject: [PATCH] Clean up image folder structure --- front/public/{ => assets}/BackgroundTexture.svg | 0 front/public/{ => assets}/BackgroundTextureAlt.svg | 0 front/public/{ => assets}/BannerLoading.svg | 0 front/public/{ => assets}/Logo.svg | 0 front/public/{ => assets}/LogoAlt.svg | 0 front/public/{ => assets}/MenuItemLoading.svg | 0 front/public/{ => assets}/MenuItemLoadingAlt.svg | 0 front/public/{ => assets}/Noise.png | Bin .../{ => banner_images}/BannerExampleImage.jpg | Bin front/public/{ => item_images}/dab.jpg | Bin front/public/{ => item_images}/sonichog.jpg | Bin front/public/{ => item_images}/wathog.jpg | Bin front/src/App.svelte | 2 +- front/src/components/BasketItem.svelte | 2 +- front/src/components/MenuItem.svelte | 2 +- front/src/lib/test-api.ts | 2 +- front/src/lib/test-data.ts | 6 +++--- front/src/pages/PageItem.svelte | 2 +- front/src/styles/_reset.scss | 2 +- 19 files changed, 9 insertions(+), 9 deletions(-) rename front/public/{ => assets}/BackgroundTexture.svg (100%) rename front/public/{ => assets}/BackgroundTextureAlt.svg (100%) rename front/public/{ => assets}/BannerLoading.svg (100%) rename front/public/{ => assets}/Logo.svg (100%) rename front/public/{ => assets}/LogoAlt.svg (100%) rename front/public/{ => assets}/MenuItemLoading.svg (100%) rename front/public/{ => assets}/MenuItemLoadingAlt.svg (100%) rename front/public/{ => assets}/Noise.png (100%) rename front/public/{ => banner_images}/BannerExampleImage.jpg (100%) rename front/public/{ => item_images}/dab.jpg (100%) rename front/public/{ => item_images}/sonichog.jpg (100%) rename front/public/{ => item_images}/wathog.jpg (100%) diff --git a/front/public/BackgroundTexture.svg b/front/public/assets/BackgroundTexture.svg similarity index 100% rename from front/public/BackgroundTexture.svg rename to front/public/assets/BackgroundTexture.svg diff --git a/front/public/BackgroundTextureAlt.svg b/front/public/assets/BackgroundTextureAlt.svg similarity index 100% rename from front/public/BackgroundTextureAlt.svg rename to front/public/assets/BackgroundTextureAlt.svg diff --git a/front/public/BannerLoading.svg b/front/public/assets/BannerLoading.svg similarity index 100% rename from front/public/BannerLoading.svg rename to front/public/assets/BannerLoading.svg diff --git a/front/public/Logo.svg b/front/public/assets/Logo.svg similarity index 100% rename from front/public/Logo.svg rename to front/public/assets/Logo.svg diff --git a/front/public/LogoAlt.svg b/front/public/assets/LogoAlt.svg similarity index 100% rename from front/public/LogoAlt.svg rename to front/public/assets/LogoAlt.svg diff --git a/front/public/MenuItemLoading.svg b/front/public/assets/MenuItemLoading.svg similarity index 100% rename from front/public/MenuItemLoading.svg rename to front/public/assets/MenuItemLoading.svg diff --git a/front/public/MenuItemLoadingAlt.svg b/front/public/assets/MenuItemLoadingAlt.svg similarity index 100% rename from front/public/MenuItemLoadingAlt.svg rename to front/public/assets/MenuItemLoadingAlt.svg diff --git a/front/public/Noise.png b/front/public/assets/Noise.png similarity index 100% rename from front/public/Noise.png rename to front/public/assets/Noise.png diff --git a/front/public/BannerExampleImage.jpg b/front/public/banner_images/BannerExampleImage.jpg similarity index 100% rename from front/public/BannerExampleImage.jpg rename to front/public/banner_images/BannerExampleImage.jpg diff --git a/front/public/dab.jpg b/front/public/item_images/dab.jpg similarity index 100% rename from front/public/dab.jpg rename to front/public/item_images/dab.jpg diff --git a/front/public/sonichog.jpg b/front/public/item_images/sonichog.jpg similarity index 100% rename from front/public/sonichog.jpg rename to front/public/item_images/sonichog.jpg diff --git a/front/public/wathog.jpg b/front/public/item_images/wathog.jpg similarity index 100% rename from front/public/wathog.jpg rename to front/public/item_images/wathog.jpg diff --git a/front/src/App.svelte b/front/src/App.svelte index d4192b6..d2b5785 100644 --- a/front/src/App.svelte +++ b/front/src/App.svelte @@ -6,7 +6,7 @@ import Cart from './lib/cart'; import routes from './routes'; - import Logo from '/LogoAlt.svg'; + import Logo from '/assets/LogoAlt.svg'; const links = { home: {path: '/', className: 'active'}, diff --git a/front/src/components/BasketItem.svelte b/front/src/components/BasketItem.svelte index 6c99c6f..c308aa7 100644 --- a/front/src/components/BasketItem.svelte +++ b/front/src/components/BasketItem.svelte @@ -26,7 +26,7 @@ {#if item.data.images} Item {:else} - Item + Item {/if}