Skip to content

Commit

Permalink
fix: text decoration and styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Srish-ty committed Apr 15, 2024
1 parent 9e88703 commit 67ca5d9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 13 deletions.
11 changes: 8 additions & 3 deletions src/components/payment/Final.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,20 @@ function Final() {
setisUPI(true);
}}
style={{ zIndex: 9 }}>
Bank Transaction
{' '}
<Paragraph variant='body3' className='text-center m-0 p-0'>
Bank Transaction{' '}
</Paragraph>
</button>
<button
className={`px-4 py-1 rounded-2xl ${!isUPI ? 'border-2 border-black bg-orange-500 text-white' : 'bg-white text-black'}`}
onClick={() => {
setisUPI(false);
}}
style={{ zIndex: 9 }}>
Via UPI using QR
<Paragraph variant='body3' className='text-center m-0 p-0'>
Via UPI using QR{' '}
</Paragraph>
</button>
</div>
</div>
Expand All @@ -73,7 +78,7 @@ function Final() {
/>
</div>

<Heading variant='body3' className='text-primary-foreground flex justify-center'>
<Heading variant='body3' className='text-primary-foreground flex justify-center my-8 italic'>
{Contactorg}
</Heading>
</>
Expand Down
9 changes: 5 additions & 4 deletions src/components/payment/Payment.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ export const PaymentCont = () => {
<div className='container px-4 lg:px-0 flex justify-center items-center'>
<div className='p-4 w-full lg:w-3/4'>
<Paragraph variant='body3' className='text-center mb-8 lg:mb-4 mt-11'>
Preferred method: Transfer funds from your bank to our CURRENT account
<b>Preferred method:</b> Transfer funds from your bank to our CURRENT account
</Paragraph>
<div className='flex flex-col items-center'>
{Paymentdata.map((item, index) => (
<Paragraph variant='body3' key={index} className='text-center lg:mb-4'>
{item}
{item[0]}
<b>{item[1]}</b>
</Paragraph>
))}
</div>
Expand All @@ -30,7 +31,7 @@ export const UPI = () => {
<div className='border border-black p-4 w-1/2'>
<div className='flex flex-col items-center'>
{UPIdata.slice(0, 1).map((item, index) => (
<Paragraph variant='body3' key={index} className='text-center lg:mb-4'>
<Paragraph variant='body3' key={index} className='text-center font-bold lg:mb-4'>
{item}
</Paragraph>
))}
Expand All @@ -40,7 +41,7 @@ export const UPI = () => {
className='w-64 h-64 object-cover'
/>
{UPIdata.slice(1).map((item, index) => (
<Paragraph variant='body3' key={index} className='text-center lg:mb-4'>
<Paragraph variant='body3' key={index} className='text-center font-bold lg:mb-4'>
{item}
</Paragraph>
))}
Expand Down
12 changes: 6 additions & 6 deletions src/data/paymentData.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export const Paymentdata = [
'Bank: State Bank of India',
'Account name:NIT Rourkela 1998 Alumni',
'Account number:41728775160(Current Account)',
'IFSC Code:SBIN0002109',
'MICR Code:769002007',
'Branch Code: 002109',
['Bank: ', 'State Bank of India'],
['Account name: ', 'NIT Rourkela 1998 Alumni'],
['Account number: ', '41728775160(Current Account)'],
['IFSC Code: ', 'SBIN0002109'],
['MICR Code: ', '769002007'],
['Branch Code: ', '002109'],
];

export const UPIdata = ['SCAN and PAY', 'NIT ROURKELA 1999 ALUMNI', 'UPI ID:41728775160@SBI'];
Expand Down

0 comments on commit 67ca5d9

Please sign in to comment.