Spaces:
Running
Running
File size: 20,316 Bytes
a244c40 |
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 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Neon Glow Dashboard</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Poppins:wght@300;400;600&display=swap');
:root {
--neon-blue: #0ff0fc;
--neon-pink: #ff2d75;
--neon-purple: #9d00ff;
--dark-bg: #0f0f1a;
}
body {
font-family: 'Poppins', sans-serif;
background-color: var(--dark-bg);
color: white;
overflow-x: hidden;
}
.neon-text-blue {
text-shadow: 0 0 5px var(--neon-blue), 0 0 10px var(--neon-blue);
color: white;
}
.neon-text-pink {
text-shadow: 0 0 5px var(--neon-pink), 0 0 10px var(--neon-pink);
color: white;
}
.neon-border-blue {
box-shadow: 0 0 10px var(--neon-blue), inset 0 0 10px var(--neon-blue);
border: 1px solid var(--neon-blue);
}
.neon-border-pink {
box-shadow: 0 0 10px var(--neon-pink), inset 0 0 10px var(--neon-pink);
border: 1px solid var(--neon-pink);
}
.neon-border-purple {
box-shadow: 0 0 10px var(--neon-purple), inset 0 0 10px var(--neon-purple);
border: 1px solid var(--neon-purple);
}
.glow-hover:hover {
transform: scale(1.02);
transition: all 0.3s ease;
}
.dashboard-card {
backdrop-filter: blur(10px);
background: rgba(15, 15, 26, 0.7);
}
.progress-bar {
height: 6px;
border-radius: 3px;
background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
transition: width 0.5s ease;
}
@keyframes pulse {
0% { opacity: 0.6; }
50% { opacity: 1; }
100% { opacity: 0.6; }
}
.pulse {
animation: pulse 2s infinite;
}
</style>
</head>
<body class="min-h-screen">
<div class="flex h-screen">
<!-- Sidebar -->
<div class="w-64 neon-border-purple p-4 hidden md:block">
<div class="flex items-center justify-center mb-10">
<i class="fas fa-rocket text-3xl neon-text-pink mr-3"></i>
<h1 class="text-2xl font-bold neon-text-blue font-['Orbitron']">NOVA DASH</h1>
</div>
<nav>
<ul class="space-y-4">
<li>
<a href="#" class="flex items-center p-3 rounded-lg neon-border-blue glow-hover">
<i class="fas fa-home mr-3 neon-text-blue"></i>
<span>Dashboard</span>
</a>
</li>
<li>
<a href="#" class="flex items-center p-3 rounded-lg hover:neon-border-pink glow-hover">
<i class="fas fa-chart-line mr-3"></i>
<span>Analytics</span>
</a>
</li>
<li>
<a href="#" class="flex items-center p-3 rounded-lg hover:neon-border-pink glow-hover">
<i class="fas fa-users mr-3"></i>
<span>Users</span>
</a>
</li>
<li>
<a href="#" class="flex items-center p-3 rounded-lg hover:neon-border-pink glow-hover">
<i class="fas fa-cog mr-3"></i>
<span>Settings</span>
</a>
</li>
<li>
<a href="#" class="flex items-center p-3 rounded-lg hover:neon-border-pink glow-hover">
<i class="fas fa-envelope mr-3"></i>
<span>Messages</span>
<span class="ml-auto bg-red-500 text-white text-xs px-2 py-1 rounded-full">3</span>
</a>
</li>
</ul>
</nav>
<div class="mt-20 p-4 neon-border-blue rounded-lg">
<h3 class="text-sm uppercase mb-2 neon-text-blue">System Status</h3>
<div class="flex items-center mb-2">
<div class="w-3 h-3 rounded-full bg-green-500 mr-2 pulse"></div>
<span class="text-sm">All systems operational</span>
</div>
<div class="text-xs opacity-70">Last updated: <span id="update-time">Just now</span></div>
</div>
</div>
<!-- Main Content -->
<div class="flex-1 overflow-y-auto p-6">
<!-- Header -->
<header class="flex justify-between items-center mb-8">
<div class="md:hidden">
<button id="menu-toggle" class="text-2xl">
<i class="fas fa-bars"></i>
</button>
</div>
<h1 class="text-3xl font-bold neon-text-pink font-['Orbitron']">Dashboard</h1>
<div class="flex items-center space-x-4">
<div class="relative">
<i class="fas fa-search absolute left-3 top-1/2 transform -translate-y-1/2"></i>
<input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 bg-gray-900 rounded-lg focus:outline-none focus:neon-border-blue">
</div>
<div class="relative">
<i class="fas fa-bell text-xl cursor-pointer hover:text-pink-400"></i>
<span class="absolute -top-2 -right-2 bg-red-500 text-white text-xs px-1.5 py-0.5 rounded-full">2</span>
</div>
<div class="flex items-center space-x-2 cursor-pointer">
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-8 h-8 rounded-full border-2 border-blue-400">
<span>Jane Doe</span>
</div>
</div>
</header>
<!-- Stats Cards -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
<div class="dashboard-card p-6 rounded-xl neon-border-blue glow-hover">
<div class="flex justify-between items-start">
<div>
<p class="text-sm opacity-70">Total Revenue</p>
<h3 class="text-2xl font-bold mt-2">$24,780</h3>
<p class="text-green-400 text-sm mt-1">+12.5% from last month</p>
</div>
<i class="fas fa-dollar-sign text-3xl opacity-30"></i>
</div>
<div class="mt-4">
<div class="progress-bar" style="width: 75%"></div>
</div>
</div>
<div class="dashboard-card p-6 rounded-xl neon-border-pink glow-hover">
<div class="flex justify-between items-start">
<div>
<p class="text-sm opacity-70">Active Users</p>
<h3 class="text-2xl font-bold mt-2">1,429</h3>
<p class="text-green-400 text-sm mt-1">+8.2% from last week</p>
</div>
<i class="fas fa-users text-3xl opacity-30"></i>
</div>
<div class="mt-4">
<div class="progress-bar" style="width: 60%"></div>
</div>
</div>
<div class="dashboard-card p-6 rounded-xl neon-border-purple glow-hover">
<div class="flex justify-between items-start">
<div>
<p class="text-sm opacity-70">New Orders</p>
<h3 class="text-2xl font-bold mt-2">356</h3>
<p class="text-red-400 text-sm mt-1">-3.1% from yesterday</p>
</div>
<i class="fas fa-shopping-cart text-3xl opacity-30"></i>
</div>
<div class="mt-4">
<div class="progress-bar" style="width: 45%"></div>
</div>
</div>
<div class="dashboard-card p-6 rounded-xl neon-border-blue glow-hover">
<div class="flex justify-between items-start">
<div>
<p class="text-sm opacity-70">Server Load</p>
<h3 class="text-2xl font-bold mt-2">68%</h3>
<p class="text-yellow-400 text-sm mt-1">Stable</p>
</div>
<i class="fas fa-server text-3xl opacity-30"></i>
</div>
<div class="mt-4">
<div class="progress-bar" style="width: 68%"></div>
</div>
</div>
</div>
<!-- Charts Section -->
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8">
<div class="dashboard-card p-6 rounded-xl neon-border-pink">
<div class="flex justify-between items-center mb-6">
<h2 class="text-xl font-bold">Revenue Overview</h2>
<div class="flex space-x-2">
<button class="px-3 py-1 text-xs bg-gray-800 rounded-lg">Week</button>
<button class="px-3 py-1 text-xs bg-blue-500 rounded-lg">Month</button>
<button class="px-3 py-1 text-xs bg-gray-800 rounded-lg">Year</button>
</div>
</div>
<div class="h-64" id="revenue-chart"></div>
</div>
<div class="dashboard-card p-6 rounded-xl neon-border-purple">
<div class="flex justify-between items-center mb-6">
<h2 class="text-xl font-bold">User Activity</h2>
<div class="flex space-x-2">
<button class="px-3 py-1 text-xs bg-gray-800 rounded-lg">Daily</button>
<button class="px-3 py-1 text-xs bg-purple-500 rounded-lg">Weekly</button>
</div>
</div>
<div class="h-64" id="activity-chart"></div>
</div>
</div>
<!-- Recent Activity -->
<div class="dashboard-card p-6 rounded-xl neon-border-blue mb-8">
<h2 class="text-xl font-bold mb-6">Recent Activity</h2>
<div class="overflow-x-auto">
<table class="w-full">
<thead>
<tr class="text-left border-b border-gray-700">
<th class="pb-3">User</th>
<th class="pb-3">Action</th>
<th class="pb-3">Time</th>
<th class="pb-3">Status</th>
</tr>
</thead>
<tbody>
<tr class="border-b border-gray-700 hover:bg-gray-800/50">
<td class="py-4 flex items-center">
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User" class="w-8 h-8 rounded-full mr-3">
<span>John Smith</span>
</td>
<td>Updated profile settings</td>
<td>2 minutes ago</td>
<td><span class="px-2 py-1 bg-green-500/20 text-green-400 rounded-full text-xs">Completed</span></td>
</tr>
<tr class="border-b border-gray-700 hover:bg-gray-800/50">
<td class="py-4 flex items-center">
<img src="https://randomuser.me/api/portraits/women/68.jpg" alt="User" class="w-8 h-8 rounded-full mr-3">
<span>Sarah Johnson</span>
</td>
<td>Processed order #4582</td>
<td>15 minutes ago</td>
<td><span class="px-2 py-1 bg-blue-500/20 text-blue-400 rounded-full text-xs">Pending</span></td>
</tr>
<tr class="border-b border-gray-700 hover:bg-gray-800/50">
<td class="py-4 flex items-center">
<img src="https://randomuser.me/api/portraits/men/75.jpg" alt="User" class="w-8 h-8 rounded-full mr-3">
<span>Michael Chen</span>
</td>
<td>Submitted support ticket</td>
<td>1 hour ago</td>
<td><span class="px-2 py-1 bg-yellow-500/20 text-yellow-400 rounded-full text-xs">In Progress</span></td>
</tr>
<tr class="hover:bg-gray-800/50">
<td class="py-4 flex items-center">
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-8 h-8 rounded-full mr-3">
<span>Jane Doe</span>
</td>
<td>Created new dashboard</td>
<td>3 hours ago</td>
<td><span class="px-2 py-1 bg-green-500/20 text-green-400 rounded-full text-xs">Completed</span></td>
</tr>
</tbody>
</table>
</div>
<div class="mt-4 text-center">
<button class="px-4 py-2 bg-blue-500/20 text-blue-400 rounded-lg hover:bg-blue-500/30">View All Activity</button>
</div>
</div>
<!-- Quick Actions -->
<div class="grid grid-cols-2 md:grid-cols-4 gap-4 mb-8">
<button class="dashboard-card p-4 rounded-lg neon-border-blue flex flex-col items-center justify-center glow-hover h-32">
<i class="fas fa-plus text-2xl mb-2 neon-text-blue"></i>
<span>New Project</span>
</button>
<button class="dashboard-card p-4 rounded-lg neon-border-pink flex flex-col items-center justify-center glow-hover h-32">
<i class="fas fa-upload text-2xl mb-2 neon-text-pink"></i>
<span>Upload Files</span>
</button>
<button class="dashboard-card p-4 rounded-lg neon-border-purple flex flex-col items-center justify-center glow-hover h-32">
<i class="fas fa-chart-pie text-2xl mb-2 neon-text-purple"></i>
<span>Generate Report</span>
</button>
<button class="dashboard-card p-4 rounded-lg neon-border-blue flex flex-col items-center justify-center glow-hover h-32">
<i class="fas fa-cog text-2xl mb-2 neon-text-blue"></i>
<span>Settings</span>
</button>
</div>
</div>
</div>
<script>
// Mobile menu toggle
document.getElementById('menu-toggle').addEventListener('click', function() {
document.querySelector('.w-64').classList.toggle('hidden');
});
// Simulate chart data
function generateChartData(count, min, max) {
return Array.from({length: count}, () => Math.floor(Math.random() * (max - min + 1)) + min);
}
// Simple chart rendering (simplified for this example)
function renderChart(containerId, data, color) {
const container = document.getElementById(containerId);
const height = 200;
const width = container.clientWidth;
const barWidth = width / data.length;
let svg = `<svg width="${width}" height="${height}" viewBox="0 0 ${width} ${height}">`;
data.forEach((value, index) => {
const barHeight = (value / 100) * height;
const x = index * barWidth;
const y = height - barHeight;
svg += `<rect x="${x}" y="${y}" width="${barWidth - 2}" height="${barHeight}" fill="${color}" rx="2" ry="2" />`;
});
svg += `</svg>`;
container.innerHTML = svg;
}
// Initialize charts
document.addEventListener('DOMContentLoaded', function() {
// Revenue chart
const revenueData = generateChartData(12, 20, 90);
renderChart('revenue-chart', revenueData, '#0ff0fc');
// Activity chart
const activityData = generateChartData(7, 30, 100);
renderChart('activity-chart', activityData, '#9d00ff');
// Update time
setInterval(() => {
const now = new Date();
document.getElementById('update-time').textContent = now.toLocaleTimeString();
}, 1000);
});
// Add glow effect on hover for all cards
document.querySelectorAll('.glow-hover').forEach(card => {
card.addEventListener('mouseenter', function() {
if (this.classList.contains('neon-border-blue')) {
this.style.boxShadow = '0 0 20px #0ff0fc, inset 0 0 20px #0ff0fc';
} else if (this.classList.contains('neon-border-pink')) {
this.style.boxShadow = '0 0 20px #ff2d75, inset 0 0 20px #ff2d75';
} else if (this.classList.contains('neon-border-purple')) {
this.style.boxShadow = '0 0 20px #9d00ff, inset 0 0 20px #9d00ff';
}
});
card.addEventListener('mouseleave', function() {
if (this.classList.contains('neon-border-blue')) {
this.style.boxShadow = '0 0 10px #0ff0fc, inset 0 0 10px #0ff0fc';
} else if (this.classList.contains('neon-border-pink')) {
this.style.boxShadow = '0 0 10px #ff2d75, inset 0 0 10px #ff2d75';
} else if (this.classList.contains('neon-border-purple')) {
this.style.boxShadow = '0 0 10px #9d00ff, inset 0 0 10px #9d00ff';
}
});
});
</script>
<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=wesagar/my-own-world" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |