fix: move hardcoded translation in landing-page to translations
This commit is contained in:
parent
e69926a162
commit
5127ee7967
|
|
@ -267,14 +267,12 @@ export default function LandingPage(
|
|||
/>
|
||||
</svg>
|
||||
<p className="text-lg text-muted-foreground mb-4">
|
||||
{currentLocale === 'pl'
|
||||
? 'Zobacz pełny harmonogram wydarzeń, prelekcji i warsztatów'
|
||||
: 'View the full schedule of events, talks, and workshops'}
|
||||
{t.contribute.agenda.description}
|
||||
</p>
|
||||
</div>
|
||||
<Button className={`${oxanium.className} text-xl uppercase cursor-pointer`} size="lg">
|
||||
<Link href={`/${currentLocale}/agenda`}>
|
||||
{currentLocale === 'pl' ? 'Zobacz agendę' : 'View agenda'}
|
||||
{t.contribute.agenda.viewButton}
|
||||
</Link>
|
||||
</Button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -63,6 +63,8 @@ const pl = {
|
|||
},
|
||||
agenda: {
|
||||
title: "Agenda",
|
||||
description: "Zobacz pełny harmonogram wydarzeń, prelekcji i warsztatów",
|
||||
viewButton: "Zobacz agendę",
|
||||
},
|
||||
},
|
||||
faq: {
|
||||
|
|
@ -180,6 +182,8 @@ const en = {
|
|||
},
|
||||
agenda: {
|
||||
title: "Schedule",
|
||||
description: "View the full schedule of events, talks, and workshops",
|
||||
viewButton: "View agenda",
|
||||
},
|
||||
},
|
||||
faq: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue