File size: 5,362 Bytes
79e7b4f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | "use client";
export function Hero() {
return (
<section className="section" style={{ paddingBottom: "48px" }}>
<div className="container">
<div className="grid grid-cols-1 lg:grid-cols-2 gap-16 items-center">
{/* Left: Copy */}
<div>
<div className="flex items-center gap-2 mb-6">
<span className="badge-orange">Hackathon 2025</span>
<span className="badge-outline">TigerGraph Γ Claude</span>
</div>
<h1 className="display-xl mb-6">
Graphs make LLM inference{" "}
<span style={{ color: "#FF6B00" }}>faster</span>,{" "}
<span style={{ color: "#cc785c" }}>cheaper</span>, and{" "}
<span style={{ color: "#0072CE" }}>smarter</span>
</h1>
<p className="body-md mb-8" style={{ maxWidth: "520px", color: "#3d3d3a" }}>
A dual-pipeline system comparing Baseline RAG vs GraphRAG with real
numbers. TigerGraph organizes information into relationships that
Claude can follow β cutting tokens, speeding up responses, and
saving cost without losing accuracy.
</p>
<div className="flex flex-wrap gap-3">
<button className="btn btn-primary btn-lg" onClick={() => document.getElementById("live")?.scrollIntoView({ behavior: "smooth" })}>
Try Live Comparison β
</button>
<button className="btn btn-secondary btn-lg" onClick={() => document.getElementById("benchmark")?.scrollIntoView({ behavior: "smooth" })}>
View Benchmarks
</button>
</div>
{/* Stats row */}
<div className="flex gap-8 mt-10 pt-8" style={{ borderTop: "1px solid #e6dfd8" }}>
<div>
<div className="metric-value" style={{ color: "#FF6B00" }}>+21%</div>
<div className="metric-label">F1 on Bridge Queries</div>
</div>
<div>
<div className="metric-value" style={{ color: "#0072CE" }}>4 Layers</div>
<div className="metric-label">AI Factory Architecture</div>
</div>
<div>
<div className="metric-value" style={{ color: "#cc785c" }}>5</div>
<div className="metric-label">Novel Features</div>
</div>
</div>
</div>
{/* Right: Architecture Card */}
<div className="card-dark" style={{ padding: "0", overflow: "hidden" }}>
<div className="code-window-header">
<div className="code-window-dot code-window-dot-red" />
<div className="code-window-dot code-window-dot-yellow" />
<div className="code-window-dot code-window-dot-green" />
<span className="body-sm" style={{ color: "#a09d96", marginLeft: "8px" }}>
architecture.graphrag
</span>
</div>
<div style={{ padding: "24px", fontFamily: "var(--font-mono)", fontSize: "0.8125rem", lineHeight: "1.8" }}>
<div style={{ color: "#a09d96" }}>{"// AI Factory Model β 4 Layers"}</div>
<br />
<div style={{ color: "#faf9f5" }}>
<span style={{ color: "#FF6B00" }}>Layer 4</span>
<span style={{ color: "#a09d96" }}>{" β "}</span>
<span style={{ color: "#5db8a6" }}>Evaluation</span>
<span style={{ color: "#a09d96" }}>{" β RAGAS + F1/EM + Dashboard"}</span>
</div>
<div style={{ color: "#faf9f5" }}>
<span style={{ color: "#FF6B00" }}>Layer 3</span>
<span style={{ color: "#a09d96" }}>{" β "}</span>
<span style={{ color: "#cc785c" }}>LLM</span>
<span style={{ color: "#a09d96" }}>{" βββββ Claude Sonnet 4"}</span>
</div>
<div style={{ color: "#faf9f5" }}>
<span style={{ color: "#FF6B00" }}>Layer 2</span>
<span style={{ color: "#a09d96" }}>{" β "}</span>
<span style={{ color: "#0072CE" }}>Orchestration</span>
<span style={{ color: "#a09d96" }}>{" β Dual Pipeline Router"}</span>
</div>
<div style={{ color: "#faf9f5" }}>
<span style={{ color: "#FF6B00" }}>Layer 1</span>
<span style={{ color: "#a09d96" }}>{" β "}</span>
<span style={{ color: "#e8a55a" }}>Graph</span>
<span style={{ color: "#a09d96" }}>{" βββ TigerGraph Cloud"}</span>
</div>
<br />
<div style={{ color: "#a09d96" }}>{"// Pipeline A: Query β Vector Search β LLM"}</div>
<div style={{ color: "#a09d96" }}>{"// Pipeline B: Query β Keywords β Graph β LLM"}</div>
<br />
<div style={{ color: "#5db872" }}>{"β Adaptive Routing β Schema-Bounded Extraction"}</div>
<div style={{ color: "#5db872" }}>{"β Graph Reasoning β Dual-Level Keywords"}</div>
<div style={{ color: "#5db872" }}>{"β Cost Tracking β Real-Time Comparison"}</div>
</div>
</div>
</div>
</div>
</section>
);
}
|