@@ -21,90 +21,81 @@ export const getBuilderPaths = async (): Promise<DevelopersPath[]> => {
21
21
return [
22
22
{
23
23
imgSrc : speedrunNFT ,
24
- imgAlt : "Speedrun Ethereum NFT banner" ,
25
- title : "Simple NFT Example" , // t("page-developers-learn "),
26
- description : "Create a public NFT to learn the basics of scaffold-eth." , // t("page-developers-learn -desc"),
24
+ imgAlt : t ( "page-developers-speedrun-nft-alt" ) ,
25
+ title : t ( "page-developers-speedrun-nft-title " ) ,
26
+ description : t ( "page-developers-speedrun-nft -desc" ) ,
27
27
href : "https://speedrunethereum.com/challenge/simple-nft-example" ,
28
28
button : t ( "page-developers-start-quest" ) ,
29
- tag : "Challenge #0" ,
29
+ tag : t ( "page-developers-speedrun-challenge-0" ) ,
30
30
} ,
31
31
{
32
32
imgSrc : speedrunStakingApp ,
33
- imgAlt : "Speedrun Ethereum staking app banner" ,
34
- title : "Staking App" , // t("page-developers-learn-tutorials "),
35
- description : "Write a smart contract where users pool funds together." , // t("page-developers-learn-tutorials -desc"),
33
+ imgAlt : t ( "page-developers-speedrun- staking-alt" ) ,
34
+ title : t ( "page-developers-speedrun-staking-title " ) ,
35
+ description : t ( "page-developers-speedrun-staking -desc" ) ,
36
36
href : "https://speedrunethereum.com/challenge/decentralized-staking" ,
37
37
button : t ( "page-developers-start-quest" ) ,
38
- tag : "Challenge #1" ,
38
+ tag : t ( "page-developers-speedrun-challenge-1" ) ,
39
39
} ,
40
40
{
41
41
imgSrc : speedrunTokenVendor ,
42
- imgAlt : "Speedrun Ethereum token vendor project banner" ,
43
- title : "Create a token" , // t("page-developers-resources"),
44
- description :
45
- "Build a digital currency and a smart conract that trades it." , // t("page-developers-start-desc"),
42
+ imgAlt : t ( "page-developers-speedrun-token-alt" ) ,
43
+ title : t ( "page-developers-speedrun-token-title" ) ,
44
+ description : t ( "page-developers-speedrun-token-desc" ) ,
46
45
href : "https://speedrunethereum.com/challenge/token-vendor" ,
47
46
button : t ( "page-developers-start-quest" ) ,
48
- tag : "Challenge #2" ,
47
+ tag : t ( "page-developers-speedrun-challenge-2" ) ,
49
48
} ,
50
49
]
51
50
}
52
51
53
52
export const getVideoCourses = async ( ) : Promise < VideoCourse [ ] > => {
54
- // const locale = await getLocale()
55
- // const t = await getTranslations({
56
- // locale,
57
- // namespace: "page-developers-index",
58
- // })
53
+ const locale = await getLocale ( )
54
+ const t = await getTranslations ( {
55
+ locale,
56
+ namespace : "page-developers-index" ,
57
+ } )
59
58
60
59
return [
61
60
{
62
- title : "Blockchain basics" ,
63
- description :
64
- "Learn how blockchains and smart contracts work, create a wallet, and sign your first transaction." ,
61
+ title : t ( "page-developers-course-blockchain-basics-title" ) ,
62
+ description : t ( "page-developers-course-blockchain-basics-desc" ) ,
65
63
hours : 3 ,
66
64
imgSrc : cyfrinBasicBanner ,
67
- imgAlt : "Cyfrin Updraft Blockchain basics course banner" ,
65
+ imgAlt : t ( "page-developers- course-blockchain-basics-alt" ) ,
68
66
href : "https://updraft.cyfrin.io/courses/blockchain-basics" ,
69
67
} ,
70
68
{
71
- title : "Solidity smart contract development" ,
72
- description :
73
- "Solidity Programming is your gateway to web3 development in Ethereum compatible ecosystems." ,
69
+ title : t ( "page-developers-course-solidity-title" ) ,
70
+ description : t ( "page-developers-course-solidity-desc" ) ,
74
71
hours : 5 ,
75
72
imgSrc : cyfrinSolidityBanner ,
76
- imgAlt :
77
- "Cyfrin Updraft Solidity smart contract development course banner" ,
73
+ imgAlt : t ( "page-developers-course-solidity-alt" ) ,
78
74
href : "https://updraft.cyfrin.io/courses/solidity" ,
79
75
} ,
80
76
{
81
- title : "Foundry fundamentals" ,
82
- description :
83
- "Level up your Solidity development skills with Foundry and advanced web3 development concepts and tools." ,
77
+ title : t ( "page-developers-course-foundry-fundamentals-title" ) ,
78
+ description : t ( "page-developers-course-foundry-fundamentals-desc" ) ,
84
79
hours : 10 ,
85
80
imgSrc : cyfrinFoundryFundamentalsBanner ,
86
- imgAlt : "Cyfrin Updraft Foundry fundamentals course banner" ,
81
+ imgAlt : t ( "page-developers- course-foundry-fundamentals-alt" ) ,
87
82
href : "https://updraft.cyfrin.io/courses/foundry" ,
88
83
} ,
89
84
{
90
- title : "Advanced foundry" ,
91
- description :
92
- "Master web3 development techniques with Advanced Foundry for Solidity smart contract development." ,
85
+ title : t ( "page-developers-course-advanced-foundry-title" ) ,
86
+ description : t ( "page-developers-course-advanced-foundry-desc" ) ,
93
87
hours : 13 ,
94
88
imgSrc : cyfrinFoundryAdvancedBanner ,
95
- imgAlt : "Cyfrin Updraft Advanced foundry course banner" ,
89
+ imgAlt : t ( "page-developers- course-advanced-foundry-alt" ) ,
96
90
href : "https://updraft.cyfrin.io/courses/advanced-foundry" ,
97
91
} ,
98
92
{
99
- title : "Smart contract security" , // "Learn smart contract auditing, security, and DeFi",
100
- description :
101
- "Start your career as a smart contract security researcher! Learn smart contract auditing and the best practices." ,
93
+ title : t ( "page-developers-course-security-title" ) ,
94
+ description : t ( "page-developers-course-security-desc" ) ,
102
95
hours : 24 ,
103
96
imgSrc : cyfrinSecurityBanner ,
104
- imgAlt : "Cyfrin Updraft Blockchain basics course banner" ,
97
+ imgAlt : t ( "page-developers- course-security-alt" ) ,
105
98
href : "https://updraft.cyfrin.io/courses/security" ,
106
99
} ,
107
100
]
108
-
109
- return [ ]
110
101
}
0 commit comments