@@ -117,6 +117,7 @@ const ImageHeight200 = ({ src, alt }: ImageProps) => (
117
117
export default async function Page ( { params } : { params : Promise < Params > } ) {
118
118
const { locale } = await params
119
119
const t = await getTranslations ( { locale, namespace : "page-learn" } )
120
+ const tCommon = await getTranslations ( { locale, namespace : "common" } )
120
121
121
122
const commitHistoryCache : CommitHistory = { }
122
123
const { contributors, lastEditLocaleTimestamp } =
@@ -158,7 +159,7 @@ export default async function Page({ params }: { params: Promise<Params> }) {
158
159
} ) )
159
160
160
161
const heroContent : HubHeroProps = {
161
- title : t ( "common: learn-hub") ,
162
+ title : tCommon ( " learn-hub") ,
162
163
header : t ( "hero-header" ) ,
163
164
description : t ( "hero-subtitle" ) ,
164
165
heroImg : heroImage ,
@@ -428,17 +429,17 @@ export default async function Page({ params }: { params: Promise<Params> }) {
428
429
< UnorderedList className = "mb-0" >
429
430
< ListItem >
430
431
< InlineLink href = "/decentralized-identity/" >
431
- { t ( "common: decentralized-identity") }
432
+ { tCommon ( " decentralized-identity") }
432
433
</ InlineLink >
433
434
</ ListItem >
434
435
< ListItem >
435
436
< InlineLink href = "/social-networks/" >
436
- { t ( "common: decentralized-social-networks") }
437
+ { tCommon ( " decentralized-social-networks") }
437
438
</ InlineLink >
438
439
</ ListItem >
439
440
< ListItem >
440
441
< InlineLink href = "/desci/" >
441
- { t ( "common: decentralized-science") }
442
+ { tCommon ( " decentralized-science") }
442
443
</ InlineLink >
443
444
</ ListItem >
444
445
< ListItem >
0 commit comments