Bismilah FINAL PUSH
Browse files164 unmodified lines16516616716816917017173 unmodified lines24524624724824925025113 unmodified lines2652662672682692702712 unmodified lines274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317164 unmodified lines}`}style={{ visibility: howVisible ? "visible" : "hidden" }}><div className="grid gap-8 lg:grid-cols-2"><div><div className="max-w-3xl"><h2 className="text-xl md:text-2xl font-semibold">How it works</h2>73 unmodified lines</div></div><div className="space-y-6"><div className="rounded-2xl border border-cyan-900/60 bg-slate-950/80 p-6 space-y-4 shadow-lg shadow-cyan-900/20"><div className="text-xs font-mono uppercase tracking-[0.25em] text-cyan-300/80">Performance</div><p className="text-sm md:text-base text-emerald-100/80">13 unmodified lines</dl></div><div className="rounded-2xl border border-emerald-900/60 bg-slate-950/80 p-6 space-y-6 shadow-lg shadow-emerald-900/20"><div className="flex items-center justify-between"><div><div className="text-xs font-mono uppercase tracking-[0.25em] text-emerald-400/80">Model stack</div>2 unmodified lines<span className="px-2 py-0.5 rounded-full bg-emerald-500/10 border border-emerald-500/40 text-[10px] text-emerald-200">Transfer learning</span></div><div className="space-y-6"><div className="text-xs text-emerald-200/80 font-mono uppercase tracking-[0.25em]">ImageNet weights feed these layers</div><div className="relative pr-28"><div className="absolute right-10 top-2 bottom-12 w-px bg-emerald-500/30" /><div className="absolute right-0 top-4 px-3 py-1 rounded-full border border-emerald-500/40 bg-emerald-500/10 text-[11px] text-emerald-200">ImageNet weights</div><div className="flex flex-col gap-4">{BACKBONE_STACK.map((block, idx) => (<div key={block.label} className="flex items-center gap-3"><divclassName={`rounded-2xl border border-white/15 bg-gradient-to-r ${block.gradient} text-white px-4 py-2 flex flex-col justify-center shadow-inner shadow-black/20`}style={{ width: `${block.width}%`, minHeight: block.height }}><div className="text-sm font-semibold leading-tight">{block.label}</div><div className="text-xs text-white/80">{block.detail}</div></div><div className="h-px w-12 bg-emerald-500/30 relative"><span className="absolute right-[-6px] top-1/2 -translate-y-1/2 h-3 w-px bg-emerald-400" /></div></div>))}</div></div><div className="pt-4 border-t border-emerald-900/50"><div className="text-[10px] uppercase tracking-[0.3em] text-emerald-300/80 mb-4">Heads</div><div className="flex flex-col gap-3">{HEAD_STACK.map((block, idx) => (<div key={block.label + block.detail} className="space-y-2"><divclassName="rounded-2xl border border-emerald-800/60 bg-slate-950/80 text-emerald-50 px-4 py-2 flex flex-col justify-center shadow-inner shadow-black/30"style={{ width: `${block.width}%`, minHeight: block.height }}><div className="text-sm font-semibold leading-tight">{block.label}</div>{block.detail && <div className="text-xs text-emerald-200/80">{block.detail}</div>}</div>{idx < HEAD_STACK.length - 1 && (<div className="text-center text-emerald-400/70 text-xs">↓</div>)}</div>))}</div>164 unmodified lines16516616716816917017173 unmodified lines24524624724824925025113 unmodified lines2652662672682692702712 unmodified lines274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311164 unmodified lines}`}style={{ visibility: howVisible ? "visible" : "hidden" }}><div className="grid gap-8 lg:grid-cols-2 items-stretch"><div><div className="max-w-3xl"><h2 className="text-xl md:text-2xl font-semibold">How it works</h2>73 unmodified lines</div></div><div className="space-y-6 flex flex-col h-full"><div className="rounded-2xl border border-cyan-900/60 bg-slate-950/80 p-6 space-y-4 shadow-lg shadow-cyan-900/20"><div className="text-xs font-mono uppercase tracking-[0.25em] text-cyan-300/80">Performance</div><p className="text-sm md:text-base text-emerald-100/80">13 unmodified lines</dl></div><div className="rounded-2xl border border-emerald-900/60 bg-slate-950/80 p-6 space-y-6 shadow-lg shadow-emerald-900/20 flex-1 flex flex-col"><div className="flex items-center justify-between"><div><div className="text-xs font-mono uppercase tracking-[0.25em] text-emerald-400/80">Model stack</div>2 unmodified lines<span className="px-2 py-0.5 rounded-full bg-emerald-500/10 border border-emerald-500/40 text-[10px] text-emerald-200">Transfer learning</span></div><div className="space-y-6 flex-1 flex flex-col"><div><div className="text-[10px] uppercase tracking-[0.3em] text-emerald-300/80 mb-2">Feature extractor</div><div className="flex flex-col items-center gap-2">{BACKBONE_STACK.map((block, idx) => (<div key={block.label} className="flex flex-col items-center text-center text-white/90" style={{ width: `${block.width}%`, maxWidth: "260px" }}><divclassName={`w-full rounded-xl border border-white/10 p-3 bg-gradient-to-r ${block.gradient}`}style={{ minHeight: block.height }}><div className="text-sm font-semibold">{block.label}</div><div className="text-xs text-white/75">{block.detail}</div></div>{idx < BACKBONE_STACK.length - 1 && <div className="text-emerald-300/60 text-lg leading-none">↓</div>}</div>))}</div></div><div className="pt-4 border-t border-emerald-900/50"><div className="text-[10px] uppercase tracking-[0.3em] text-emerald-300/80 mb-2">Heads</div><div className="flex flex-col items-center gap-2">{HEAD_STACK.map((block, idx) => (<div key={block.label + block.detail} className="flex flex-col items-center text-center text-emerald-100" style={{ width: `${block.width}%`, maxWidth: "220px" }}><divclassName="w-full rounded-xl border border-emerald-800/70 bg-slate-900/80 p-3"style={{ minHeight: block.height }}><div className="text-sm font-semibold text-emerald-200">{block.label}</div>{block.detail && <div className="text-xs text-emerald-300/80">{block.detail}</div>}</div>{idx < HEAD_STACK.length - 1 && <div className="text-cyan-300/60 text-lg leading-none">↓</div>}</div>))}</div>
frontend/pages/index.jsx+21-27