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:
1 parent
b8426efbf0
commit
e641138887
6 files changed
+201
-42
No files matched your search
+25
-25
@@ -3,22 +3,22 @@ import { TibiaItem, MarketOffer } from "@/types/item";
|
||||
export const featuredItems: TibiaItem[] = [
|
||||
{
|
||||
id: "1",
|
||||
name: "Armor of Fire",
|
||||
image: "/items/armor-of-fire.png",
|
||||
alt: "Armor of Fire - Armadura lendária de Tibia com proteção contra fogo +10",
|
||||
name: "Ornate Chestplate",
|
||||
image: "/api/images?path=data/images/armaduras/ornate_chestplate.gif",
|
||||
alt: "Ornate Chestplate - Armadura lendária de Tibia nível 300",
|
||||
category: "armor",
|
||||
rarity: "legendary",
|
||||
stats: { armor: 16, weight: 120 },
|
||||
requirements: { level: 200, vocation: "Knight" },
|
||||
protections: { fire: 10 },
|
||||
price: { buy: 2500000, sell: 2200000, bid: 2350000 },
|
||||
priceHistory: { highest: 2800000, lowest: 2000000, average: 2350000 },
|
||||
dropLocation: "Fire Dragon Lair",
|
||||
stats: { armor: 18, weight: 185 },
|
||||
requirements: { level: 300, vocation: "Knight" },
|
||||
protections: { fire: 5, ice: 5 },
|
||||
price: { buy: 8500000, sell: 8200000, bid: 8350000 },
|
||||
priceHistory: { highest: 9000000, lowest: 8000000, average: 8400000 },
|
||||
dropLocation: "Ornate Chest",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
name: "Demon Helmet",
|
||||
image: "/items/demon-helmet.png",
|
||||
image: "/api/images?path=data/images/capacetes/demon_helmet.gif",
|
||||
alt: "Demon Helmet - Capacete épico de Tibia nível 100",
|
||||
category: "helmet",
|
||||
rarity: "epic",
|
||||
@@ -31,7 +31,7 @@ export const featuredItems: TibiaItem[] = [
|
||||
{
|
||||
id: "3",
|
||||
name: "Vampire Shield",
|
||||
image: "/items/vampire-shield.png",
|
||||
image: "/api/images?path=data/images/escudos/vampire_shield.gif",
|
||||
alt: "Vampire Shield - Escudo épico de Tibia com defesa 38",
|
||||
category: "shield",
|
||||
rarity: "epic",
|
||||
@@ -44,7 +44,7 @@ export const featuredItems: TibiaItem[] = [
|
||||
{
|
||||
id: "4",
|
||||
name: "Zaoan Helmet",
|
||||
image: "/items/zaoan-helmet.png",
|
||||
image: "/api/images?path=data/images/capacetes/zaoan_helmet.gif",
|
||||
alt: "Zaoan Helmet - Capacete raro de Tibia nível 80",
|
||||
category: "helmet",
|
||||
rarity: "rare",
|
||||
@@ -57,7 +57,7 @@ export const featuredItems: TibiaItem[] = [
|
||||
{
|
||||
id: "5",
|
||||
name: "Magic Sword",
|
||||
image: "/items/magic-sword.png",
|
||||
image: "/api/images?path=data/images/espadas/magic_sword.gif",
|
||||
alt: "Magic Sword - Espada rara de Tibia nível 75",
|
||||
category: "weapon",
|
||||
rarity: "rare",
|
||||
@@ -70,7 +70,7 @@ export const featuredItems: TibiaItem[] = [
|
||||
{
|
||||
id: "6",
|
||||
name: "Demonbone Amulet",
|
||||
image: "/items/demonbone-amulet.png",
|
||||
image: "/api/images?path=data/images/amuletos/demonbone_amulet.gif",
|
||||
alt: "Demonbone Amulet - Amuleto épico de Tibia com proteção contra fogo",
|
||||
category: "amulet",
|
||||
rarity: "epic",
|
||||
@@ -82,22 +82,22 @@ export const featuredItems: TibiaItem[] = [
|
||||
},
|
||||
{
|
||||
id: "7",
|
||||
name: "Ornate Chestplate",
|
||||
image: "/items/ornate-chestplate.png",
|
||||
alt: "Ornate Chestplate - Armadura lendária de Tibia nível 300",
|
||||
category: "armor",
|
||||
name: "Dragon Shield",
|
||||
image: "/api/images?path=data/images/escudos/dragon_shield.gif",
|
||||
alt: "Dragon Shield - Escudo lendário de Tibia",
|
||||
category: "shield",
|
||||
rarity: "legendary",
|
||||
stats: { armor: 18, weight: 185 },
|
||||
requirements: { level: 300, vocation: "Knight" },
|
||||
protections: { fire: 5, ice: 5 },
|
||||
price: { buy: 8500000, sell: 8200000, bid: 8350000 },
|
||||
priceHistory: { highest: 9000000, lowest: 8000000, average: 8400000 },
|
||||
dropLocation: "Ornate Chest",
|
||||
stats: { defense: 45, weight: 55 },
|
||||
requirements: { level: 200, vocation: "Knight" },
|
||||
protections: { fire: 10, energy: 5 },
|
||||
price: { buy: 1500000, sell: 1400000, bid: 1450000 },
|
||||
priceHistory: { highest: 1600000, lowest: 1350000, average: 1475000 },
|
||||
dropLocation: "Dragon Lairs",
|
||||
},
|
||||
{
|
||||
id: "8",
|
||||
name: "Ultimate Health Potion",
|
||||
image: "/items/uhp.png",
|
||||
image: "/api/images?path=data/images/liquidos/ultimate_health_potion.gif",
|
||||
alt: "Ultimate Health Potion - Poção de saúde máxima de Tibia",
|
||||
category: "potion",
|
||||
rarity: "common",
|
||||
|
||||
Reference in new issue
Block a user