Create src/components/ProtocolsView.tsx
Browse files
src/components/ProtocolsView.tsx
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
import { Stethoscope, ShieldAlert, Target, BookOpen } from 'lucide-react';
|
| 3 |
+
|
| 4 |
+
const PROTOCOL_DATA = [
|
| 5 |
+
{
|
| 6 |
+
mutation: 'KRAS G12C',
|
| 7 |
+
indication: 'Non-Small Cell Lung Cancer (NSCLC)',
|
| 8 |
+
firstLine: 'Sotorasib 960mg QD',
|
| 9 |
+
mechanism: 'Irreversible KRAS G12C Inhibitor',
|
| 10 |
+
toxicity: 'High GI/Hepatic Risk'
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
mutation: 'EGFR L858R / T790M',
|
| 14 |
+
indication: 'NSCLC / EGFR+ Adenocarcinoma',
|
| 15 |
+
firstLine: 'Osimertinib 80mg QD',
|
| 16 |
+
mechanism: '3rd Gen EGFR-TKI',
|
| 17 |
+
toxicity: 'Cardio/Dermatological Risk'
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
mutation: 'ALK / EML4 Fusion',
|
| 21 |
+
indication: 'ALK+ NSCLC',
|
| 22 |
+
firstLine: 'Alectinib 600mg BID',
|
| 23 |
+
mechanism: 'Highly Selective ALK Inhibitor',
|
| 24 |
+
toxicity: 'Edema / Bradycardia Risk'
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
mutation: 'BRAF V600E',
|
| 28 |
+
indication: 'Melanoma / Colorectal',
|
| 29 |
+
firstLine: 'Dabrafenib + Trametinib',
|
| 30 |
+
mechanism: 'BRAF/MEK Dual Inhibition',
|
| 31 |
+
toxicity: 'Pyrexia / Skin Toxicity'
|
| 32 |
+
}
|
| 33 |
+
];
|
| 34 |
+
|
| 35 |
+
const ProtocolsView: React.FC = () => {
|
| 36 |
+
return (
|
| 37 |
+
<div className="space-y-8 animate-in fade-in slide-in-from-bottom-4 duration-700">
|
| 38 |
+
<header className="pb-6 border-b border-slate-800">
|
| 39 |
+
<div className="flex items-center gap-3">
|
| 40 |
+
<Stethoscope className="w-6 h-6 text-gemini-500" />
|
| 41 |
+
<h2 className="text-2xl font-black italic uppercase tracking-tighter text-slate-100">
|
| 42 |
+
Therapeutic Protocol Matrix
|
| 43 |
+
</h2>
|
| 44 |
+
</div>
|
| 45 |
+
<p className="text-[10px] font-bold text-slate-500 uppercase tracking-widest mt-2">
|
| 46 |
+
Evidence-Based Mapping | Version 15.0.0 | Peer-Reviewed Guidelines
|
| 47 |
+
</p>
|
| 48 |
+
</header>
|
| 49 |
+
|
| 50 |
+
<div className="grid gap-4">
|
| 51 |
+
{PROTOCOL_DATA.map((item, idx) => (
|
| 52 |
+
<div key={idx} className="bg-slate-900/40 border border-slate-800 rounded-2xl p-6 hover:border-gemini-500/30 transition-all group">
|
| 53 |
+
<div className="grid grid-cols-1 md:grid-cols-4 gap-6 items-center">
|
| 54 |
+
|
| 55 |
+
<div className="space-y-1">
|
| 56 |
+
<div className="flex items-center gap-2 text-gemini-500">
|
| 57 |
+
<Target className="w-4 h-4" />
|
| 58 |
+
<span className="text-[10px] font-black uppercase tracking-widest">Molecular Driver</span>
|
| 59 |
+
</div>
|
| 60 |
+
<h4 className="text-lg font-black text-slate-100 tracking-tight">{item.mutation}</h4>
|
| 61 |
+
<p className="text-[10px] text-slate-500 font-bold uppercase">{item.indication}</p>
|
| 62 |
+
</div>
|
| 63 |
+
|
| 64 |
+
<div className="space-y-1">
|
| 65 |
+
<div className="flex items-center gap-2 text-slate-400">
|
| 66 |
+
<BookOpen className="w-4 h-4" />
|
| 67 |
+
<span className="text-[10px] font-black uppercase tracking-widest">Intervention</span>
|
| 68 |
+
</div>
|
| 69 |
+
<p className="text-sm font-mono text-slate-200">{item.firstLine}</p>
|
| 70 |
+
<p className="text-[10px] text-slate-600 italic uppercase">{item.mechanism}</p>
|
| 71 |
+
</div>
|
| 72 |
+
|
| 73 |
+
<div className="space-y-1">
|
| 74 |
+
<div className="flex items-center gap-2 text-amber-500/70">
|
| 75 |
+
<ShieldAlert className="w-4 h-4" />
|
| 76 |
+
<span className="text-[10px] font-black uppercase tracking-widest">Safety Profile</span>
|
| 77 |
+
</div>
|
| 78 |
+
<p className="text-[10px] font-bold text-slate-400 uppercase leading-relaxed">
|
| 79 |
+
{item.toxicity}
|
| 80 |
+
</p>
|
| 81 |
+
</div>
|
| 82 |
+
|
| 83 |
+
<div className="flex justify-end">
|
| 84 |
+
<button className="px-4 py-2 bg-slate-800 hover:bg-slate-700 border border-slate-700 rounded-lg text-[10px] font-black uppercase tracking-widest text-slate-300 transition-all">
|
| 85 |
+
View Detail
|
| 86 |
+
</button>
|
| 87 |
+
</div>
|
| 88 |
+
|
| 89 |
+
</div>
|
| 90 |
+
</div>
|
| 91 |
+
))}
|
| 92 |
+
</div>
|
| 93 |
+
</div>
|
| 94 |
+
);
|
| 95 |
+
};
|
| 96 |
+
|
| 97 |
+
export default ProtocolsView;
|