Add 3 files
Browse files- README.md +7 -5
- index.html +412 -19
- prompts.txt +1 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: milwaukee
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: green
|
| 5 |
+
colorTo: yellow
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,412 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Milwaukee Tools Near 67905</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.tool-card:hover {
|
| 11 |
+
transform: translateY(-5px);
|
| 12 |
+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
| 13 |
+
}
|
| 14 |
+
.distance-badge {
|
| 15 |
+
position: absolute;
|
| 16 |
+
top: 10px;
|
| 17 |
+
right: 10px;
|
| 18 |
+
}
|
| 19 |
+
.map-container {
|
| 20 |
+
height: 400px;
|
| 21 |
+
border-radius: 12px;
|
| 22 |
+
overflow: hidden;
|
| 23 |
+
}
|
| 24 |
+
.loading-spinner {
|
| 25 |
+
border-top-color: #3498db;
|
| 26 |
+
animation: spinner 1.5s linear infinite;
|
| 27 |
+
}
|
| 28 |
+
@keyframes spinner {
|
| 29 |
+
0% { transform: rotate(0deg); }
|
| 30 |
+
100% { transform: rotate(360deg); }
|
| 31 |
+
}
|
| 32 |
+
</style>
|
| 33 |
+
</head>
|
| 34 |
+
<body class="bg-gray-50">
|
| 35 |
+
<header class="bg-red-600 text-white shadow-lg">
|
| 36 |
+
<div class="container mx-auto px-4 py-6">
|
| 37 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 38 |
+
<div class="flex items-center mb-4 md:mb-0">
|
| 39 |
+
<i class="fas fa-tools text-3xl mr-3"></i>
|
| 40 |
+
<h1 class="text-2xl md:text-3xl font-bold">Milwaukee Tools Near You</h1>
|
| 41 |
+
</div>
|
| 42 |
+
<div class="flex items-center bg-white rounded-full px-4 py-2 shadow">
|
| 43 |
+
<i class="fas fa-map-marker-alt text-red-600 mr-2"></i>
|
| 44 |
+
<span class="text-gray-800 font-medium">67905, Indiana (75 mile radius)</span>
|
| 45 |
+
</div>
|
| 46 |
+
</div>
|
| 47 |
+
</div>
|
| 48 |
+
</header>
|
| 49 |
+
|
| 50 |
+
<main class="container mx-auto px-4 py-8">
|
| 51 |
+
<div class="flex flex-col lg:flex-row gap-8">
|
| 52 |
+
<!-- Filters Section -->
|
| 53 |
+
<div class="lg:w-1/4">
|
| 54 |
+
<div class="bg-white p-6 rounded-lg shadow-md sticky top-4">
|
| 55 |
+
<h2 class="text-xl font-bold mb-4 flex items-center">
|
| 56 |
+
<i class="fas fa-filter mr-2 text-red-600"></i> Filters
|
| 57 |
+
</h2>
|
| 58 |
+
|
| 59 |
+
<div class="mb-6">
|
| 60 |
+
<h3 class="font-semibold mb-2 text-gray-700">Categories</h3>
|
| 61 |
+
<div class="space-y-2">
|
| 62 |
+
<label class="flex items-center">
|
| 63 |
+
<input type="checkbox" class="form-checkbox text-red-600" checked>
|
| 64 |
+
<span class="ml-2">Power Tools</span>
|
| 65 |
+
</label>
|
| 66 |
+
<label class="flex items-center">
|
| 67 |
+
<input type="checkbox" class="form-checkbox text-red-600" checked>
|
| 68 |
+
<span class="ml-2">Hand Tools</span>
|
| 69 |
+
</label>
|
| 70 |
+
<label class="flex items-center">
|
| 71 |
+
<input type="checkbox" class="form-checkbox text-red-600" checked>
|
| 72 |
+
<span class="ml-2">Accessories</span>
|
| 73 |
+
</label>
|
| 74 |
+
<label class="flex items-center">
|
| 75 |
+
<input type="checkbox" class="form-checkbox text-red-600" checked>
|
| 76 |
+
<span class="ml-2">Combo Kits</span>
|
| 77 |
+
</label>
|
| 78 |
+
</div>
|
| 79 |
+
</div>
|
| 80 |
+
|
| 81 |
+
<div class="mb-6">
|
| 82 |
+
<h3 class="font-semibold mb-2 text-gray-700">Price Range</h3>
|
| 83 |
+
<div class="flex items-center justify-between mb-2">
|
| 84 |
+
<span class="text-sm text-gray-600">$10</span>
|
| 85 |
+
<span class="text-sm text-gray-600">$1000+</span>
|
| 86 |
+
</div>
|
| 87 |
+
<input type="range" min="10" max="1000" value="500" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer">
|
| 88 |
+
</div>
|
| 89 |
+
|
| 90 |
+
<div class="mb-6">
|
| 91 |
+
<h3 class="font-semibold mb-2 text-gray-700">Condition</h3>
|
| 92 |
+
<div class="space-y-2">
|
| 93 |
+
<label class="flex items-center">
|
| 94 |
+
<input type="checkbox" class="form-checkbox text-red-600" checked>
|
| 95 |
+
<span class="ml-2">New</span>
|
| 96 |
+
</label>
|
| 97 |
+
<label class="flex items-center">
|
| 98 |
+
<input type="checkbox" class="form-checkbox text-red-600" checked>
|
| 99 |
+
<span class="ml-2">Used - Like New</span>
|
| 100 |
+
</label>
|
| 101 |
+
<label class="flex items-center">
|
| 102 |
+
<input type="checkbox" class="form-checkbox text-red-600" checked>
|
| 103 |
+
<span class="ml-2">Used - Good</span>
|
| 104 |
+
</label>
|
| 105 |
+
</div>
|
| 106 |
+
</div>
|
| 107 |
+
|
| 108 |
+
<button class="w-full bg-red-600 hover:bg-red-700 text-white font-medium py-2 px-4 rounded-lg transition duration-200">
|
| 109 |
+
<i class="fas fa-sync-alt mr-2"></i> Apply Filters
|
| 110 |
+
</button>
|
| 111 |
+
</div>
|
| 112 |
+
</div>
|
| 113 |
+
|
| 114 |
+
<!-- Main Content -->
|
| 115 |
+
<div class="lg:w-3/4">
|
| 116 |
+
<!-- Search Bar -->
|
| 117 |
+
<div class="bg-white p-4 rounded-lg shadow-md mb-6">
|
| 118 |
+
<div class="relative">
|
| 119 |
+
<input type="text" placeholder="Search Milwaukee tools..." class="w-full pl-10 pr-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-red-500">
|
| 120 |
+
<i class="fas fa-search absolute left-3 top-3.5 text-gray-400"></i>
|
| 121 |
+
</div>
|
| 122 |
+
</div>
|
| 123 |
+
|
| 124 |
+
<!-- Map View -->
|
| 125 |
+
<div class="bg-white p-4 rounded-lg shadow-md mb-6">
|
| 126 |
+
<h2 class="text-xl font-bold mb-4 flex items-center">
|
| 127 |
+
<i class="fas fa-map-marked-alt mr-2 text-red-600"></i> Map View
|
| 128 |
+
</h2>
|
| 129 |
+
<div class="map-container bg-gray-200 relative">
|
| 130 |
+
<!-- Map placeholder - in a real app you'd use Google Maps or similar -->
|
| 131 |
+
<div class="absolute inset-0 flex items-center justify-center">
|
| 132 |
+
<div class="text-center">
|
| 133 |
+
<i class="fas fa-map-marker-alt text-red-600 text-4xl mb-2"></i>
|
| 134 |
+
<p class="text-gray-700">Map showing Milwaukee tools within 75 miles of 67905</p>
|
| 135 |
+
</div>
|
| 136 |
+
</div>
|
| 137 |
+
</div>
|
| 138 |
+
</div>
|
| 139 |
+
|
| 140 |
+
<!-- Results Count -->
|
| 141 |
+
<div class="flex justify-between items-center mb-4">
|
| 142 |
+
<h2 class="text-xl font-bold">24 Results Found</h2>
|
| 143 |
+
<div class="flex items-center">
|
| 144 |
+
<span class="mr-2 text-gray-600">Sort by:</span>
|
| 145 |
+
<select class="border border-gray-300 rounded-lg px-3 py-1 focus:outline-none focus:ring-1 focus:ring-red-500">
|
| 146 |
+
<option>Distance</option>
|
| 147 |
+
<option>Price: Low to High</option>
|
| 148 |
+
<option>Price: High to Low</option>
|
| 149 |
+
<option>Newest First</option>
|
| 150 |
+
</select>
|
| 151 |
+
</div>
|
| 152 |
+
</div>
|
| 153 |
+
|
| 154 |
+
<!-- Loading State -->
|
| 155 |
+
<div id="loading" class="hidden flex items-center justify-center py-12">
|
| 156 |
+
<div class="w-12 h-12 border-4 border-gray-300 rounded-full loading-spinner"></div>
|
| 157 |
+
</div>
|
| 158 |
+
|
| 159 |
+
<!-- Tools Grid -->
|
| 160 |
+
<div id="tools-grid" class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 161 |
+
<!-- Tool cards will be inserted here by JavaScript -->
|
| 162 |
+
</div>
|
| 163 |
+
|
| 164 |
+
<!-- Pagination -->
|
| 165 |
+
<div class="flex justify-center mt-8">
|
| 166 |
+
<nav class="inline-flex rounded-md shadow">
|
| 167 |
+
<a href="#" class="px-3 py-2 rounded-l-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-50">
|
| 168 |
+
<i class="fas fa-chevron-left"></i>
|
| 169 |
+
</a>
|
| 170 |
+
<a href="#" class="px-4 py-2 border-t border-b border-gray-300 bg-white text-red-600 font-medium">1</a>
|
| 171 |
+
<a href="#" class="px-4 py-2 border-t border-b border-gray-300 bg-white text-gray-500 hover:bg-gray-50">2</a>
|
| 172 |
+
<a href="#" class="px-4 py-2 border-t border-b border-gray-300 bg-white text-gray-500 hover:bg-gray-50">3</a>
|
| 173 |
+
<a href="#" class="px-4 py-2 border border-gray-300 bg-white text-gray-500 hover:bg-gray-50 rounded-r-md">
|
| 174 |
+
<i class="fas fa-chevron-right"></i>
|
| 175 |
+
</a>
|
| 176 |
+
</nav>
|
| 177 |
+
</div>
|
| 178 |
+
</div>
|
| 179 |
+
</div>
|
| 180 |
+
</main>
|
| 181 |
+
|
| 182 |
+
<footer class="bg-gray-800 text-white py-8">
|
| 183 |
+
<div class="container mx-auto px-4">
|
| 184 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
|
| 185 |
+
<div>
|
| 186 |
+
<h3 class="text-lg font-bold mb-4">Milwaukee Tools</h3>
|
| 187 |
+
<p class="text-gray-400">Find the best deals on Milwaukee tools in your area. Quality tools for professionals and DIYers alike.</p>
|
| 188 |
+
</div>
|
| 189 |
+
<div>
|
| 190 |
+
<h3 class="text-lg font-bold mb-4">Quick Links</h3>
|
| 191 |
+
<ul class="space-y-2">
|
| 192 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Home</a></li>
|
| 193 |
+
<li><a href="#" class="text-gray-400 hover:text-white">About</a></li>
|
| 194 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Contact</a></li>
|
| 195 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Privacy Policy</a></li>
|
| 196 |
+
</ul>
|
| 197 |
+
</div>
|
| 198 |
+
<div>
|
| 199 |
+
<h3 class="text-lg font-bold mb-4">Contact</h3>
|
| 200 |
+
<ul class="space-y-2">
|
| 201 |
+
<li class="flex items-center text-gray-400"><i class="fas fa-map-marker-alt mr-2"></i> 67905, Indiana</li>
|
| 202 |
+
<li class="flex items-center text-gray-400"><i class="fas fa-phone mr-2"></i> (555) 123-4567</li>
|
| 203 |
+
<li class="flex items-center text-gray-400"><i class="fas fa-envelope mr-2"></i> info@milwaukeetoolsnear.me</li>
|
| 204 |
+
</ul>
|
| 205 |
+
</div>
|
| 206 |
+
<div>
|
| 207 |
+
<h3 class="text-lg font-bold mb-4">Newsletter</h3>
|
| 208 |
+
<p class="text-gray-400 mb-2">Subscribe for the latest deals</p>
|
| 209 |
+
<div class="flex">
|
| 210 |
+
<input type="email" placeholder="Your email" class="px-3 py-2 rounded-l-lg focus:outline-none text-gray-800 w-full">
|
| 211 |
+
<button class="bg-red-600 hover:bg-red-700 px-4 py-2 rounded-r-lg">
|
| 212 |
+
<i class="fas fa-paper-plane"></i>
|
| 213 |
+
</button>
|
| 214 |
+
</div>
|
| 215 |
+
</div>
|
| 216 |
+
</div>
|
| 217 |
+
<div class="border-t border-gray-700 mt-8 pt-6 text-center text-gray-400">
|
| 218 |
+
<p>© 2023 Milwaukee Tools Near You. All rights reserved.</p>
|
| 219 |
+
</div>
|
| 220 |
+
</div>
|
| 221 |
+
</footer>
|
| 222 |
+
|
| 223 |
+
<script>
|
| 224 |
+
// Sample data for Milwaukee tools within 75 miles of 67905, Indiana
|
| 225 |
+
const toolsData = [
|
| 226 |
+
{
|
| 227 |
+
id: 1,
|
| 228 |
+
title: "Milwaukee M18 Fuel Drill/Driver Kit",
|
| 229 |
+
price: 199.99,
|
| 230 |
+
originalPrice: 249.99,
|
| 231 |
+
distance: 12,
|
| 232 |
+
location: "Terre Haute, IN",
|
| 233 |
+
condition: "New",
|
| 234 |
+
category: "Combo Kits",
|
| 235 |
+
image: "https://images.unsplash.com/photo-1572981779307-38b8cabb2407?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80",
|
| 236 |
+
description: "Brand new Milwaukee M18 Fuel drill/driver kit with 2 batteries and charger. Never used, still in original packaging.",
|
| 237 |
+
posted: "2 hours ago"
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
id: 2,
|
| 241 |
+
title: "Milwaukee M12 Fuel Impact Driver",
|
| 242 |
+
price: 129.99,
|
| 243 |
+
originalPrice: 159.99,
|
| 244 |
+
distance: 25,
|
| 245 |
+
location: "Greencastle, IN",
|
| 246 |
+
condition: "Used - Like New",
|
| 247 |
+
category: "Power Tools",
|
| 248 |
+
image: "https://images.unsplash.com/photo-1594708767771-a3672a87afe7?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80",
|
| 249 |
+
description: "Lightly used M12 Fuel impact driver. Works perfectly, includes battery and charger. Only used for a small home project.",
|
| 250 |
+
posted: "1 day ago"
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
id: 3,
|
| 254 |
+
title: "Milwaukee Packout Rolling Tool Box",
|
| 255 |
+
price: 149.99,
|
| 256 |
+
originalPrice: 199.99,
|
| 257 |
+
distance: 18,
|
| 258 |
+
location: "Clinton, IN",
|
| 259 |
+
condition: "Used - Good",
|
| 260 |
+
category: "Accessories",
|
| 261 |
+
image: "https://images.unsplash.com/photo-1567721912246-843c0a0db844?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80",
|
| 262 |
+
description: "Milwaukee Packout rolling toolbox in good condition. Some scratches from normal use but fully functional.",
|
| 263 |
+
posted: "3 days ago"
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
id: 4,
|
| 267 |
+
title: "Milwaukee M18 Fuel Circular Saw",
|
| 268 |
+
price: 179.99,
|
| 269 |
+
originalPrice: 229.99,
|
| 270 |
+
distance: 32,
|
| 271 |
+
location: "Brazil, IN",
|
| 272 |
+
condition: "New",
|
| 273 |
+
category: "Power Tools",
|
| 274 |
+
image: "https://images.unsplash.com/photo-1585771724684-38269d507a95?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80",
|
| 275 |
+
description: "Brand new M18 Fuel circular saw. Includes 6.0Ah battery and charger. Perfect for construction or woodworking.",
|
| 276 |
+
posted: "5 hours ago"
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
id: 5,
|
| 280 |
+
title: "Milwaukee 48-22-1225 25' Tape Measure",
|
| 281 |
+
price: 14.99,
|
| 282 |
+
originalPrice: 19.99,
|
| 283 |
+
distance: 8,
|
| 284 |
+
location: "West Terre Haute, IN",
|
| 285 |
+
condition: "Used - Like New",
|
| 286 |
+
category: "Hand Tools",
|
| 287 |
+
image: "https://images.unsplash.com/photo-1596462502278-27bfdc403348?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80",
|
| 288 |
+
description: "Milwaukee 25-foot tape measure in excellent condition. Used only a few times, works perfectly.",
|
| 289 |
+
posted: "1 day ago"
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
id: 6,
|
| 293 |
+
title: "Milwaukee M18 Fuel Sawzall Kit",
|
| 294 |
+
price: 249.99,
|
| 295 |
+
originalPrice: 299.99,
|
| 296 |
+
distance: 45,
|
| 297 |
+
location: "Rockville, IN",
|
| 298 |
+
condition: "New",
|
| 299 |
+
category: "Combo Kits",
|
| 300 |
+
image: "https://images.unsplash.com/photo-1585771724684-38269d507a95?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80",
|
| 301 |
+
description: "Complete M18 Fuel Sawzall kit with 5.0Ah battery, charger, and case. Brand new in box.",
|
| 302 |
+
posted: "2 days ago"
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
id: 7,
|
| 306 |
+
title: "Milwaukee Fastback Utility Knife",
|
| 307 |
+
price: 9.99,
|
| 308 |
+
originalPrice: 14.99,
|
| 309 |
+
distance: 5,
|
| 310 |
+
location: "Terre Haute, IN",
|
| 311 |
+
condition: "Used - Good",
|
| 312 |
+
category: "Hand Tools",
|
| 313 |
+
image: "https://images.unsplash.com/photo-1593538312308-d4c29d8dc7f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80",
|
| 314 |
+
description: "Milwaukee Fastback utility knife. Some wear but blade is sharp and mechanism works well.",
|
| 315 |
+
posted: "3 hours ago"
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
id: 8,
|
| 319 |
+
title: "Milwaukee M12 Fuel Hackzall",
|
| 320 |
+
price: 109.99,
|
| 321 |
+
originalPrice: 139.99,
|
| 322 |
+
distance: 28,
|
| 323 |
+
location: "Cayuga, IN",
|
| 324 |
+
condition: "Used - Like New",
|
| 325 |
+
category: "Power Tools",
|
| 326 |
+
image: "https://images.unsplash.com/photo-1585771724684-38269d507a95?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80",
|
| 327 |
+
description: "M12 Fuel Hackzall in excellent condition. Used for light duty work, includes battery.",
|
| 328 |
+
posted: "1 day ago"
|
| 329 |
+
}
|
| 330 |
+
];
|
| 331 |
+
|
| 332 |
+
// Function to render tool cards
|
| 333 |
+
function renderTools() {
|
| 334 |
+
const toolsGrid = document.getElementById('tools-grid');
|
| 335 |
+
toolsGrid.innerHTML = '';
|
| 336 |
+
|
| 337 |
+
toolsData.forEach(tool => {
|
| 338 |
+
const toolCard = document.createElement('div');
|
| 339 |
+
toolCard.className = 'bg-white rounded-lg shadow-md overflow-hidden tool-card transition duration-300 relative';
|
| 340 |
+
|
| 341 |
+
// Calculate discount percentage
|
| 342 |
+
const discount = Math.round(((tool.originalPrice - tool.price) / tool.originalPrice) * 100);
|
| 343 |
+
|
| 344 |
+
toolCard.innerHTML = `
|
| 345 |
+
<div class="relative">
|
| 346 |
+
<img src="${tool.image}" alt="${tool.title}" class="w-full h-48 object-cover">
|
| 347 |
+
<span class="distance-badge bg-red-600 text-white text-xs font-bold px-2 py-1 rounded-full">
|
| 348 |
+
${tool.distance} mi
|
| 349 |
+
</span>
|
| 350 |
+
${discount > 0 ? `
|
| 351 |
+
<span class="absolute top-2 left-2 bg-green-500 text-white text-xs font-bold px-2 py-1 rounded">
|
| 352 |
+
${discount}% OFF
|
| 353 |
+
</span>
|
| 354 |
+
` : ''}
|
| 355 |
+
</div>
|
| 356 |
+
<div class="p-4">
|
| 357 |
+
<div class="flex justify-between items-start mb-2">
|
| 358 |
+
<h3 class="font-bold text-lg text-gray-800">${tool.title}</h3>
|
| 359 |
+
<div class="text-right">
|
| 360 |
+
<span class="text-red-600 font-bold text-lg">$${tool.price.toFixed(2)}</span>
|
| 361 |
+
${tool.originalPrice > tool.price ? `
|
| 362 |
+
<span class="text-gray-500 text-sm line-through block">$${tool.originalPrice.toFixed(2)}</span>
|
| 363 |
+
` : ''}
|
| 364 |
+
</div>
|
| 365 |
+
</div>
|
| 366 |
+
<div class="flex items-center text-sm text-gray-600 mb-2">
|
| 367 |
+
<i class="fas fa-map-marker-alt mr-1"></i>
|
| 368 |
+
<span>${tool.location}</span>
|
| 369 |
+
</div>
|
| 370 |
+
<div class="flex items-center text-sm text-gray-600 mb-3">
|
| 371 |
+
<i class="fas fa-clock mr-1"></i>
|
| 372 |
+
<span>${tool.posted}</span>
|
| 373 |
+
</div>
|
| 374 |
+
<p class="text-gray-700 text-sm mb-4">${tool.description.substring(0, 100)}...</p>
|
| 375 |
+
<div class="flex justify-between items-center">
|
| 376 |
+
<span class="bg-gray-100 text-gray-800 text-xs px-2 py-1 rounded">${tool.condition}</span>
|
| 377 |
+
<button class="bg-red-600 hover:bg-red-700 text-white font-medium py-2 px-4 rounded-lg transition duration-200">
|
| 378 |
+
<i class="fas fa-shopping-cart mr-1"></i> Buy Now
|
| 379 |
+
</button>
|
| 380 |
+
</div>
|
| 381 |
+
</div>
|
| 382 |
+
`;
|
| 383 |
+
|
| 384 |
+
toolsGrid.appendChild(toolCard);
|
| 385 |
+
});
|
| 386 |
+
}
|
| 387 |
+
|
| 388 |
+
// Simulate loading state
|
| 389 |
+
function showLoading() {
|
| 390 |
+
document.getElementById('loading').classList.remove('hidden');
|
| 391 |
+
document.getElementById('tools-grid').classList.add('hidden');
|
| 392 |
+
|
| 393 |
+
setTimeout(() => {
|
| 394 |
+
document.getElementById('loading').classList.add('hidden');
|
| 395 |
+
document.getElementById('tools-grid').classList.remove('hidden');
|
| 396 |
+
renderTools();
|
| 397 |
+
}, 1000);
|
| 398 |
+
}
|
| 399 |
+
|
| 400 |
+
// Initial render
|
| 401 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 402 |
+
showLoading();
|
| 403 |
+
|
| 404 |
+
// Add event listener for search
|
| 405 |
+
document.querySelector('input[type="text"]').addEventListener('input', (e) => {
|
| 406 |
+
// In a real app, you would filter the tools based on search term
|
| 407 |
+
console.log('Searching for:', e.target.value);
|
| 408 |
+
});
|
| 409 |
+
});
|
| 410 |
+
</script>
|
| 411 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Ghxxxst/milwaukee" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 412 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
build a website that shows all the online ads for Milwaukee tools. show only ads that within 75 miles of area code 67905 in Indiana
|