toolbox-haven / index.html
LTTEAM's picture
giao diện tổng để chứa các công cụ con bên trong giao diện tổng. (sử dụng python để code)
b81acae verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Toolbox Haven - Dashboard</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.vanta-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
.glass-card {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.tool-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
</style>
</head>
<body class="bg-gray-900 text-white">
<div id="vanta-bg" class="vanta-bg"></div>
<div class="container mx-auto px-4 py-8">
<!-- Header -->
<header class="flex justify-between items-center mb-12">
<div class="flex items-center space-x-3">
<i data-feather="tool" class="w-8 h-8 text-blue-400"></i>
<h1 class="text-3xl font-bold bg-gradient-to-r from-blue-400 to-purple-500 bg-clip-text text-transparent">Toolbox Haven</h1>
</div>
<nav class="hidden md:flex space-x-6">
<a href="#" class="hover:text-blue-400 transition">Dashboard</a>
<a href="#" class="hover:text-blue-400 transition">Tools</a>
<a href="#" class="hover:text-blue-400 transition">Settings</a>
<a href="#" class="hover:text-blue-400 transition">Docs</a>
</nav>
<button class="md:hidden">
<i data-feather="menu" class="w-6 h-6"></i>
</button>
</header>
<!-- Main Content -->
<main>
<!-- Welcome Banner -->
<div class="glass-card rounded-xl p-6 mb-8">
<div class="flex flex-col md:flex-row justify-between items-start md:items-center">
<div>
<h2 class="text-2xl font-bold mb-2">Welcome to your Toolbox!</h2>
<p class="text-gray-300 max-w-2xl">Manage all your essential tools in one place. Create new workflows, analyze data, and automate tasks with our powerful utilities.</p>
</div>
<button class="mt-4 md:mt-0 bg-gradient-to-r from-blue-500 to-purple-600 px-6 py-2 rounded-lg font-medium hover:opacity-90 transition">
<i data-feather="plus" class="inline mr-2"></i> Add Tool
</button>
</div>
</div>
<!-- Quick Stats -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
<div class="glass-card rounded-xl p-6">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-400">Active Tools</p>
<p class="text-3xl font-bold">12</p>
</div>
<div class="bg-blue-500 bg-opacity-20 p-3 rounded-lg">
<i data-feather="activity" class="w-6 h-6 text-blue-400"></i>
</div>
</div>
</div>
<div class="glass-card rounded-xl p-6">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-400">Recent Runs</p>
<p class="text-3xl font-bold">47</p>
</div>
<div class="bg-green-500 bg-opacity-20 p-3 rounded-lg">
<i data-feather="clock" class="w-6 h-6 text-green-400"></i>
</div>
</div>
</div>
<div class="glass-card rounded-xl p-6">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-400">Storage Used</p>
<p class="text-3xl font-bold">34%</p>
</div>
<div class="bg-purple-500 bg-opacity-20 p-3 rounded-lg">
<i data-feather="hard-drive" class="w-6 h-6 text-purple-400"></i>
</div>
</div>
</div>
</div>
<!-- Tools Grid -->
<h3 class="text-xl font-bold mb-6">Your Tools</h3>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Tool Card 1 -->
<div class="glass-card rounded-xl p-6 tool-card transition duration-300 hover:shadow-xl">
<div class="flex justify-between items-start mb-4">
<div class="bg-blue-500 bg-opacity-20 p-3 rounded-lg">
<i data-feather="code" class="w-6 h-6 text-blue-400"></i>
</div>
<span class="text-xs bg-blue-900 bg-opacity-50 px-2 py-1 rounded-full">Python</span>
</div>
<h4 class="font-bold text-lg mb-2">Code Analyzer</h4>
<p class="text-gray-300 text-sm mb-4">Analyze and optimize your Python code with advanced metrics.</p>
<button class="text-blue-400 text-sm font-medium flex items-center">
Open Tool <i data-feather="arrow-right" class="w-4 h-4 ml-1"></i>
</button>
</div>
<!-- Tool Card 2 -->
<div class="glass-card rounded-xl p-6 tool-card transition duration-300 hover:shadow-xl">
<div class="flex justify-between items-start mb-4">
<div class="bg-green-500 bg-opacity-20 p-3 rounded-lg">
<i data-feather="database" class="w-6 h-6 text-green-400"></i>
</div>
<span class="text-xs bg-green-900 bg-opacity-50 px-2 py-1 rounded-full">SQL</span>
</div>
<h4 class="font-bold text-lg mb-2">Query Builder</h4>
<p class="text-gray-300 text-sm mb-4">Visual interface to build and test database queries.</p>
<button class="text-green-400 text-sm font-medium flex items-center">
Open Tool <i data-feather="arrow-right" class="w-4 h-4 ml-1"></i>
</button>
</div>
<!-- Tool Card 3 -->
<div class="glass-card rounded-xl p-6 tool-card transition duration-300 hover:shadow-xl">
<div class="flex justify-between items-start mb-4">
<div class="bg-purple-500 bg-opacity-20 p-3 rounded-lg">
<i data-feather="bar-chart-2" class="w-6 h-6 text-purple-400"></i>
</div>
<span class="text-xs bg-purple-900 bg-opacity-50 px-2 py-1 rounded-full">Data</span>
</div>
<h4 class="font-bold text-lg mb-2">Data Visualizer</h4>
<p class="text-gray-300 text-sm mb-4">Create beautiful visualizations from your datasets.</p>
<button class="text-purple-400 text-sm font-medium flex items-center">
Open Tool <i data-feather="arrow-right" class="w-4 h-4 ml-1"></i>
</button>
</div>
<!-- Tool Card 4 -->
<div class="glass-card rounded-xl p-6 tool-card transition duration-300 hover:shadow-xl">
<div class="flex justify-between items-start mb-4">
<div class="bg-yellow-500 bg-opacity-20 p-3 rounded-lg">
<i data-feather="cpu" class="w-6 h-6 text-yellow-400"></i>
</div>
<span class="text-xs bg-yellow-900 bg-opacity-50 px-2 py-1 rounded-full">AI</span>
</div>
<h4 class="font-bold text-lg mb-2">Model Trainer</h4>
<p class="text-gray-300 text-sm mb-4">Train machine learning models with custom datasets.</p>
<button class="text-yellow-400 text-sm font-medium flex items-center">
Open Tool <i data-feather="arrow-right" class="w-4 h-4 ml-1"></i>
</button>
</div>
<!-- Tool Card 5 -->
<div class="glass-card rounded-xl p-6 tool-card transition duration-300 hover:shadow-xl">
<div class="flex justify-between items-start mb-4">
<div class="bg-red-500 bg-opacity-20 p-3 rounded-lg">
<i data-feather="shield" class="w-6 h-6 text-red-400"></i>
</div>
<span class="text-xs bg-red-900 bg-opacity-50 px-2 py-1 rounded-full">Security</span>
</div>
<h4 class="font-bold text-lg mb-2">Security Audit</h4>
<p class="text-gray-300 text-sm mb-4">Scan your projects for potential vulnerabilities.</p>
<button class="text-red-400 text-sm font-medium flex items-center">
Open Tool <i data-feather="arrow-right" class="w-4 h-4 ml-1"></i>
</button>
</div>
<!-- Add New Tool Card -->
<div class="border-2 border-dashed border-gray-700 rounded-xl p-6 flex flex-col items-center justify-center hover:border-gray-600 transition cursor-pointer">
<div class="bg-gray-800 bg-opacity-50 p-4 rounded-full mb-4">
<i data-feather="plus" class="w-8 h-8 text-gray-400"></i>
</div>
<h4 class="font-bold text-lg mb-1">Add New Tool</h4>
<p class="text-gray-400 text-sm text-center">Integrate a new utility to your toolbox</p>
</div>
</div>
</main>
<!-- Footer -->
<footer class="mt-16 py-6 border-t border-gray-800">
<div class="flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 text-sm">© 2023 Toolbox Haven. All rights reserved.</p>
<div class="flex space-x-6 mt-4 md:mt-0">
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="github" class="w-5 h-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="twitter" class="w-5 h-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="linkedin" class="w-5 h-5"></i>
</a>
</div>
</div>
</footer>
</div>
<script>
// Initialize Vanta.js globe background
VANTA.GLOBE({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x3a86ff,
backgroundColor: 0x111827,
size: 0.8
});
// Initialize feather icons
feather.replace();
</script>
</body>
</html>