diff --git a/frontend/pages/strategies.js b/frontend/pages/strategies.js deleted file mode 100644 index 7be55722c..000000000 --- a/frontend/pages/strategies.js +++ /dev/null @@ -1,12 +0,0 @@ -import DashboardLayout from '../layouts/DashboardLayout'; - - -export default function Strategies(){ - - return ( - - Hello World - - - ); -} \ No newline at end of file diff --git a/frontend/pages/strategies.tsx b/frontend/pages/strategies.tsx new file mode 100644 index 000000000..5a364db6f --- /dev/null +++ b/frontend/pages/strategies.tsx @@ -0,0 +1,130 @@ +import DashboardLayout from '../layouts/DashboardLayout'; +import { styled } from '@mui/styles'; + +const StrategyContainer = styled('section')(() => ({ + display: 'flex', + flexDirection: 'column', + justifyContent: 'space-around', + width: '400px', + height: '400px', + border: '1px solid rgb(248, 149, 35)', + borderRadius: '10px', + padding: '10px' +})); + +const Strategy = styled('div')(() => ({ + fontSize: '20px', +})); + +const StatusSign = styled('span')(() => ({ + width: '10px', + height: '10px', + display: 'block', + backgroundColor: 'rgb(113, 218, 113)', + borderRadius: '50%', + marginRight:'5px', +})); + +const RunningTime = styled('div')(() => ({ + display: 'flex', + alignItems: 'center', +})) + +const Description = styled('div')(() => ({ + color: 'rgb(140, 140, 140)', +})) + +const Summary = styled('div')(() => ({ + width: '100%', + display: 'flex', + justifyContent: 'space-around', + backgroundColor: 'rgb(255, 245, 232)', +})) + +const SummaryBlock = styled('div')(() => ({ + padding: '5px 0 5px 0' + +})); + +const StatsTitle = styled('div')(() => ({ + margin:'0 0 10px 0', + +})); + +const StatsValue = styled('div')(() => ({ + marginBottom: '10px', + color: 'rgb(123, 169, 90)', +})); + +const Precentage = styled('div')(() => ({ + color: 'rgb(123, 169, 90)', +})); + +const Stats = styled('div')(() => ({ + display: 'grid', + gridTemplateColumns: '1fr 1fr 1fr', + columnGap: '10px', + rowGap: '20px' +})); + + +export default function Strategies(){ + + return ( + + + Grid Trading + BTC/USDT + + + Running for 5D 0H 0M + + + 0 arbitrages in 24 hours / Total 3 arbitrages + + + + Investment USDT + 100 + + + + Total Profit USDT + +5.600 + +5.6% + + + + + + Grid Profits + +2.500 + +2.5% + + + + Floating PNL + +3.100 + + + + Grid APR + +182.5% + + + + Current Price + 29,000 + + + + Price Range + 25,000~35,000 + + + + + + + ); +} \ No newline at end of file