diff --git a/src/components/Layout/index.tsx b/src/components/Layout/index.tsx index 9f1d565..79b1275 100644 --- a/src/components/Layout/index.tsx +++ b/src/components/Layout/index.tsx @@ -9,6 +9,7 @@ import { ShoppingOutlined, HomeOutlined, RocketOutlined, + LineChartOutlined } from "@ant-design/icons"; import BasicLayout from "@ant-design/pro-layout"; @@ -104,8 +105,17 @@ export const AppLayout = (props: any) => { {LABELS.MENU_LIQUIDATE} + }> + + {LABELS.MARGIN_TRADING} + + {env !== "mainnet-beta" && ( - }> + }> } /> + } + /> } /> diff --git a/src/views/index.tsx b/src/views/index.tsx index 69f7522..51b2c53 100644 --- a/src/views/index.tsx +++ b/src/views/index.tsx @@ -10,3 +10,4 @@ export { FaucetView } from "./faucet"; export { RepayReserveView } from "./repayReserve"; export { LiquidateView } from "./liquidate"; export { LiquidateReserveView } from "./liquidateReserve"; +export { MarginTrading } from "./marginTrading"; diff --git a/src/views/marginTrading/index.tsx b/src/views/marginTrading/index.tsx new file mode 100644 index 0000000..af35ca3 --- /dev/null +++ b/src/views/marginTrading/index.tsx @@ -0,0 +1,13 @@ +import React from "react"; +import { LABELS } from "../../constants"; +import "./style.less"; +import { Card } from "antd"; + +export const MarginTrading = () => { + + return ( +
+ +
+ ); +}; diff --git a/src/views/marginTrading/style.less b/src/views/marginTrading/style.less new file mode 100644 index 0000000..614b9a6 --- /dev/null +++ b/src/views/marginTrading/style.less @@ -0,0 +1 @@ +@import '~antd/es/style/themes/default.less';