import { motion } from 'framer-motion' export default function AgentTerminal() { return ( {/* Terminal frame */}
{/* Header bar - macOS style */}
{/* Window controls */}
{/* Title */}
NOFX Trader Terminal
{/* Live indicator */}
Live
{/* Portfolio PnL Section */}
Portfolio PnL
+$12,847.50 +8.42%
{/* Chart Area */}
{/* Metrics Row */}
OI
$847M
↑ 2.1%
Netflow
+$124M
24h inflow
L/S Ratio
1.24
{/* Order Book */}
Order Book Spread: 0.02%
{/* Asks */}
{[ { price: '97,289.50', amount: '2.451', depth: 70 }, { price: '97,267.00', amount: '1.832', depth: 55 }, { price: '97,251.00', amount: '0.945', depth: 30 }, ].map((ask, i) => (
{ask.price} {ask.amount}
))}
{/* Bids */}
{[ { price: '97,244.50', amount: '3.127', depth: 85 }, { price: '97,221.00', amount: '4.592', depth: 100 }, { price: '97,198.00', amount: '1.845', depth: 50 }, ].map((bid, i) => (
{bid.price} {bid.amount}
))}
{/* Active Positions */}
Positions +$12,847
{[ { coin: 'BTC', name: 'BTC-PERP', size: '0.5', profit: '+$6,420', percent: '+12.8%', color: '#F7931A' }, { coin: 'ETH', name: 'ETH-PERP', size: '3.2', profit: '+$4,127', percent: '+7.6%', color: '#627EEA' }, { coin: 'BNB', name: 'BNB-PERP', size: '8.5', profit: '+$2,300', percent: '+5.2%', color: '#F3BA2F' }, ].map((pos, i) => (
{pos.coin}
{pos.name}
LONG {pos.size} {pos.coin}
{pos.profit}
{pos.percent}
))}
{/* Footer status bar */}
Connected Latency: 12ms
mainnet • v2.4.0
) }