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,34 @@
|
||||
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: "Sobre - Nossa Missão e História",
|
||||
en: "About - Our Mission and History",
|
||||
};
|
||||
|
||||
const descriptions = {
|
||||
pt: "Conheça o Tibia Trade, o marketplace multi-servidor mais seguro para negociação de itens. Sistema escrow, transparência total e comunidade ativa.",
|
||||
en: "Learn about Tibia Trade, the most secure multi-server marketplace for item trading. Escrow system, total transparency and active community.",
|
||||
};
|
||||
|
||||
return {
|
||||
title: t("about.title"),
|
||||
description: t("about.description"),
|
||||
title: titles[locale as keyof typeof titles],
|
||||
description: descriptions[locale as keyof typeof descriptions],
|
||||
keywords: [
|
||||
"sobre tibia trade",
|
||||
"história tibia trade",
|
||||
"missão tibia trade",
|
||||
"marketplace tibia",
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user