Skip to content

Commit

Permalink
update payment page
Browse files Browse the repository at this point in the history
  • Loading branch information
Premkolte committed Oct 18, 2024
1 parent 32a4094 commit 6da9503
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 1 addition & 5 deletions frontend/src/Pages/Emergency.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ const Emergency = () => {
return (
<div className="min-h-screen flex justify-center items-center bg-blue-100">
<h1 className="text-3xl font-semibold text-blue-900">Emergency Page</h1>
<div className='flex flex-col items-center justify-center' >
<h1 className='text-2xl font-semibold text-blue-900'>Emergency Contact</h1>
<h1 className='text-2xl font-semibold text-blue-900'>Emergency Contact</h1>
<h1 className='text-2xl font-semibold text-blue-900'>Emergency Contact</h1>
</div>

</div>
);
};
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/Pages/Payment.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ const Payment = () => {

const handleSubmit = (e) => {
e.preventDefault();
// Handle payment submission logic here
console.log('Payment submitted:', { paymentMethod, cardNumber, expiryDate, cvv });
};

return (

<div className="min-h-screen flex justify-center items-center bg-blue-100">
<div className="bg-white p-8 rounded-lg shadow-md w-full max-w-md">
<h1 className="text-3xl font-semibold text-blue-900 mb-6">Payment Page</h1>
Expand Down Expand Up @@ -49,6 +49,7 @@ const Payment = () => {
required
/>
</div>

<div className="flex mb-4">
<div className="w-1/2 mr-2">
<label className="block text-gray-700 text-sm font-bold mb-2">
Expand All @@ -63,6 +64,7 @@ const Payment = () => {
required
/>
</div>

<div className="w-1/2 ml-2">
<label className="block text-gray-700 text-sm font-bold mb-2">
CVV
Expand All @@ -88,7 +90,6 @@ const Payment = () => {
type="text"
className="w-full px-3 py-2 border rounded-md"
placeholder="Enter your UPI ID"
// Add value and onChange handlers here
/>
</div>
) : null}
Expand Down

0 comments on commit 6da9503

Please sign in to comment.