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