feat(macro): deploy Macro Indicators Vault (Phase 4) with hybrid override and sparklines

This commit is contained in:
Antigravity Agent
2026-06-12 12:29:06 +02:00
parent 36ac9e8397
commit 8f0e887b9c
5 changed files with 891 additions and 26 deletions

View File

@@ -6,10 +6,11 @@ import ScannerDemo from '@/components/modules/scanner/ScannerDemo';
import InsiderDemo from '@/components/modules/insider/InsiderDemo';
import CryptoDemo from '@/components/modules/crypto/CryptoDemo';
import EventsDemo from '@/components/modules/events/EventsDemo';
import { BarChart3, TrendingUp, ShieldAlert, Radio, Landmark, RefreshCw } from 'lucide-react';
import MacroIndicatorsDemo from '@/components/modules/macro/MacroIndicatorsDemo';
import { BarChart3, TrendingUp, ShieldAlert, Radio, Landmark, RefreshCw, Activity } from 'lucide-react';
export default function Home() {
const [activeTab, setActiveTab] = useState<'sandbox' | 'scanner' | 'insider' | 'crypto' | 'events'>('sandbox');
const [activeTab, setActiveTab] = useState<'sandbox' | 'scanner' | 'insider' | 'crypto' | 'events' | 'macro'>('sandbox');
return (
<div className="min-h-screen bg-[#070b13] text-slate-100 flex flex-col font-sans selection:bg-teal-500/30 selection:text-teal-200">
@@ -92,6 +93,12 @@ export default function Home() {
>
<Landmark className="w-4 h-4" /> Ökonometrie
</button>
<button
onClick={() => setActiveTab('macro')}
className={`flex-1 lg:flex-none px-4 py-2.5 rounded-xl text-xs font-semibold flex items-center justify-center gap-2 transition-all ${activeTab === 'macro' ? 'bg-gradient-to-r from-purple-500 to-indigo-500 text-white font-bold shadow-lg shadow-purple-500/25' : 'text-slate-400 hover:text-slate-200 hover:bg-slate-900/50'}`}
>
<Activity className="w-4 h-4" /> Eco Indicators
</button>
</div>
</div>
</div>
@@ -106,6 +113,7 @@ export default function Home() {
{activeTab === 'insider' && <InsiderDemo />}
{activeTab === 'crypto' && <CryptoDemo />}
{activeTab === 'events' && <EventsDemo />}
{activeTab === 'macro' && <MacroIndicatorsDemo />}
</div>
</main>