@@ -69,10 +69,12 @@ const DevelopersPage = async ({
69
69
{
70
70
description : t ( "page-developers-quickstart-1-description" ) ,
71
71
command : "npx create-eth@latest" ,
72
+ eventName : "scaffold" ,
72
73
} ,
73
74
{
74
75
description : t ( "page-developers-quickstart-2-description" ) ,
75
76
command : "npm init @rainbow-me/rainbowkit@latest" ,
77
+ eventName : "rainbowkit" ,
76
78
} ,
77
79
]
78
80
@@ -140,6 +142,11 @@ const DevelopersPage = async ({
140
142
href = "https://speedrunethereum.com/"
141
143
size = "lg"
142
144
className = "mt-4"
145
+ customEventOptions = { {
146
+ eventCategory : "top_boxes" ,
147
+ eventAction : "click" ,
148
+ eventName : "speedrun" ,
149
+ } }
143
150
>
144
151
{ t ( "page-developers-speedrunethereum-link" ) }
145
152
</ ButtonLink >
@@ -149,12 +156,20 @@ const DevelopersPage = async ({
149
156
< Card className = "!space-y-8 break-words border border-accent-c/20 bg-gradient-to-t from-accent-c/15 to-accent-c/5 px-6 py-10 md:space-y-6 lg:p-12" >
150
157
< h3 > { t ( "page-developers-jump-right-in-title" ) } </ h3 >
151
158
< div className = "space-y-6" >
152
- { quickstarts . map ( ( { description, command } ) => (
159
+ { quickstarts . map ( ( { description, command, eventName } ) => (
153
160
< div key = { command } className = "space-y-1" >
154
161
< div className = "font-bold" > { description } </ div >
155
162
< div className = "flex items-center rounded-lg border bg-background px-3 py-1" >
156
163
< div className = "flex-1 font-mono text-sm" > { command } </ div >
157
- < CopyButton message = { command } size = "sm" />
164
+ < CopyButton
165
+ message = { command }
166
+ size = "sm"
167
+ customEventOptions = { {
168
+ eventCategory : "top_boxes" ,
169
+ eventAction : "click" ,
170
+ eventName,
171
+ } }
172
+ />
158
173
</ div >
159
174
</ div >
160
175
) ) }
@@ -164,6 +179,11 @@ const DevelopersPage = async ({
164
179
href = "https://docs.soliditylang.org/en/latest/"
165
180
variant = "outline"
166
181
className = "bg-background"
182
+ customEventOptions = { {
183
+ eventCategory : "top_boxes" ,
184
+ eventAction : "click" ,
185
+ eventName : "solidity" ,
186
+ } }
167
187
>
168
188
{ t ( "page-developers-solidity-docs" ) }
169
189
</ ButtonLink >
0 commit comments