Files
Evandro Fonseca Junior 4ba3339df7 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
2025-10-27 00:35:35 -03:00

27 lines
702 B
TypeScript

"use client";
import { Share2 } from "lucide-react";
import { Button } from "@/components/ui/button";
export function ShareButton() {
const handleShare = () => {
if (navigator.share) {
navigator.share({
title: "Tibia Trade",
text: "Conheça o marketplace multi-servidor mais seguro para negociar itens de Tibia!",
url: window.location.origin,
});
} else {
navigator.clipboard.writeText(window.location.origin);
alert("Link copiado para a área de transferência!");
}
};
return (
<Button size="lg" variant="outline" onClick={handleShare}>
<Share2 className="mr-2 h-5 w-5" />
Compartilhar Projeto
</Button>
);
}