Spaces:
Running
Running
Add 2 files
Browse files- index.html +87 -1
- prompts.txt +2 -1
index.html
CHANGED
@@ -36,6 +36,7 @@
|
|
36 |
.tool-card {
|
37 |
transition: all 0.3s ease;
|
38 |
transform-style: preserve-3d;
|
|
|
39 |
}
|
40 |
.tool-card:hover {
|
41 |
transform: translateY(-5px) scale(1.02);
|
@@ -55,6 +56,13 @@
|
|
55 |
background: rgba(0,255,255,0.3);
|
56 |
border-radius: 4px;
|
57 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
</style>
|
59 |
</head>
|
60 |
<body class="bg-gray-900 text-gray-100 grid-pattern">
|
@@ -276,7 +284,8 @@
|
|
276 |
color: category.color,
|
277 |
power: power,
|
278 |
rating: (Math.random() * 5).toFixed(1),
|
279 |
-
cores: Math.floor(Math.random() * 1000) + 1
|
|
|
280 |
});
|
281 |
}
|
282 |
return tools;
|
@@ -288,6 +297,37 @@
|
|
288 |
const toolsContainer = document.getElementById('toolsContainer');
|
289 |
const visibleToolsCounter = document.getElementById('visibleTools');
|
290 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
291 |
// Render tools
|
292 |
const renderTools = (tools) => {
|
293 |
toolsContainer.innerHTML = '';
|
@@ -320,7 +360,36 @@
|
|
320 |
<div class="mt-2 text-xs text-gray-500">
|
321 |
Uses ${tool.cores} AI cores
|
322 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
323 |
`;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
324 |
toolsContainer.appendChild(toolCard);
|
325 |
});
|
326 |
visibleToolsCounter.textContent = visibleTools;
|
@@ -348,8 +417,10 @@
|
|
348 |
tool.description.toLowerCase().includes(searchTerm) ||
|
349 |
tool.category.toLowerCase().includes(searchTerm)
|
350 |
);
|
|
|
351 |
renderTools(filteredTools);
|
352 |
} else {
|
|
|
353 |
renderTools(allTools);
|
354 |
}
|
355 |
});
|
@@ -363,6 +434,21 @@
|
|
363 |
this.querySelector('i').classList.remove('fa-spin');
|
364 |
});
|
365 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
366 |
</script>
|
367 |
<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=docto41/deepsite-pro" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
368 |
</html>
|
|
|
36 |
.tool-card {
|
37 |
transition: all 0.3s ease;
|
38 |
transform-style: preserve-3d;
|
39 |
+
cursor: pointer;
|
40 |
}
|
41 |
.tool-card:hover {
|
42 |
transform: translateY(-5px) scale(1.02);
|
|
|
56 |
background: rgba(0,255,255,0.3);
|
57 |
border-radius: 4px;
|
58 |
}
|
59 |
+
.btn-action {
|
60 |
+
transition: all 0.2s ease;
|
61 |
+
}
|
62 |
+
.btn-action:hover {
|
63 |
+
transform: scale(1.05);
|
64 |
+
box-shadow: 0 0 15px currentColor;
|
65 |
+
}
|
66 |
</style>
|
67 |
</head>
|
68 |
<body class="bg-gray-900 text-gray-100 grid-pattern">
|
|
|
284 |
color: category.color,
|
285 |
power: power,
|
286 |
rating: (Math.random() * 5).toFixed(1),
|
287 |
+
cores: Math.floor(Math.random() * 1000) + 1,
|
288 |
+
url: `https://deepsite.pro/tools/${category.name.toLowerCase()}/${i}`
|
289 |
});
|
290 |
}
|
291 |
return tools;
|
|
|
297 |
const toolsContainer = document.getElementById('toolsContainer');
|
298 |
const visibleToolsCounter = document.getElementById('visibleTools');
|
299 |
|
300 |
+
// Function to show tool details
|
301 |
+
const showToolDetails = (tool) => {
|
302 |
+
// In a real app, this would redirect to the tool's page
|
303 |
+
// For demo purposes, we'll show an alert
|
304 |
+
alert(`Launching: ${tool.name}\n\n${tool.description}\n\nPower: ${tool.power}\nRating: ${tool.rating} ★\nAI Cores: ${tool.cores}\n\nURL: ${tool.url}`);
|
305 |
+
|
306 |
+
// Simulate loading animation
|
307 |
+
const loading = document.createElement('div');
|
308 |
+
loading.className = 'fixed inset-0 bg-black bg-opacity-80 flex items-center justify-center z-50';
|
309 |
+
loading.innerHTML = `
|
310 |
+
<div class="text-center">
|
311 |
+
<div class="text-4xl text-blue-400 mb-4">
|
312 |
+
<i class="fas fa-cog fa-spin"></i>
|
313 |
+
</div>
|
314 |
+
<h3 class="text-2xl text-white font-bold">Initializing ${tool.name}</h3>
|
315 |
+
<p class="text-gray-300 mt-2">Allocating ${tool.cores} AI cores...</p>
|
316 |
+
<div class="w-full bg-gray-700 rounded-full h-2.5 mt-4">
|
317 |
+
<div class="bg-blue-500 h-2.5 rounded-full animate-pulse" style="width: 100%"></div>
|
318 |
+
</div>
|
319 |
+
</div>
|
320 |
+
`;
|
321 |
+
document.body.appendChild(loading);
|
322 |
+
|
323 |
+
// Remove after 2 seconds (simulating load time)
|
324 |
+
setTimeout(() => {
|
325 |
+
loading.remove();
|
326 |
+
// In a real app, you would redirect here:
|
327 |
+
// window.location.href = tool.url;
|
328 |
+
}, 2000);
|
329 |
+
};
|
330 |
+
|
331 |
// Render tools
|
332 |
const renderTools = (tools) => {
|
333 |
toolsContainer.innerHTML = '';
|
|
|
360 |
<div class="mt-2 text-xs text-gray-500">
|
361 |
Uses ${tool.cores} AI cores
|
362 |
</div>
|
363 |
+
<div class="mt-4 flex space-x-2">
|
364 |
+
<button class="btn-action bg-${tool.color}-500 hover:bg-${tool.color}-600 text-white text-xs px-3 py-1 rounded-full transition-all">
|
365 |
+
<i class="fas fa-play mr-1"></i> Launch
|
366 |
+
</button>
|
367 |
+
<button class="btn-action bg-gray-700 hover:bg-gray-600 text-gray-300 text-xs px-3 py-1 rounded-full transition-all">
|
368 |
+
<i class="fas fa-info-circle mr-1"></i> Details
|
369 |
+
</button>
|
370 |
+
</div>
|
371 |
`;
|
372 |
+
|
373 |
+
// Add click event to the whole card
|
374 |
+
toolCard.addEventListener('click', (e) => {
|
375 |
+
// Don't trigger if clicking on buttons (they have their own handlers)
|
376 |
+
if (!e.target.closest('button')) {
|
377 |
+
showToolDetails(tool);
|
378 |
+
}
|
379 |
+
});
|
380 |
+
|
381 |
+
// Add click events to buttons
|
382 |
+
const buttons = toolCard.querySelectorAll('button');
|
383 |
+
buttons[0].addEventListener('click', (e) => {
|
384 |
+
e.stopPropagation();
|
385 |
+
showToolDetails(tool);
|
386 |
+
});
|
387 |
+
|
388 |
+
buttons[1].addEventListener('click', (e) => {
|
389 |
+
e.stopPropagation();
|
390 |
+
alert(`Detailed information about ${tool.name}\n\nCategory: ${tool.category}\nPower Level: ${tool.power}\nRating: ${tool.rating} ★\nAI Cores: ${tool.cores}\n\n${tool.description}`);
|
391 |
+
});
|
392 |
+
|
393 |
toolsContainer.appendChild(toolCard);
|
394 |
});
|
395 |
visibleToolsCounter.textContent = visibleTools;
|
|
|
417 |
tool.description.toLowerCase().includes(searchTerm) ||
|
418 |
tool.category.toLowerCase().includes(searchTerm)
|
419 |
);
|
420 |
+
visibleTools = 50; // Reset visible tools when searching
|
421 |
renderTools(filteredTools);
|
422 |
} else {
|
423 |
+
visibleTools = 50; // Reset visible tools when clearing search
|
424 |
renderTools(allTools);
|
425 |
}
|
426 |
});
|
|
|
434 |
this.querySelector('i').classList.remove('fa-spin');
|
435 |
});
|
436 |
});
|
437 |
+
|
438 |
+
// Make category cards clickable
|
439 |
+
document.querySelectorAll('.grid-cols-6 > div').forEach(card => {
|
440 |
+
card.addEventListener('click', function() {
|
441 |
+
const category = this.querySelector('h3').textContent;
|
442 |
+
const filteredTools = allTools.filter(tool => tool.category === category);
|
443 |
+
visibleTools = 50;
|
444 |
+
renderTools(filteredTools);
|
445 |
+
|
446 |
+
// Scroll to tools section
|
447 |
+
document.getElementById('toolsContainer').scrollIntoView({
|
448 |
+
behavior: 'smooth'
|
449 |
+
});
|
450 |
+
});
|
451 |
+
});
|
452 |
</script>
|
453 |
<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=docto41/deepsite-pro" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
454 |
</html>
|
prompts.txt
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
accompagner d'une armées de 360000 INTELIGENCES ARTIFICIEL les plus puissant je veux creer la copie du site de DeepSite mais en 100000 fois plus rapide , plus performant , plus sofistiqué , plus robotisé , que par systeme de description uniquement avec visuel de la creeation du site , je veux 20000 fois plus d'outil que DeepSite avec toute les derniére technonogie
|
2 |
-
AFFICHER TOUTE +19,995 MORE TOOLS
|
|
|
|
1 |
accompagner d'une armées de 360000 INTELIGENCES ARTIFICIEL les plus puissant je veux creer la copie du site de DeepSite mais en 100000 fois plus rapide , plus performant , plus sofistiqué , plus robotisé , que par systeme de description uniquement avec visuel de la creeation du site , je veux 20000 fois plus d'outil que DeepSite avec toute les derniére technonogie
|
2 |
+
AFFICHER TOUTE +19,995 MORE TOOLS
|
3 |
+
les boutons des tools ne sont pas cliquable et ne fonctionne pas
|