calculator and other cleaning

This commit is contained in:
2025-07-04 22:39:51 +02:00
parent a2db817133
commit 0bab1d83a1
19 changed files with 420 additions and 93 deletions

View File

@ -29,7 +29,7 @@
<div class="flex items-center justify-between">
<p
class="text-accent-green-light font-inter text-[12px] sm:text-[21px] md:text-2xl leading-[150%] font-bold">
{{ product.formatted_price }}
{{ formater.price(product.price) }}
</p>
<button
class="w-[22px] h-[22px] sm:w-9 sm:h-9 md:w-12 md:h-12 rounded-[5px] text-bg-light sm:rounded-xl bg-button cursor-pointer hover:bg-button-hover transition-all flex items-center justify-center p-1"
@ -57,7 +57,7 @@ defineProps<{ product: Product }>()
const productStore = useProductStore()
const menuStore = useMenuStore()
const formater = useFormater(useNuxtApp())
function handleImageError(event: Event) {
const img = event.target as HTMLImageElement
img.src = '/photo.svg'