diff --git a/web/app/components/CenterCol.tsx b/web/app/components/CenterCol.tsx
index adea4ed..310fc4c 100644
--- a/web/app/components/CenterCol.tsx
+++ b/web/app/components/CenterCol.tsx
@@ -42,6 +42,42 @@ export default function CenterCol() {
title: "Holder's Name",
value: "Nishant Verma",
}]
+ }, {
+ bankName: "Axis",
+ bankFullName: "Axis Bank",
+ bankLogoSrc: "/axis.svg",
+ bankAccountBalance: "55,410",
+ infoLines: [{
+ title: "Account Number",
+ value: "34536896852",
+ }, {
+ title: "IFSC Code",
+ value: "SBIN0006586",
+ }, {
+ title: "Swift BIC",
+ value: "6895206BB",
+ }, {
+ title: "Holder's Name",
+ value: "Nishant Verma",
+ }]
+ }, {
+ bankName: "ICICI",
+ bankFullName: "ICICI Bank",
+ bankLogoSrc: "/icici.svg",
+ bankAccountBalance: "7,932",
+ infoLines: [{
+ title: "Account Number",
+ value: "92531805286",
+ }, {
+ title: "IFSC Code",
+ value: "HDFC0002233",
+ }, {
+ title: "Swift BIC",
+ value: "HDFCINBBBNG",
+ }, {
+ title: "Holder's Name",
+ value: "Nishant Verma",
+ }]
}]
}
diff --git a/web/app/components/RecurringPayment.tsx b/web/app/components/RecurringPayment.tsx
index f5ef75a..dba4ae6 100644
--- a/web/app/components/RecurringPayment.tsx
+++ b/web/app/components/RecurringPayment.tsx
@@ -4,7 +4,7 @@ import styles from './recurringPayment.module.css'
import { BsTriangleFill, BsYoutube, BsCalendar2Date } from 'react-icons/bs'
import { RiHome7Fill } from 'react-icons/ri'
-export default function Upcoming() {
+export default function RecurringPayment(props) {
return (
@@ -13,7 +13,7 @@ export default function Upcoming() {
className={styles.paymentIcon}
size={50}
/>
-
2586 Rent
+
{props.title}
-
Due in 7 days
-
₹36,163 · monthly
+
Due in {props.due_in_days} days
+
₹{props.amount} · monthly
)
diff --git a/web/app/components/Upcoming.tsx b/web/app/components/Upcoming.tsx
index 73c3fb8..badb61d 100644
--- a/web/app/components/Upcoming.tsx
+++ b/web/app/components/Upcoming.tsx
@@ -3,8 +3,34 @@ import React from 'react'
import styles from './upcoming.module.css'
import { BsTriangleFill } from 'react-icons/bs'
import RecurringPayment from './RecurringPayment'
+import { RiHome7Fill } from 'react-icons/ri'
export default function Upcoming() {
+ const recurringPayments = [
+ {
+ title: "2568 Rent",
+ amount: "36,163",
+ due_in_days: "7",
+ },
+ {
+ title: "YouTube Premium",
+ amount: "130",
+ due_in_days: "17",
+ },
+ ]
+ const recurringPaymentsDiv = []
+ recurringPayments.forEach((payment) => {
+ recurringPaymentsDiv.push(
+
+ )
+ })
+
+
return (
@@ -17,8 +43,7 @@ export default function Upcoming() {
₹36,163
-
-
+ {recurringPaymentsDiv}
)
}
diff --git a/web/app/components/bankAccount.module.css b/web/app/components/bankAccount.module.css
index 6551992..f592d07 100644
--- a/web/app/components/bankAccount.module.css
+++ b/web/app/components/bankAccount.module.css
@@ -2,7 +2,9 @@
.main {
background: #FFF;
border-radius: 30px;
- width: 100%;
+ width: 47.5%;
+ margin-top: 5%;
+ /* max-width: 600px; */
}
.bank {
diff --git a/web/app/components/centerCol.module.css b/web/app/components/centerCol.module.css
index 76fc281..26c6fab 100644
--- a/web/app/components/centerCol.module.css
+++ b/web/app/components/centerCol.module.css
@@ -1,6 +1,8 @@
.main {
flex-grow: 1;
+ width: 45vw;
+ max-width: 1225px;
}
.title {
@@ -22,8 +24,9 @@
.accounts {
display: flex;
- justify-content: space-between;
gap: 30px;
margin-top: 30px;
+ flex-wrap: wrap;
+ gap: 5%;
}
diff --git a/web/app/components/recentTnx.module.css b/web/app/components/recentTnx.module.css
index bf11b4d..4527dac 100644
--- a/web/app/components/recentTnx.module.css
+++ b/web/app/components/recentTnx.module.css
@@ -1,6 +1,7 @@
.main {
- width: 400px;
+ width: 23vw;
+ max-width: 630px;
}
.heading {
diff --git a/web/app/components/recurringCol.module.css b/web/app/components/recurringCol.module.css
index a5d5c9a..99ac8e5 100644
--- a/web/app/components/recurringCol.module.css
+++ b/web/app/components/recurringCol.module.css
@@ -1,6 +1,7 @@
.main {
- width: 400px;
+ width: 23vw;
+ max-width: 630px;
}
.topDiv {