refactor: replace MarketOffers component with MarketExample in home page

Renamed imported component from MarketOffers to MarketExample and updated its usage in the home page layout. Also removed rarity badge display from ItemCard to align with simplified design.
Related to component refactoring for consistency.
This commit is contained in:
Evandro Fonseca Junior committed 2025-10-30 19:17:46 -03:00
1 parent b8426efbf0
commit e641138887
6 files changed
+201 -42

No files matched your search

-15
View File
@@ -283,21 +283,6 @@ export function ItemCard({ item, mode = "market" }: ItemCardProps) {
<MagicCard className="p-0 overflow-hidden rounded-xl border border-border/50 hover:border-primary/30 transition-all duration-300 hover:scale-[1.02] hover:shadow-xl">
{/* Header com ícone e badge de raridade */}
<div className="relative aspect-square bg-linear-to-br from-background to-muted p-6">
{/* Badge de raridade com glow (apenas em modo market) */}
{mode === "market" && (
<Badge
className={`${
rarityColors[item.rarity]
} text-white absolute top-3 left-3 z-20 shadow-lg ${getRarityGlow(
item.rarity
)} ${item.rarity === "legendary" ? "animate-pulse" : ""} ${
item.rarity === "epic" ? "animate-pulse" : ""
}`}
>
{item.rarity}
</Badge>
)}
{/* Botão de favorito */}
<Button
variant="ghost"