mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2025-06-02 08:23:14 +00:00
Add checkout page
Give shadows to more elements Fix broken cart Add notice on checkout if item is no-longer available Remove spacing on bottom of menu-item list with an added check Add leg
This commit is contained in:
parent
261939b445
commit
9a683e9605
17 changed files with 147 additions and 40 deletions
|
@ -1,7 +1,7 @@
|
|||
<script lang="ts">
|
||||
import { onMount } from "svelte";
|
||||
import { link } from 'svelte-spa-router';
|
||||
import { Acorn, Fish, Leaf, Pepper, ArrowUpRight, GrainsSlash } from 'phosphor-svelte';
|
||||
import { Acorn, Fish, Leaf, Pepper, ArrowUpRight, GrainsSlash, SealWarning } from 'phosphor-svelte';
|
||||
|
||||
import { type Item, Labels} from "../lib/types";
|
||||
import LoadingImage from '/assets/MenuItemLoadingAlt.svg';
|
||||
|
@ -23,6 +23,10 @@
|
|||
<svelte:window on:resize={keepSquare}></svelte:window>
|
||||
|
||||
<div class="menu-item" bind:this={element}>
|
||||
{#if !item.availability}
|
||||
<!-- <div class="menu-item-notice"><span>Item is no-longer for sale</span></div>-->
|
||||
{/if}
|
||||
|
||||
{#if item.images && item.images[0]}
|
||||
<img src={item.images[0]} alt="" class="menu-item-image">
|
||||
{:else}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue