diff --git a/src/app/[name]/cart/page.tsx b/src/app/[name]/cart/page.tsx new file mode 100644 index 0000000..faed11d --- /dev/null +++ b/src/app/[name]/cart/page.tsx @@ -0,0 +1,104 @@ +'use client'; + +import Button from '@/components/button/PrimaryButton'; +import { ScrollArea } from '@/components/ui/scrollarea'; +import { useReceiptStore } from '@/zustand/receiptStore'; +import { motion } from 'framer-motion'; +import { Trash } from 'iconsax-react'; +import { PlusIcon, MinusIcon } from 'lucide-react'; +import React from 'react' + +type Props = object + +const CartIndex = ({ }: Props) => { + const quantity = useReceiptStore(state => state.items[0]?.quantity || 0); + const increment = useReceiptStore(state => state.increment); + const decrement = useReceiptStore(state => state.decrement); + + + return ( +
+

سبد خرید

+ + + + + +
+
+

توضیحات:

+ + + + +
+
+ +
+
+
جمع خرید:
+
560.000 تومان
+
+ +
+
+ +
+ ) +} + +export default CartIndex \ No newline at end of file