diff --git a/web/src/components/landing/brand/AgentTerminal.tsx b/web/src/components/landing/brand/AgentTerminal.tsx new file mode 100644 index 00000000..d5721748 --- /dev/null +++ b/web/src/components/landing/brand/AgentTerminal.tsx @@ -0,0 +1,195 @@ +import { motion } from 'framer-motion' + +export default function AgentTerminal() { + return ( + + {/* Terminal frame */} +
+ + {/* Scanline overlay */} +
+ + {/* Header bar - macOS style */} +
+ {/* Window controls */} +
+
+
+
+
+
+
+ {/* Title */} +
+ NOFX Agent 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 +
+
+
+ + ) +} diff --git a/web/src/components/landing/brand/BrandHero.tsx b/web/src/components/landing/brand/BrandHero.tsx index ab99a936..a1239aab 100644 --- a/web/src/components/landing/brand/BrandHero.tsx +++ b/web/src/components/landing/brand/BrandHero.tsx @@ -2,6 +2,7 @@ import { motion } from 'framer-motion' import { ArrowRight, Github } from 'lucide-react' import { Marquee } from './Marquee' import { OFFICIAL_LINKS } from '../../../constants/branding' +import AgentTerminal from './AgentTerminal' export default function BrandHero() { const handleScroll = () => { @@ -75,32 +76,25 @@ export default function BrandHero() {
- {/* Right Visual - Mascot */} -
- {/* Abstract background elements */} -
-
+ {/* Right Visual - Agent Terminal */} +
+ {/* Background gradient orbs */} +
+
- {/* Grid Pattern */} -
- - Cyberpunk Mascot - + {/* Terminal Panel */} +
+ +
diff --git a/web/src/components/landing/core/TerminalHero.tsx b/web/src/components/landing/core/TerminalHero.tsx index 3ef6ac8f..4c3b07df 100644 --- a/web/src/components/landing/core/TerminalHero.tsx +++ b/web/src/components/landing/core/TerminalHero.tsx @@ -1,7 +1,8 @@ import { motion } from 'framer-motion' -import { ArrowRight, Shield, Activity, CircuitBoard, Cpu, Wifi, Globe, Lock, Zap, Star, GitFork, Users, MessageCircle } from 'lucide-react' +import { ArrowRight, Shield, Activity, CircuitBoard, Wifi, Globe, Zap, Star, GitFork, Users, MessageCircle } from 'lucide-react' import { useState, useEffect } from 'react' import { useGitHubStats } from '../../../hooks/useGitHubStats' +import AgentTerminal from '../brand/AgentTerminal' export default function TerminalHero() { @@ -88,10 +89,10 @@ export default function TerminalHero() { {/* Mobile Bottom Fade */}
- {/* Mobile Floating HUD - Moved to Left to avoid covering face */} -
-
-
+ {/* Mobile Floating HUD */} +
+
+
@@ -236,72 +237,25 @@ export default function TerminalHero() {
- {/* RIGHT COLUMN: HOLOGRAPHIC DISPLAY - Absolute Overlay for "Far Right" Effect on Desktop, Background on Mobile */} -
-
- {/* 3D Hologram Effect Container */} -
+ {/* RIGHT COLUMN: Agent Terminal - Desktop Only */} +
+ {/* Subtle gradient orb */} +
- {/* Scanning Grid behind Mascot - Mobile Optimized */} -
- - {/* The Mascot Image with Glitch/Holo Effects */} -
-
- - {/* Mobile Holo-Portrait Style - Full Color & Optimized & Premium Desktop */} -
- Agent NoFX - {/* Dynamic Holographic Overlay - Premium Noise & Gradient */} -
-
- - {/* Holo Scan Line - Subtle on Mobile */} -
- - {/* Mobile Glitch Overlay - Reduced Intensity */} -
-
-
- - {/* Floating Data Widgets around Hologram */} - - - - - - - + {/* Subtle grid fade */} +
+ {/* Agent Terminal Panel */} +
+
diff --git a/web/src/index.css b/web/src/index.css index 3b0c07cf..debaf402 100644 --- a/web/src/index.css +++ b/web/src/index.css @@ -938,35 +938,7 @@ tr:hover { animation: holo-shift 8s ease infinite, holo-flicker 4s infinite; } -/* Mobile Breathing Animation */ -@keyframes holo-breath { - - 0%, - 100% { - transform: scale(1); - } - - 50% { - transform: scale(1.02); - } -} - -.animate-breath-mobile { - animation: none; -} - -@media (max-width: 768px) { - .animate-breath-mobile { - animation: holo-breath 4s ease-in-out infinite; - } - - /* Optimize premium effects for mobile */ - .char-premium-effects { - filter: - drop-shadow(0 0 1px rgba(240, 185, 11, 0.6)) drop-shadow(0 0 1px rgba(0, 240, 255, 0.5)); - } -} - +/* Holographic overlay effect */ .holo-overlay { /* Complex gradient + noise for texture */ background: @@ -978,22 +950,4 @@ tr:hover { rgba(240, 185, 11, 0.1) 360deg); mix-blend-mode: overlay; background-blend-mode: overlay, normal; -} - -/* Chromatic Aberration & Rim Light */ -.char-premium-effects { - filter: - /* Rim Light: Main Warm Gold + Sharp White Highlight (No Cyan to avoid green) */ - drop-shadow(0 0 2px rgba(240, 185, 11, 0.6)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.4)) - /* Chromatic Aberration: Red/Blue shift (Subtle) */ - drop-shadow(-1px 0 0 rgba(255, 50, 50, 0.4)) drop-shadow(1px 0 0 rgba(50, 50, 255, 0.4)); - transition: filter 0.3s ease; -} - -.char-premium-effects:hover { - filter: - /* Intense Gold Glow on Hover */ - drop-shadow(0 0 8px rgba(240, 185, 11, 0.8)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.6)) - /* Enhanced Aberration */ - drop-shadow(-2px 0 0 rgba(255, 50, 50, 0.5)) drop-shadow(2px 0 0 rgba(50, 50, 255, 0.5)); } \ No newline at end of file