mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
feat(bank/nui): home screen kinda done
This commit is contained in:
1 parent
f680cf43ef
commit
8cdd2d07b2
1 file changed
+11
-2
@@ -9,6 +9,7 @@ import { TransferModal } from "../transfers/TransferModal";
|
|||||||
|
|
||||||
import { useBankModal } from "../../hooks/useBankModal";
|
import { useBankModal } from "../../hooks/useBankModal";
|
||||||
import { useCredentials } from "../../hooks/useCredentials";
|
import { useCredentials } from "../../hooks/useCredentials";
|
||||||
|
import { NavLink } from 'react-router-dom';
|
||||||
|
|
||||||
// image
|
// image
|
||||||
import CreditCard from '../img/credit-card.png'
|
import CreditCard from '../img/credit-card.png'
|
||||||
@@ -26,8 +27,16 @@ export const BankHome = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={classes.root} >
|
<div className={classes.root} >
|
||||||
<h1>Coming soon</h1>
|
<Typography className={classes.headTitle}><span style={{ fontWeight: 'bold' }}>{t("APPS_BANK_HOME_TITLE")}</span>, {credentials.name}</Typography>
|
||||||
|
<div className={classes.accounts}>
|
||||||
|
<h2 className={classes.accountsType}>Checking:</h2>
|
||||||
|
<p className={classes.accountBalance}>${credentials.balance}</p>
|
||||||
|
</div>
|
||||||
|
<div className={classes.actions}>
|
||||||
|
<Button id="actionButton" className={classes.actionButton}><NavLink to="/bank/account">{t("APPS_BANK_ACCOUNT_LINK")}</NavLink></Button>
|
||||||
|
<Button onClick={openTransactionsModal} className={classes.actionButton}>{t("APPS_BANK_ACTIONS_TRANSFER")}</Button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
Reference in new issue
Block a user