@@ -14,6 +14,7 @@ import MainArticle from "@/components/MainArticle"
14
14
import { ButtonLink } from "@/components/ui/buttons/Button"
15
15
import { Card } from "@/components/ui/card"
16
16
import { VStack } from "@/components/ui/flex"
17
+ import Link from "@/components/ui/Link"
17
18
import InlineLink from "@/components/ui/Link"
18
19
19
20
import { getMetadata } from "@/lib/utils/metadata"
@@ -65,19 +66,6 @@ const DevelopersPage = async ({
65
66
namespace : "common" ,
66
67
} )
67
68
68
- const quickstarts = [
69
- {
70
- description : t ( "page-developers-quickstart-1-description" ) ,
71
- command : "npx create-eth@latest" ,
72
- eventName : "scaffold" ,
73
- } ,
74
- {
75
- description : t ( "page-developers-quickstart-2-description" ) ,
76
- command : "npm init @rainbow-me/rainbowkit@latest" ,
77
- eventName : "rainbowkit" ,
78
- } ,
79
- ]
80
-
81
69
const paths : DevelopersPath [ ] = [
82
70
{
83
71
emoji : ":woman_student:" ,
@@ -156,37 +144,43 @@ const DevelopersPage = async ({
156
144
< 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" >
157
145
< h3 > { t ( "page-developers-jump-right-in-title" ) } </ h3 >
158
146
< div className = "space-y-6" >
159
- { quickstarts . map ( ( { description, command, eventName } ) => (
160
- < div key = { command } className = "space-y-1" >
161
- < div className = "font-bold" > { description } </ div >
162
- < div className = "flex items-center rounded-lg border bg-background px-3 py-1" >
163
- < div className = "flex-1 font-mono text-sm" > { command } </ div >
164
- < CopyButton
165
- message = { command }
166
- size = "sm"
167
- customEventOptions = { {
168
- eventCategory : "top_boxes" ,
169
- eventAction : "click" ,
170
- eventName,
171
- } }
172
- />
173
- </ div >
147
+ < div className = "space-y-1" >
148
+ < p className = "font-bold" > Scaffold-ETH 2</ p >
149
+ < p className = "text-sm text-body-medium" >
150
+ { t ( "page-developers-quickstart-scaffold-subtext" ) } { " " }
151
+ < Link href = "https://docs.scaffoldeth.io/" >
152
+ { t ( "page-developers-quickstart-scaffold-docs" ) }
153
+ </ Link >
154
+ </ p >
155
+ < div className = "flex items-center rounded-lg border bg-background px-3 py-1" >
156
+ < span className = "flex-1 font-mono text-sm" >
157
+ npx create-eth@latest
158
+ </ span >
159
+ < CopyButton
160
+ message = "npx create-eth@latest"
161
+ size = "sm"
162
+ customEventOptions = { {
163
+ eventCategory : "top_boxes" ,
164
+ eventAction : "click" ,
165
+ eventName : "scaffold" ,
166
+ } }
167
+ />
174
168
</ div >
175
- ) ) }
169
+ </ div >
176
170
</ div >
171
+
177
172
< div >
178
- < ButtonLink
173
+ < p className = "mb-2 font-bold" > Need to learn the language?</ p >
174
+ < Link
179
175
href = "https://docs.soliditylang.org/en/latest/"
180
- variant = "outline"
181
- className = "bg-background"
182
176
customEventOptions = { {
183
177
eventCategory : "top_boxes" ,
184
178
eventAction : "click" ,
185
179
eventName : "solidity" ,
186
180
} }
187
181
>
188
182
{ t ( "page-developers-solidity-docs" ) }
189
- </ ButtonLink >
183
+ </ Link >
190
184
</ div >
191
185
</ Card >
192
186
</ div >
0 commit comments