diff --git a/front/src/components/BasketItem.svelte b/front/src/components/BasketItem.svelte index 387b3fc..32b566b 100644 --- a/front/src/components/BasketItem.svelte +++ b/front/src/components/BasketItem.svelte @@ -1,8 +1,8 @@ -{#if items.length > 0} +{#if items.entries}

Cart

Order total: £{totalPrice}

- {#each items as item} + {#each items as [key, item]}
diff --git a/front/src/pages/PageItem.svelte b/front/src/pages/PageItem.svelte index 79041e9..89b24c9 100644 --- a/front/src/pages/PageItem.svelte +++ b/front/src/pages/PageItem.svelte @@ -10,8 +10,7 @@ export let params; $: item = getItemByUUID(params.uuid) - - let popularToday = getPopularToday(); + $: popularToday = getPopularToday();
diff --git a/front/src/styles/_reset.scss b/front/src/styles/_reset.scss index 7949259..389f278 100644 --- a/front/src/styles/_reset.scss +++ b/front/src/styles/_reset.scss @@ -78,6 +78,10 @@ hr { background-color: rgba($color-dark, 0.1); } +button { + font-family: $font-family; +} + .spacer { height: $spacing-large; }