first commit

This commit is contained in:
CHIEFSOFT\ameye
2025-07-21 05:51:52 -04:00
commit 7e28fc8f51
114 changed files with 23749 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import React from 'react'
import ErrorCom from '../components/error/ErrorCom'
export default function ErrorPage() {
return (
<ErrorCom />
)
}
+8
View File
@@ -0,0 +1,8 @@
import React from 'react'
import HomeCom from '../components/home/HomeCom'
export default function HomePage() {
return (
<HomeCom />
)
}
+8
View File
@@ -0,0 +1,8 @@
import React from 'react'
import LoanChargesCom from '../components/loan_charges/LoanChargesCom'
export default function LoanChargesPage() {
return (
<LoanChargesCom />
)
}
+8
View File
@@ -0,0 +1,8 @@
import React from 'react'
import LoansCom from '../components/loanscom/LoansCom'
export default function LoansPage() {
return (
<LoansCom />
)
}
+8
View File
@@ -0,0 +1,8 @@
import React from 'react'
import LoginCom from '../components/auth/LoginCom'
export default function LoginPage() {
return (
<LoginCom />
)
}
+8
View File
@@ -0,0 +1,8 @@
import React from 'react'
import OffersCom from '../components/offers/OffersCom'
export default function OffersPage() {
return (
<OffersCom />
)
}
+8
View File
@@ -0,0 +1,8 @@
import React from 'react'
import RepaymentsCom from '../components/repayments/RepaymentsCom'
export default function RepaymentsPage() {
return (
<RepaymentsCom />
)
}
+18
View File
@@ -0,0 +1,18 @@
import React, { useEffect } from 'react'
import {useLocation, useNavigate} from 'react-router-dom'
import TransactionDetailsCom from '../components/transactionDetails/TransactionDetailsCom'
export default function TransactionDetailsPage() {
const {state} = useLocation()
const navigate = useNavigate()
useEffect(()=>{
if(!state?.transactionID){
navigate('/', {replace: true})
}
},[])
return (
<TransactionDetailsCom id={state?.transactionID} />
)
}
+8
View File
@@ -0,0 +1,8 @@
import React from 'react'
import TransactionsCom from '../components/transactions/TransactionsCom'
export default function TransactionsPage() {
return (
<TransactionsCom />
)
}