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
@@ -1,17 +1,29 @@
|
||||
import Header from "@/components/Header";
|
||||
import { UnderConstruction } from "@/components/under-construction";
|
||||
import { getTranslations } from "next-intl/server";
|
||||
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: "underConstruction" });
|
||||
|
||||
const titles = {
|
||||
pt: "Preços - Estrutura de Custos",
|
||||
en: "Prices - Cost Structure",
|
||||
};
|
||||
|
||||
const descriptions = {
|
||||
pt: "Veja nossa estrutura de preços transparente. Taxas de transação justas para manter o marketplace funcionando.",
|
||||
en: "See our transparent price structure. Fair transaction fees to keep the marketplace running.",
|
||||
};
|
||||
|
||||
return {
|
||||
title: t("prices.title"),
|
||||
description: t("prices.description"),
|
||||
title: titles[locale as keyof typeof titles],
|
||||
description: descriptions[locale as keyof typeof descriptions],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user