feat(i18n): Replace hardcoded strings with translation keys in support and donation components
Replaced hardcoded Portuguese text with next-intl translation keys in the support page, header, and donation card components to enable internationalization and support multiple languages. This improves the app's accessibility and localization capabilities.
This commit is contained in:
1 parent
5ccc9120c4
commit
bb6b320d1f
5 files changed
+196
-63
No files matched your search
@@ -168,7 +168,7 @@ export default async function SupportPage({
|
||||
<BlurFade delay={0.5}>
|
||||
<div className="mb-20">
|
||||
<h2 className="text-3xl font-bold text-center mb-8">
|
||||
Escolha como apoiar
|
||||
{t("cta.support")}
|
||||
</h2>
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 max-w-6xl mx-auto">
|
||||
<DonationCard
|
||||
@@ -182,10 +182,10 @@ export default async function SupportPage({
|
||||
<DonationCard
|
||||
id="snack"
|
||||
amount={10}
|
||||
title="Um Lanche"
|
||||
description="Equivale a ~20 minutos de desenvolvimento"
|
||||
title={t("tiers.snack.title")}
|
||||
description={t("tiers.snack.description")}
|
||||
icon="pizza"
|
||||
badge="Popular"
|
||||
badge={t("tiers.snack.badge")}
|
||||
highlighted
|
||||
/>
|
||||
<DonationCard
|
||||
@@ -198,8 +198,8 @@ export default async function SupportPage({
|
||||
/>
|
||||
<DonationCard
|
||||
id="custom"
|
||||
title="Personalizado"
|
||||
description="Escolha quanto quer doar"
|
||||
title={t("tiers.custom.title")}
|
||||
description={t("tiers.custom.description")}
|
||||
icon="heart"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user