feat: customize README for Tibia Trade marketplace and enhance page accessibility

- Rewrote README.md to describe the Tibia Trade project, including features, setup instructions, technologies, and SEO keywords in Portuguese
- Removed "Pagodera" from thank you page text for rebranding
- Added role and aria-label to main element in home page for better accessibility
- Added metadata generation with localized titles and descriptions to prices page for improved SEO and user experience
This commit is contained in:
Evandro Fonseca Junior committed 2025-10-27 00:35:35 -03:00
1 parent 5e7f3a1354
commit 4ba3339df7
28 files changed
+704 -68

No files matched your search

+21 -4
View File
@@ -14,17 +14,34 @@ import { Heart } from "lucide-react";
import { getTranslations } from "next-intl/server";
import Link from "next/link";
import { ShareButton } from "@/components/share-button";
import type { Metadata } from "next";
export async function generateMetadata({
params,
}: {
params: Promise<{ locale: string }>;
}) {
}): Promise<Metadata> {
const { locale } = await params;
const t = await getTranslations({ locale, namespace: "donation" });
const titles = {
pt: "Apoie o Projeto - Doações Voluntárias",
en: "Support the Project - Voluntary Donations",
};
const descriptions = {
pt: "Ajude a manter o Tibia Trade funcionando com uma doação voluntária via PIX. Transparência total dos custos e investimentos no projeto.",
en: "Help keep Tibia Trade running with a voluntary donation via PIX. Total transparency of costs and project investments.",
};
return {
title: t("title"),
description: t("subtitle"),
title: titles[locale as keyof typeof titles],
description: descriptions[locale as keyof typeof descriptions],
keywords: [
"doação tibia trade",
"apoiar tibia trade",
"ajudar tibia trade",
"transparência tibia trade",
],
};
}