@@ -43,22 +43,29 @@ if (Number(price.data.amount) * Number(ratio) < threshold) {
4343 Lit.Actions.setResponse({ response: tx.hash });
4444}` ;
4545
46+ const EXAMPLES_BASE =
47+ 'https://github.com/LIT-Protocol/chipotle/tree/main/examples' ;
48+
4649const patterns = [
4750 {
4851 k : 'Cross-chain token' ,
4952 v : 'Lit checks burn events on one chain and signs the matching mint on another — permissionless bridging, any chain.' ,
53+ href : `${ EXAMPLES_BASE } /cross-chain-token` ,
5054 } ,
5155 {
5256 k : 'Custom price oracle' ,
5357 v : 'Aggregate any combination of CEX + DEX feeds, sign once, deliver to multiple chains.' ,
58+ href : `${ EXAMPLES_BASE } /multi-source-price-oracle` ,
5459 } ,
5560 {
5661 k : 'Prediction market resolver' ,
5762 v : 'Poll one or more LLMs in a TEE, sign the consensus, post it on-chain — no UMA, no dispute window.' ,
63+ href : `${ EXAMPLES_BASE } /prediction-market-oracle` ,
5864 } ,
5965 {
6066 k : 'Compliance-gated transfers' ,
6167 v : 'Lit Action screens every recipient against a sanctions list before signing — flagged wallets simply can’t receive.' ,
68+ href : `${ EXAMPLES_BASE } /compliance-transfer-gate` ,
6269 } ,
6370] ;
6471
@@ -155,16 +162,19 @@ const LandingHowItWorks = () => {
155162 </ div >
156163 < div className = "grid md:grid-cols-2 gap-4 max-w-5xl mx-auto" >
157164 { patterns . map ( ( p ) => (
158- < div
165+ < a
159166 key = { p . k }
160- className = "rounded-xl border border-white/10 p-6 flex items-start gap-4 hover:border-mint-500/40 transition bg-white/[0.02]"
167+ href = { p . href }
168+ target = "_blank"
169+ rel = "noopener noreferrer"
170+ className = "rounded-xl border border-white/10 p-6 flex items-start gap-4 hover:border-mint-500/40 transition bg-white/[0.02] no-underline text-inherit"
161171 >
162172 < div className = "font-mono text-mint-500 text-sm mt-1" > →</ div >
163173 < div >
164174 < div className = "font-medium text-lg" > { p . k } </ div >
165175 < div className = "text-white/60 text-sm mt-1" > { p . v } </ div >
166176 </ div >
167- </ div >
177+ </ a >
168178 ) ) }
169179 </ div >
170180 </ Container >
0 commit comments