diff --git a/public/assets/images/food-preview-hq.png b/public/assets/images/food-preview-hq.png new file mode 100644 index 0000000..ac01581 Binary files /dev/null and b/public/assets/images/food-preview-hq.png differ diff --git a/src/app/[name]/[id]/page.tsx b/src/app/[name]/[id]/page.tsx new file mode 100644 index 0000000..f659c1c --- /dev/null +++ b/src/app/[name]/[id]/page.tsx @@ -0,0 +1,120 @@ +'use client' + +import MinusIcon from '@/components/icons/MinusIcon' +import PlusIcon from '@/components/icons/PlusIcon' +import { useReceiptStore } from '@/zustand/receiptStore' +import { motion } from 'framer-motion' +import { ArrowLeft, Clock, Cup, Heart, TruckTick } from 'iconsax-react' +import Image from 'next/image' +import React from 'react' + +type Props = object + +function FoodPage({ }: Props) { + const quantity = useReceiptStore(state => state.items[0]?.quantity || 0); + + const increment = useReceiptStore(state => state.increment); + const decrement = useReceiptStore(state => state.decrement); + + + return ( +
+
+ Food image +
+
+ خوراک +
+ +
+
+ +
+
+
+ کباب چوبی مخصوص +
+ +
+ +
+
+ + زمان پخت و آماده سازی: 25 دقیقه +
+
+ + 1500 امتیاز برای هر بار خرید +
+
+ + ارسال با پیک +
+
+ +
+ محتویات:
+ گوشت، سبزیجات، پیاز، ادویه جات معطر و .... +
+ +
+ {0} T + + {quantity <= 0 ? ( + + ) : ( + <> + + + {quantity} + + + + + + )} + +
+
+
+ ) +} + +export default FoodPage \ No newline at end of file