diff --git a/src/components/Layout/index.tsx b/src/components/Layout/index.tsx index 37f5cd4..f305c0e 100644 --- a/src/components/Layout/index.tsx +++ b/src/components/Layout/index.tsx @@ -6,6 +6,7 @@ import { GithubOutlined, BankOutlined, LogoutOutlined, + LoginOutlined, HomeOutlined, RocketOutlined, } from "@ant-design/icons"; @@ -25,7 +26,8 @@ export const AppLayout = (props: any) => { "/dashboard": "2", "/deposit": "3", "/borrow": "4", - "/faucet": "4", + "/liquidate": "5", + "/faucet": "6", }; const current = @@ -92,8 +94,17 @@ export const AppLayout = (props: any) => { {LABELS.MENU_BORROW} + }> + + {LABELS.MENU_LIQUIDATE} + + {env !== "mainnet-beta" && ( - }> + }> } /> + } + /> } /> diff --git a/src/views/index.tsx b/src/views/index.tsx index 41c9247..df92ae2 100644 --- a/src/views/index.tsx +++ b/src/views/index.tsx @@ -8,3 +8,4 @@ export { ReserveView } from "./reserve"; export { WithdrawView } from "./withdraw"; export { FaucetView } from "./faucet"; export { RepayReserveView } from "./repayReserve"; +export { LiquidateView } from "./liquidate"; diff --git a/src/views/liquidate/index.tsx b/src/views/liquidate/index.tsx new file mode 100644 index 0000000..07d0886 --- /dev/null +++ b/src/views/liquidate/index.tsx @@ -0,0 +1,13 @@ +import React from "react"; + + +export const LiquidateView = () => { + + return ( +
+
Liquidation
+
+ + ); + +}; \ No newline at end of file