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:
1 parent
5e7f3a1354
commit
4ba3339df7
28 files changed
+704
-68
No files matched your search
@@ -54,8 +54,8 @@ export default function ThankYouPage() {
|
||||
<div className="p-8 rounded-2xl border border-border/50 bg-card backdrop-blur-lg mb-8">
|
||||
<p className="text-lg leading-relaxed text-muted-foreground">
|
||||
Sua generosidade nos ajuda a continuar desenvolvendo e mantendo
|
||||
o Tibia Trade Pagodera. Cada contribuição faz toda a diferença
|
||||
para nossa comunidade!
|
||||
o Tibia Trade. Cada contribuição faz toda a diferença para nossa
|
||||
comunidade!
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -86,8 +86,8 @@ export default function ThankYouPage() {
|
||||
onClick={() => {
|
||||
if (typeof navigator !== "undefined" && navigator.share) {
|
||||
navigator.share({
|
||||
title: "Tibia Trade Pagodera",
|
||||
text: "Acabei de fazer uma doação para o Tibia Trade Pagodera! Ajude também!",
|
||||
title: "Tibia Trade",
|
||||
text: "Acabei de fazer uma doação para o Tibia Trade! Ajude também!",
|
||||
url: window.location.origin,
|
||||
});
|
||||
} else if (
|
||||
@@ -108,8 +108,8 @@ export default function ThankYouPage() {
|
||||
<div className="mt-12 p-6 rounded-xl bg-muted/30 border border-border/30">
|
||||
<p className="text-sm text-muted-foreground">
|
||||
💡 <strong>Dica:</strong> Compartilhe nossa plataforma com seus
|
||||
amigos! Quanto mais pessoas usarem o Tibia Trade Pagodera, mais
|
||||
forte nossa comunidade fica.
|
||||
amigos! Quanto mais pessoas usarem o Tibia Trade, mais forte
|
||||
nossa comunidade fica.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -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",
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user