app-dreamy-armadillo-flit/lib/data.ts

95 lines
2.6 KiB
TypeScript

export type Product = {
id: string;
name: string;
price: number;
originalPrice?: number;
rating: number;
reviews: number;
image: string;
category: string;
description: string;
isOffer?: boolean;
};
export const products: Product[] = [
{
id: "1",
name: "Premium Wireless Headphones",
price: 2499,
originalPrice: 4999,
rating: 4.5,
reviews: 1250,
image: "https://images.unsplash.com/photo-1505740420928-5e560c06d30e?q=80&w=1000&auto=format&fit=crop",
category: "Electronics",
description: "High-quality wireless headphones with noise cancellation and 40-hour battery life.",
isOffer: true,
},
{
id: "2",
name: "Smart Watch Series 7",
price: 3999,
originalPrice: 7999,
rating: 4.8,
reviews: 850,
image: "https://images.unsplash.com/photo-1523275335684-37898b6baf30?q=80&w=1000&auto=format&fit=crop",
category: "Electronics",
description: "Advanced health tracking, GPS, and water resistance up to 50m.",
isOffer: true,
},
{
id: "3",
name: "Cotton Casual Shirt",
price: 899,
originalPrice: 1499,
rating: 4.2,
reviews: 420,
image: "https://images.unsplash.com/photo-1596755094514-f87e34085b2c?q=80&w=1000&auto=format&fit=crop",
category: "Fashion",
description: "100% pure cotton casual shirt for everyday comfort.",
isOffer: false,
},
{
id: "4",
name: "Organic Basmati Rice (5kg)",
price: 650,
originalPrice: 750,
rating: 4.6,
reviews: 2100,
image: "https://images.unsplash.com/photo-1586201375761-83865001e31c?q=80&w=1000&auto=format&fit=crop",
category: "Groceries",
description: "Long-grain aromatic basmati rice, naturally aged for superior taste.",
isOffer: false,
},
{
id: "5",
name: "Professional Chef Knife",
price: 1299,
originalPrice: 1999,
rating: 4.7,
reviews: 340,
image: "https://images.unsplash.com/photo-1593642632823-8f785ba67e45?q=80&w=1000&auto=format&fit=crop",
category: "Hotel Supplies",
description: "Stainless steel professional grade chef knife for precision cutting.",
isOffer: true,
},
{
id: "6",
name: "Running Shoes Pro",
price: 1899,
originalPrice: 2999,
rating: 4.4,
reviews: 670,
image: "https://images.unsplash.com/photo-1542291026-7eec264c27ff?q=80&w=1000&auto=format&fit=crop",
category: "Fashion",
description: "Lightweight and breathable running shoes with superior cushioning.",
isOffer: true,
}
];
export const categories = [
{ name: "Electronics", icon: "🔌" },
{ name: "Fashion", icon: "👕" },
{ name: "Groceries", icon: "🍎" },
{ name: "Hotel Supplies", icon: "🏨" },
];