Spaces:
Running
Running
File size: 3,703 Bytes
f1f8c01 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | // Mock data for our components
const categories = [
{ id: 1, name: "Men's Fashion", icon: "user" },
{ id: 2, name: "Women's Fashion", icon: "users" },
{ id: 3, name: "Electronics", icon: "smartphone" },
{ id: 4, name: "Home & Living", icon: "home" },
{ id: 5, name: "Toys & Games", icon: "gift" },
{ id: 6, name: "Sports & Outdoors", icon: "activity" },
{ id: 7, name: "Beauty & Health", icon: "heart" },
{ id: 8, name: "Automotive", icon: "truck" }
];
const flashDeals = [
{
id: 1,
name: "Wireless Headphones",
image: "http://static.photos/technology/320x240/1",
discountedPrice: 29.99,
originalPrice: 59.99,
soldPercentage: 65
},
{
id: 2,
name: "Smart Watch Series 5",
image: "http://static.photos/technology/320x240/2",
discountedPrice: 89.99,
originalPrice: 149.99,
soldPercentage: 42
},
{
id: 3,
name: "Bluetooth Speaker",
image: "http://static.photos/technology/320x240/3",
discountedPrice: 19.99,
originalPrice: 39.99,
soldPercentage: 78
},
{
id: 4,
name: "Gaming Mouse",
image: "http://static.photos/technology/320x240/4",
discountedPrice: 24.99,
originalPrice: 49.99,
soldPercentage: 30
},
{
id: 5,
name: "Mechanical Keyboard",
image: "http://static.photos/technology/320x240/5",
discountedPrice: 59.99,
originalPrice: 99.99,
soldPercentage: 55
}
];
const categoryTiles = [
{ id: 1, name: "Phones", icon: "smartphone" },
{ id: 2, name: "Laptops", icon: "monitor" },
{ id: 3, name: "Cameras", icon: "camera" },
{ id: 4, name: "TVs", icon: "tv" },
{ id: 5, name: "Tablets", icon: "tablet" },
{ id: 6, name: "Audio", icon: "headphones" },
{ id: 7, name: "Gaming", icon: "gamepad" },
{ id: 8, name: "Wearables", icon: "watch" }
];
const products = [
{
id: 1,
name: "Premium Cotton T-Shirt",
price: 19.99,
description: "Comfort Fit",
rating: 4.5,
reviews: 124,
store: "FashionHub",
image: "http://static.photos/people/320x240/1"
},
{
id: 2,
name: "Running Shoes",
price: 59.99,
description: "Lightweight & Durable",
rating: 4.8,
reviews: 89,
store: "Sportify",
image: "http://static.photos/people/320x240/2"
},
{
id: 3,
name: "Stainless Steel Water Bottle",
price: 24.99,
description: "500ml Capacity",
rating: 4.3,
reviews: 201,
store: "EcoLife",
image: "http://static.photos/abstract/320x240/3"
},
{
id: 4,
name: "Desk Lamp with Wireless Charger",
price: 39.99,
description: "LED & Qi Compatible",
rating: 4.6,
reviews: 56,
store: "HomeEssentials",
image: "http://static.photos/office/320x240/4"
},
{
id: 5,
name: "Yoga Mat",
price: 29.99,
description: "Non-Slip & Eco-Friendly",
rating: 4.7,
reviews: 142,
store: "WellnessPro",
image: "http://static.photos/sport/320x240/5"
},
{
id: 6,
name: "Bluetooth Earbuds",
price: 34.99,
description: "Noise Cancelling",
rating: 4.4,
reviews: 78,
store: "AudioTech",
image: "http://static.photos/technology/320x240/6"
},
{
id: 7,
name: "Backpack Laptop Bag",
price: 49.99,
description: "Water Resistant",
rating: 4.2,
reviews: 93,
store: "TravelGear",
image: "http://static.photos/people/320x240/7"
},
{
id: 8,
name: "Coffee Maker",
price: 79.99,
description: "Programmable",
rating: 4.9,
reviews: 67,
store: "KitchenWorld",
image: "http://static.photos/office/320x240/8"
}
];
// Make data available globally
window.SHOPZONE_DATA = {
categories,
flashDeals,
categoryTiles,
products
}; |