Skip to content

Commit d41b613

Browse files
committed
Update slides: fix ZK compiler text, add Ledger photo, add How It Works title slide, remove buggy id highlighter
1 parent 2673d90 commit d41b613

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/app/slides/page.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,18 @@ const slides: Slide[] = [
5050
label: "The Solution",
5151
title: "So we built a ZK circuit compiler",
5252
bullets: [
53-
"The Verity compiler generates a Groth16 circuit from the same Lean spec",
54-
"The circuit proves: this natural language string is the correct interpretation of this calldata",
55-
"A hardware wallet just verifies a proof, 4 pairings on BLS12-381",
53+
"Same Lean spec compiles to a Groth16 circuit",
54+
"Proves this template matches the calldata, the Ledger fills the holes",
5655
],
56+
image: "/slides/ledger.png",
5757
},
5858

5959
// ── Act 3: How It Works ──
60+
{
61+
label: "",
62+
title: "How it works",
63+
variant: "title",
64+
},
6065
{
6166
label: "How It Works",
6267
title: "Step 1: Spec lookup",
@@ -148,16 +153,11 @@ function highlightCode(line: string): React.ReactNode {
148153
/"([^"]*)"/g,
149154
'<str>"$1"</str>'
150155
)
151-
.replace(
152-
/\b(maxUint256|decimals)\b/g,
153-
'<id>$1</id>'
154-
)
155-
.split(/(<kw>.*?<\/kw>|<ty>.*?<\/ty>|<str>.*?<\/str>|<id>.*?<\/id>)/)
156+
.split(/(<kw>.*?<\/kw>|<ty>.*?<\/ty>|<str>.*?<\/str>)/)
156157
.map((part, i) => {
157158
if (part.startsWith('<kw>')) return <span key={i} className="text-[#907aa9]">{part.slice(4, -5)}</span>;
158159
if (part.startsWith('<ty>')) return <span key={i} className="text-[#ea9d34]">{part.slice(4, -5)}</span>;
159160
if (part.startsWith('<str>')) return <span key={i} className="text-[#56949f]">{part.slice(5, -6)}</span>;
160-
if (part.startsWith('<id>')) return <span key={i} className="text-[#286983]">{part.slice(4, -5)}</span>;
161161
return part;
162162
});
163163
}

0 commit comments

Comments
 (0)