Clean up image folder structure
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 352 KiB After Width: | Height: | Size: 352 KiB |
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB |
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
import Cart from './lib/cart';
|
import Cart from './lib/cart';
|
||||||
import routes from './routes';
|
import routes from './routes';
|
||||||
import Logo from '/LogoAlt.svg';
|
import Logo from '/assets/LogoAlt.svg';
|
||||||
|
|
||||||
const links = {
|
const links = {
|
||||||
home: {path: '/', className: 'active'},
|
home: {path: '/', className: 'active'},
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
{#if item.data.images}
|
{#if item.data.images}
|
||||||
<img src="{item.data.images[0]}" alt="Item" class="basket-item-image">
|
<img src="{item.data.images[0]}" alt="Item" class="basket-item-image">
|
||||||
{:else}
|
{:else}
|
||||||
<img src="/MenuItemLoading.svg" alt="Item" class="basket-item-image">
|
<img src="/assets/MenuItemLoading.svg" alt="Item" class="basket-item-image">
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<ul class="basket-item-data">
|
<ul class="basket-item-data">
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
import { Acorn, Fish, Leaf, Pepper, ArrowUpRight, GrainsSlash } from 'phosphor-svelte';
|
import { Acorn, Fish, Leaf, Pepper, ArrowUpRight, GrainsSlash } from 'phosphor-svelte';
|
||||||
|
|
||||||
import { type Item, Labels} from "../lib/types";
|
import { type Item, Labels} from "../lib/types";
|
||||||
import LoadingImage from '/MenuItemLoadingAlt.svg';
|
import LoadingImage from '/assets/MenuItemLoadingAlt.svg';
|
||||||
import {onMount} from "svelte";
|
import {onMount} from "svelte";
|
||||||
|
|
||||||
export let item: Item;
|
export let item: Item;
|
||||||
|
|
|
@ -14,7 +14,7 @@ export async function getAnnouncements(): Promise<{ image: string }> {
|
||||||
await fakeDelay(200);
|
await fakeDelay(200);
|
||||||
|
|
||||||
const data = {
|
const data = {
|
||||||
image: "/BannerExampleImage.jpg",
|
image: "/banner_images/BannerExampleImage.jpg",
|
||||||
};
|
};
|
||||||
cache["announcement_banner"] = data;
|
cache["announcement_banner"] = data;
|
||||||
|
|
||||||
|
|
|
@ -49,14 +49,14 @@ const TestData: Item[] = [
|
||||||
name: "GwaGwa",
|
name: "GwaGwa",
|
||||||
price: 69,
|
price: 69,
|
||||||
labels: [Labels.nut],
|
labels: [Labels.nut],
|
||||||
images: ["/dab.jpg"],
|
images: ["/item_images/dab.jpg"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
uuid: "hogmelon",
|
uuid: "hogmelon",
|
||||||
name: "Hogermellon",
|
name: "Hogermellon",
|
||||||
price: 1111,
|
price: 1111,
|
||||||
labels: [Labels.fish],
|
labels: [Labels.fish],
|
||||||
images: ["/wathog.jpg"],
|
images: ["/item_images/wathog.jpg"],
|
||||||
description: "Example",
|
description: "Example",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -64,7 +64,7 @@ const TestData: Item[] = [
|
||||||
name: "Blue HOGGGGG",
|
name: "Blue HOGGGGG",
|
||||||
price: 0,
|
price: 0,
|
||||||
labels: [Labels.nut, Labels.gluten, Labels.spicy],
|
labels: [Labels.nut, Labels.gluten, Labels.spicy],
|
||||||
images: ["/sonichog.jpg"],
|
images: ["/item_images/sonichog.jpg"],
|
||||||
description: "Example",
|
description: "Example",
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
{#if item.images}
|
{#if item.images}
|
||||||
<img src="{item.images[0]}" alt="Item">
|
<img src="{item.images[0]}" alt="Item">
|
||||||
{:else}
|
{:else}
|
||||||
<img src="/MenuItemLoading.svg" alt="Item">
|
<img src="/assets/MenuItemLoading.svg" alt="Item">
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
@ -22,7 +22,7 @@ body,
|
||||||
body {
|
body {
|
||||||
background-color: darken($color-background, 10%);
|
background-color: darken($color-background, 10%);
|
||||||
//background-color: $color-background;
|
//background-color: $color-background;
|
||||||
background-image: url("/Noise.png");
|
background-image: url("/assets/Noise.png");
|
||||||
color: $color-on-background;
|
color: $color-on-background;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|