From 1347321ce0fc60f0edec3c899a9adbad18599cff Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 15 Mar 2025 04:38:19 +0000 Subject: [PATCH] Implement payment method placeholder - Added placeholder card payment methods. - Added a message indicating that the payment feature is not yet supported. - Grayed out the "Add New Payment Method" button. --- src/pages/PaymentMethods.tsx | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/src/pages/PaymentMethods.tsx b/src/pages/PaymentMethods.tsx index ce8b0cf..0c2f96a 100644 --- a/src/pages/PaymentMethods.tsx +++ b/src/pages/PaymentMethods.tsx @@ -4,6 +4,7 @@ import NavBar from '@/components/NavBar'; import { ArrowLeft, CreditCard, PlusCircle } from 'lucide-react'; import { useNavigate } from 'react-router-dom'; import { Button } from '@/components/ui/button'; +import { useToast } from '@/hooks/use-toast'; const PaymentMethodCard = ({ type, @@ -46,6 +47,14 @@ const PaymentMethodCard = ({ const PaymentMethods = () => { const navigate = useNavigate(); + const { toast } = useToast(); + + const handleAddPayment = () => { + toast({ + title: "알림", + description: "이 결제 기능은 아직 지원하지 않습니다.", + }); + }; return (
@@ -85,20 +94,18 @@ const PaymentMethods = () => { />
-
-

은행 계좌

- - + {/* Notice */} +
+

+ 이 결제 기능은 아직 지원하지 않습니다. +

{/* Add Payment Method Button */}