main: vibe coded app to feel like paper
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import { motion, AnimatePresence } from 'framer-motion';
|
||||
import { FaClock, FaTimes, FaDownload } from 'react-icons/fa';
|
||||
import { Album, Purchase } from '@/lib/types';
|
||||
import { formatPrice } from '@/lib/utils';
|
||||
|
||||
interface PurchaseSuccessModalProps {
|
||||
show: boolean;
|
||||
@@ -23,7 +24,7 @@ PURCHASE RECEIPT
|
||||
Status: PENDING APPROVAL
|
||||
Album: ${album.title}
|
||||
Artist: Parsa
|
||||
Amount: $${album.price}
|
||||
Amount: ${formatPrice(album.price)}
|
||||
Transaction ID: ${purchase.transactionId}
|
||||
Date: ${new Date(purchase.purchaseDate).toLocaleString()}
|
||||
|
||||
@@ -102,7 +103,7 @@ You will receive access to this album after confirmation.
|
||||
</div>
|
||||
<div className="border-t border-white/10 pt-3 flex justify-between">
|
||||
<span className="text-gray-400">Amount</span>
|
||||
<span className="text-accent-orange font-bold text-xl">${album.price}</span>
|
||||
<span className="text-accent-orange font-bold text-xl">{formatPrice(album.price)}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user