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.
207 lines
6.2 KiB
TypeScript
207 lines
6.2 KiB
TypeScript
import { TibiaItem, MarketOffer } from "@/types/item";
|
|
|
|
export const featuredItems: TibiaItem[] = [
|
|
{
|
|
id: "1",
|
|
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: 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: "/api/images?path=data/images/capacetes/demon_helmet.gif",
|
|
alt: "Demon Helmet - Capacete épico de Tibia nível 100",
|
|
category: "helmet",
|
|
rarity: "epic",
|
|
stats: { armor: 10, weight: 29 },
|
|
requirements: { level: 100, vocation: "Knight" },
|
|
price: { buy: 50000, sell: 45000, bid: 47500 },
|
|
priceHistory: { highest: 55000, lowest: 42000, average: 48500 },
|
|
dropLocation: "Demon Hell",
|
|
},
|
|
{
|
|
id: "3",
|
|
name: "Vampire Shield",
|
|
image: "/api/images?path=data/images/escudos/vampire_shield.gif",
|
|
alt: "Vampire Shield - Escudo épico de Tibia com defesa 38",
|
|
category: "shield",
|
|
rarity: "epic",
|
|
stats: { defense: 38, weight: 48 },
|
|
requirements: { level: 150, vocation: "Knight" },
|
|
price: { buy: 450000, sell: 420000, bid: 435000 },
|
|
priceHistory: { highest: 480000, lowest: 400000, average: 435000 },
|
|
dropLocation: "Vampire Crypt",
|
|
},
|
|
{
|
|
id: "4",
|
|
name: "Zaoan Helmet",
|
|
image: "/api/images?path=data/images/capacetes/zaoan_helmet.gif",
|
|
alt: "Zaoan Helmet - Capacete raro de Tibia nível 80",
|
|
category: "helmet",
|
|
rarity: "rare",
|
|
stats: { armor: 9, weight: 43 },
|
|
requirements: { level: 80, vocation: "Knight" },
|
|
price: { buy: 85000, sell: 75000, bid: 80000 },
|
|
priceHistory: { highest: 95000, lowest: 70000, average: 80000 },
|
|
dropLocation: "Zao Palace",
|
|
},
|
|
{
|
|
id: "5",
|
|
name: "Magic Sword",
|
|
image: "/api/images?path=data/images/espadas/magic_sword.gif",
|
|
alt: "Magic Sword - Espada rara de Tibia nível 75",
|
|
category: "weapon",
|
|
rarity: "rare",
|
|
stats: { attack: 48, defense: 35, weight: 36 },
|
|
requirements: { level: 75, vocation: "Knight" },
|
|
price: { buy: 22000, sell: 20000, bid: 21000 },
|
|
priceHistory: { highest: 28000, lowest: 20000, average: 24000 },
|
|
dropLocation: "Magic Shop",
|
|
},
|
|
{
|
|
id: "6",
|
|
name: "Demonbone Amulet",
|
|
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",
|
|
stats: { armor: 2, weight: 8.5 },
|
|
protections: { fire: 10 },
|
|
price: { buy: 180000, sell: 165000, bid: 172500 },
|
|
priceHistory: { highest: 200000, lowest: 150000, average: 175000 },
|
|
dropLocation: "Demon Hell",
|
|
},
|
|
{
|
|
id: "7",
|
|
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: { 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: "/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",
|
|
stats: { weight: 2 },
|
|
stackable: true,
|
|
price: { buy: 310, sell: 280, bid: 295 },
|
|
priceHistory: { highest: 350, lowest: 280, average: 300 },
|
|
dropLocation: "Magic Shop",
|
|
},
|
|
];
|
|
|
|
export const buyOffers: MarketOffer[] = [
|
|
{
|
|
id: "1",
|
|
item: featuredItems[7], // Ultimate Health Potion
|
|
seller: "EternalOblivion",
|
|
price: 280000,
|
|
quantity: 1000,
|
|
type: "buy",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 60 * 2), // 2 hours ago
|
|
},
|
|
{
|
|
id: "2",
|
|
item: featuredItems[1], // Demon Helmet
|
|
seller: "PallySupreme",
|
|
price: 48000,
|
|
quantity: 1,
|
|
type: "buy",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 45), // 45 min ago
|
|
},
|
|
{
|
|
id: "3",
|
|
item: featuredItems[5], // Demonbone Amulet
|
|
seller: "MageDestroyer",
|
|
price: 175000,
|
|
quantity: 1,
|
|
type: "buy",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 60), // 1 hour ago
|
|
},
|
|
{
|
|
id: "4",
|
|
item: featuredItems[4], // Magic Sword
|
|
seller: "KnightLegacy",
|
|
price: 25000,
|
|
quantity: 1,
|
|
type: "buy",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 60 * 3), // 3 hours ago
|
|
},
|
|
{
|
|
id: "5",
|
|
item: featuredItems[6], // Ornate Chestplate
|
|
seller: "TibiaCollector",
|
|
price: 8300000,
|
|
quantity: 1,
|
|
type: "buy",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 30), // 30 min ago
|
|
},
|
|
];
|
|
|
|
export const sellOffers: MarketOffer[] = [
|
|
{
|
|
id: "6",
|
|
item: featuredItems[7], // Ultimate Health Potion
|
|
seller: "EternalOblivion",
|
|
price: 280000,
|
|
quantity: 1000,
|
|
type: "sell",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 60 * 2), // 2 hours ago
|
|
},
|
|
{
|
|
id: "7",
|
|
item: featuredItems[1], // Demon Helmet
|
|
seller: "PallySupreme",
|
|
price: 48000,
|
|
quantity: 1,
|
|
type: "sell",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 45), // 45 min ago
|
|
},
|
|
{
|
|
id: "8",
|
|
item: featuredItems[5], // Demonbone Amulet
|
|
seller: "MageDestroyer",
|
|
price: 175000,
|
|
quantity: 1,
|
|
type: "sell",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 60), // 1 hour ago
|
|
},
|
|
{
|
|
id: "9",
|
|
item: featuredItems[4], // Magic Sword
|
|
seller: "KnightLegacy",
|
|
price: 25000,
|
|
quantity: 1,
|
|
type: "sell",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 60 * 3), // 3 hours ago
|
|
},
|
|
{
|
|
id: "10",
|
|
item: featuredItems[6], // Ornate Chestplate
|
|
seller: "TibiaCollector",
|
|
price: 8300000,
|
|
quantity: 1,
|
|
type: "sell",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 30), // 30 min ago
|
|
},
|
|
];
|