Closes #016 - Deploy Native KaTeX Rig & Dual-Handbook System
This commit is contained in:
@@ -7,6 +7,7 @@ import { LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveContai
|
||||
import 'katex/dist/katex.min.css';
|
||||
import { BlockMath, InlineMath } from 'react-katex';
|
||||
import ScannerMathModal from './ScannerMathModal';
|
||||
import ScannerBlueprintModal from './ScannerBlueprintModal';
|
||||
import {
|
||||
ShieldAlert, Sparkles, RefreshCw, Flame, Search, Plus, Trash2,
|
||||
ChevronDown, ChevronUp, AlertTriangle, CheckCircle2, XCircle, Info, Clock, Play,
|
||||
@@ -48,6 +49,7 @@ export default function ScannerDemo() {
|
||||
|
||||
const [showMathAccordion, setShowMathAccordion] = useState(false);
|
||||
const [isMathModalOpen, setIsMathModalOpen] = useState(false);
|
||||
const [isBlueprintModalOpen, setIsBlueprintModalOpen] = useState(false);
|
||||
const [isShieldActive, setIsShieldActive] = useState(false);
|
||||
|
||||
// Cache for metadata and prices retrieved dynamically
|
||||
@@ -344,7 +346,7 @@ export default function ScannerDemo() {
|
||||
|
||||
const renderCategoryTable = (title: string, description: string, assets: any[]) => {
|
||||
return (
|
||||
<div className="bg-slate-955/40 border border-slate-850 rounded-2xl p-5 space-y-3">
|
||||
<div className="bg-slate-900/40 border border-slate-850 rounded-2xl p-5 space-y-3">
|
||||
<div className="flex justify-between items-center border-b border-slate-900 pb-2">
|
||||
<div>
|
||||
<h4 className="font-bold text-white text-sm">{title}</h4>
|
||||
@@ -586,6 +588,14 @@ export default function ScannerDemo() {
|
||||
<span>📖 Quantitative Handbook</span>
|
||||
</button>
|
||||
|
||||
<button
|
||||
onClick={() => setIsBlueprintModalOpen(true)}
|
||||
className="flex items-center gap-1.5 px-4 py-3 rounded-xl bg-slate-950/80 hover:bg-slate-900 border border-slate-800 hover:border-slate-700 transition-all font-semibold text-xs tracking-wider text-amber-400 justify-center animate-pulse-slow"
|
||||
>
|
||||
<Info className="w-3.5 h-3.5" />
|
||||
<span>⚙️ Operational Blueprint</span>
|
||||
</button>
|
||||
|
||||
<button
|
||||
onClick={handleMarketScan}
|
||||
disabled={scanning}
|
||||
@@ -934,6 +944,7 @@ export default function ScannerDemo() {
|
||||
</div>
|
||||
|
||||
<ScannerMathModal isOpen={isMathModalOpen} onClose={() => setIsMathModalOpen(false)} />
|
||||
<ScannerBlueprintModal isOpen={isBlueprintModalOpen} onClose={() => setIsBlueprintModalOpen(false)} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user