Add 3 files
Browse files- README.md +7 -5
- index.html +456 -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: nexusdash
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: red
|
| 5 |
+
colorTo: red
|
| 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,456 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 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>Interactive Dashboard</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 |
+
/* Custom CSS for animations and effects */
|
| 11 |
+
.card-hover:hover {
|
| 12 |
+
transform: translateY(-5px);
|
| 13 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
.gradient-bg {
|
| 17 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
.progress-ring__circle {
|
| 21 |
+
transition: stroke-dashoffset 0.5s;
|
| 22 |
+
transform: rotate(-90deg);
|
| 23 |
+
transform-origin: 50% 50%;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
@keyframes float {
|
| 27 |
+
0% { transform: translateY(0px); }
|
| 28 |
+
50% { transform: translateY(-10px); }
|
| 29 |
+
100% { transform: translateY(0px); }
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.floating {
|
| 33 |
+
animation: float 3s ease-in-out infinite;
|
| 34 |
+
}
|
| 35 |
+
</style>
|
| 36 |
+
</head>
|
| 37 |
+
<body class="bg-gray-100 font-sans">
|
| 38 |
+
<div class="min-h-screen flex flex-col">
|
| 39 |
+
<!-- Header -->
|
| 40 |
+
<header class="gradient-bg text-white shadow-lg">
|
| 41 |
+
<div class="container mx-auto px-4 py-6 flex justify-between items-center">
|
| 42 |
+
<div class="flex items-center space-x-2">
|
| 43 |
+
<i class="fas fa-rocket text-2xl"></i>
|
| 44 |
+
<h1 class="text-2xl font-bold">NexusDash</h1>
|
| 45 |
+
</div>
|
| 46 |
+
<div class="flex items-center space-x-4">
|
| 47 |
+
<div class="relative">
|
| 48 |
+
<i class="fas fa-bell text-xl cursor-pointer"></i>
|
| 49 |
+
<span class="absolute -top-1 -right-1 h-3 w-3 bg-red-500 rounded-full"></span>
|
| 50 |
+
</div>
|
| 51 |
+
<div class="flex items-center space-x-2">
|
| 52 |
+
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile" class="h-8 w-8 rounded-full">
|
| 53 |
+
<span class="font-medium">Sarah Johnson</span>
|
| 54 |
+
</div>
|
| 55 |
+
</div>
|
| 56 |
+
</div>
|
| 57 |
+
</header>
|
| 58 |
+
|
| 59 |
+
<!-- Main Content -->
|
| 60 |
+
<main class="flex-1 container mx-auto px-4 py-8">
|
| 61 |
+
<div class="grid grid-cols-1 lg:grid-cols-4 gap-6">
|
| 62 |
+
<!-- Sidebar -->
|
| 63 |
+
<aside class="lg:col-span-1 bg-white rounded-xl shadow-md p-6 h-fit sticky top-8">
|
| 64 |
+
<nav>
|
| 65 |
+
<ul class="space-y-3">
|
| 66 |
+
<li>
|
| 67 |
+
<a href="#" class="flex items-center space-x-3 p-3 rounded-lg bg-indigo-50 text-indigo-700 font-medium">
|
| 68 |
+
<i class="fas fa-home"></i>
|
| 69 |
+
<span>Dashboard</span>
|
| 70 |
+
</a>
|
| 71 |
+
</li>
|
| 72 |
+
<li>
|
| 73 |
+
<a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
| 74 |
+
<i class="fas fa-chart-line"></i>
|
| 75 |
+
<span>Analytics</span>
|
| 76 |
+
</a>
|
| 77 |
+
</li>
|
| 78 |
+
<li>
|
| 79 |
+
<a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
| 80 |
+
<i class="fas fa-envelope"></i>
|
| 81 |
+
<span>Messages</span>
|
| 82 |
+
<span class="ml-auto bg-indigo-500 text-white text-xs px-2 py-1 rounded-full">12</span>
|
| 83 |
+
</a>
|
| 84 |
+
</li>
|
| 85 |
+
<li>
|
| 86 |
+
<a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
| 87 |
+
<i class="fas fa-calendar"></i>
|
| 88 |
+
<span>Calendar</span>
|
| 89 |
+
</a>
|
| 90 |
+
</li>
|
| 91 |
+
<li>
|
| 92 |
+
<a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
| 93 |
+
<i class="fas fa-cog"></i>
|
| 94 |
+
<span>Settings</span>
|
| 95 |
+
</a>
|
| 96 |
+
</li>
|
| 97 |
+
</ul>
|
| 98 |
+
</nav>
|
| 99 |
+
|
| 100 |
+
<div class="mt-8">
|
| 101 |
+
<h3 class="text-sm font-semibold text-gray-500 uppercase tracking-wider">Teams</h3>
|
| 102 |
+
<ul class="mt-3 space-y-2">
|
| 103 |
+
<li class="flex items-center">
|
| 104 |
+
<span class="h-2 w-2 bg-green-500 rounded-full mr-2"></span>
|
| 105 |
+
<span class="text-gray-700">Development</span>
|
| 106 |
+
</li>
|
| 107 |
+
<li class="flex items-center">
|
| 108 |
+
<span class="h-2 w-2 bg-blue-500 rounded-full mr-2"></span>
|
| 109 |
+
<span class="text-gray-700">Design</span>
|
| 110 |
+
</li>
|
| 111 |
+
<li class="flex items-center">
|
| 112 |
+
<span class="h-2 w-2 bg-purple-500 rounded-full mr-2"></span>
|
| 113 |
+
<span class="text-gray-700">Marketing</span>
|
| 114 |
+
</li>
|
| 115 |
+
</ul>
|
| 116 |
+
</div>
|
| 117 |
+
</aside>
|
| 118 |
+
|
| 119 |
+
<!-- Main Dashboard -->
|
| 120 |
+
<div class="lg:col-span-3 space-y-6">
|
| 121 |
+
<!-- Welcome Card -->
|
| 122 |
+
<div class="gradient-bg text-white rounded-xl shadow-lg p-6 relative overflow-hidden">
|
| 123 |
+
<div class="absolute -right-10 -top-10 h-32 w-32 bg-white bg-opacity-10 rounded-full"></div>
|
| 124 |
+
<div class="absolute right-0 bottom-0 h-20 w-20 bg-white bg-opacity-10 rounded-full"></div>
|
| 125 |
+
<div class="relative z-10">
|
| 126 |
+
<h2 class="text-2xl font-bold mb-2">Welcome back, Sarah!</h2>
|
| 127 |
+
<p class="mb-6 opacity-90">Here's what's happening with your projects today.</p>
|
| 128 |
+
<button class="bg-white text-indigo-700 px-4 py-2 rounded-lg font-medium hover:bg-opacity-90 transition">
|
| 129 |
+
View Reports
|
| 130 |
+
</button>
|
| 131 |
+
</div>
|
| 132 |
+
<div class="absolute right-10 bottom-0 floating">
|
| 133 |
+
<i class="fas fa-chart-pie text-6xl opacity-20"></i>
|
| 134 |
+
</div>
|
| 135 |
+
</div>
|
| 136 |
+
|
| 137 |
+
<!-- Stats Cards -->
|
| 138 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
|
| 139 |
+
<div class="bg-white rounded-xl shadow-md p-6 card-hover transition">
|
| 140 |
+
<div class="flex justify-between items-start">
|
| 141 |
+
<div>
|
| 142 |
+
<p class="text-gray-500">Total Revenue</p>
|
| 143 |
+
<h3 class="text-2xl font-bold mt-1">$24,780</h3>
|
| 144 |
+
<p class="text-green-500 text-sm mt-2 flex items-center">
|
| 145 |
+
<i class="fas fa-arrow-up mr-1"></i> 12% from last month
|
| 146 |
+
</p>
|
| 147 |
+
</div>
|
| 148 |
+
<div class="bg-green-100 p-3 rounded-full">
|
| 149 |
+
<i class="fas fa-dollar-sign text-green-600"></i>
|
| 150 |
+
</div>
|
| 151 |
+
</div>
|
| 152 |
+
</div>
|
| 153 |
+
|
| 154 |
+
<div class="bg-white rounded-xl shadow-md p-6 card-hover transition">
|
| 155 |
+
<div class="flex justify-between items-start">
|
| 156 |
+
<div>
|
| 157 |
+
<p class="text-gray-500">New Users</p>
|
| 158 |
+
<h3 class="text-2xl font-bold mt-1">1,245</h3>
|
| 159 |
+
<p class="text-blue-500 text-sm mt-2 flex items-center">
|
| 160 |
+
<i class="fas fa-arrow-up mr-1"></i> 8% from last month
|
| 161 |
+
</p>
|
| 162 |
+
</div>
|
| 163 |
+
<div class="bg-blue-100 p-3 rounded-full">
|
| 164 |
+
<i class="fas fa-users text-blue-600"></i>
|
| 165 |
+
</div>
|
| 166 |
+
</div>
|
| 167 |
+
</div>
|
| 168 |
+
|
| 169 |
+
<div class="bg-white rounded-xl shadow-md p-6 card-hover transition">
|
| 170 |
+
<div class="flex justify-between items-start">
|
| 171 |
+
<div>
|
| 172 |
+
<p class="text-gray-500">Active Projects</p>
|
| 173 |
+
<h3 class="text-2xl font-bold mt-1">14</h3>
|
| 174 |
+
<p class="text-purple-500 text-sm mt-2 flex items-center">
|
| 175 |
+
<i class="fas fa-arrow-down mr-1"></i> 2% from last month
|
| 176 |
+
</p>
|
| 177 |
+
</div>
|
| 178 |
+
<div class="bg-purple-100 p-3 rounded-full">
|
| 179 |
+
<i class="fas fa-tasks text-purple-600"></i>
|
| 180 |
+
</div>
|
| 181 |
+
</div>
|
| 182 |
+
</div>
|
| 183 |
+
</div>
|
| 184 |
+
|
| 185 |
+
<!-- Projects Table -->
|
| 186 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden">
|
| 187 |
+
<div class="p-6 border-b border-gray-200 flex justify-between items-center">
|
| 188 |
+
<h3 class="text-lg font-semibold">Recent Projects</h3>
|
| 189 |
+
<button class="text-indigo-600 hover:text-indigo-800 text-sm font-medium">
|
| 190 |
+
View All
|
| 191 |
+
</button>
|
| 192 |
+
</div>
|
| 193 |
+
<div class="overflow-x-auto">
|
| 194 |
+
<table class="min-w-full divide-y divide-gray-200">
|
| 195 |
+
<thead class="bg-gray-50">
|
| 196 |
+
<tr>
|
| 197 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Project</th>
|
| 198 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Team</th>
|
| 199 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
|
| 200 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Progress</th>
|
| 201 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Due Date</th>
|
| 202 |
+
</tr>
|
| 203 |
+
</thead>
|
| 204 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
| 205 |
+
<tr class="hover:bg-gray-50">
|
| 206 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 207 |
+
<div class="flex items-center">
|
| 208 |
+
<div class="flex-shrink-0 h-10 w-10 bg-indigo-100 rounded-full flex items-center justify-center">
|
| 209 |
+
<i class="fas fa-mobile-alt text-indigo-600"></i>
|
| 210 |
+
</div>
|
| 211 |
+
<div class="ml-4">
|
| 212 |
+
<div class="text-sm font-medium text-gray-900">Mobile App Redesign</div>
|
| 213 |
+
<div class="text-sm text-gray-500">UI/UX</div>
|
| 214 |
+
</div>
|
| 215 |
+
</div>
|
| 216 |
+
</td>
|
| 217 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 218 |
+
<div class="flex -space-x-2">
|
| 219 |
+
<img class="h-8 w-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/men/32.jpg" alt="">
|
| 220 |
+
<img class="h-8 w-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/women/22.jpg" alt="">
|
| 221 |
+
<img class="h-8 w-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/men/45.jpg" alt="">
|
| 222 |
+
</div>
|
| 223 |
+
</td>
|
| 224 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 225 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span>
|
| 226 |
+
</td>
|
| 227 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 228 |
+
<div class="w-full bg-gray-200 rounded-full h-2">
|
| 229 |
+
<div class="bg-green-500 h-2 rounded-full" style="width: 75%"></div>
|
| 230 |
+
</div>
|
| 231 |
+
</td>
|
| 232 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Jun 15, 2023</td>
|
| 233 |
+
</tr>
|
| 234 |
+
<tr class="hover:bg-gray-50">
|
| 235 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 236 |
+
<div class="flex items-center">
|
| 237 |
+
<div class="flex-shrink-0 h-10 w-10 bg-blue-100 rounded-full flex items-center justify-center">
|
| 238 |
+
<i class="fas fa-globe text-blue-600"></i>
|
| 239 |
+
</div>
|
| 240 |
+
<div class="ml-4">
|
| 241 |
+
<div class="text-sm font-medium text-gray-900">Website Launch</div>
|
| 242 |
+
<div class="text-sm text-gray-500">Development</div>
|
| 243 |
+
</div>
|
| 244 |
+
</div>
|
| 245 |
+
</td>
|
| 246 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 247 |
+
<div class="flex -space-x-2">
|
| 248 |
+
<img class="h-8 w-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/men/12.jpg" alt="">
|
| 249 |
+
<img class="h-8 w-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/women/33.jpg" alt="">
|
| 250 |
+
</div>
|
| 251 |
+
</td>
|
| 252 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 253 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pending</span>
|
| 254 |
+
</td>
|
| 255 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 256 |
+
<div class="w-full bg-gray-200 rounded-full h-2">
|
| 257 |
+
<div class="bg-yellow-500 h-2 rounded-full" style="width: 45%"></div>
|
| 258 |
+
</div>
|
| 259 |
+
</td>
|
| 260 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Jul 2, 2023</td>
|
| 261 |
+
</tr>
|
| 262 |
+
<tr class="hover:bg-gray-50">
|
| 263 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 264 |
+
<div class="flex items-center">
|
| 265 |
+
<div class="flex-shrink-0 h-10 w-10 bg-purple-100 rounded-full flex items-center justify-center">
|
| 266 |
+
<i class="fas fa-bullhorn text-purple-600"></i>
|
| 267 |
+
</div>
|
| 268 |
+
<div class="ml-4">
|
| 269 |
+
<div class="text-sm font-medium text-gray-900">Marketing Campaign</div>
|
| 270 |
+
<div class="text-sm text-gray-500">Marketing</div>
|
| 271 |
+
</div>
|
| 272 |
+
</div>
|
| 273 |
+
</td>
|
| 274 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 275 |
+
<div class="flex -space-x-2">
|
| 276 |
+
<img class="h-8 w-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/women/44.jpg" alt="">
|
| 277 |
+
<img class="h-8 w-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/men/28.jpg" alt="">
|
| 278 |
+
<img class="h-8 w-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/women/15.jpg" alt="">
|
| 279 |
+
</div>
|
| 280 |
+
</td>
|
| 281 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 282 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Delayed</span>
|
| 283 |
+
</td>
|
| 284 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 285 |
+
<div class="w-full bg-gray-200 rounded-full h-2">
|
| 286 |
+
<div class="bg-red-500 h-2 rounded-full" style="width: 30%"></div>
|
| 287 |
+
</div>
|
| 288 |
+
</td>
|
| 289 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 28, 2023</td>
|
| 290 |
+
</tr>
|
| 291 |
+
</tbody>
|
| 292 |
+
</table>
|
| 293 |
+
</div>
|
| 294 |
+
</div>
|
| 295 |
+
|
| 296 |
+
<!-- Charts Section -->
|
| 297 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
|
| 298 |
+
<!-- Line Chart -->
|
| 299 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
| 300 |
+
<div class="flex justify-between items-center mb-6">
|
| 301 |
+
<h3 class="text-lg font-semibold">Revenue Overview</h3>
|
| 302 |
+
<select class="border border-gray-300 rounded-md px-3 py-1 text-sm focus:outline-none focus:ring-2 focus:ring-indigo-500">
|
| 303 |
+
<option>Last 7 days</option>
|
| 304 |
+
<option>Last 30 days</option>
|
| 305 |
+
<option selected>Last 90 days</option>
|
| 306 |
+
</select>
|
| 307 |
+
</div>
|
| 308 |
+
<div class="h-64">
|
| 309 |
+
<canvas id="lineChart"></canvas>
|
| 310 |
+
</div>
|
| 311 |
+
</div>
|
| 312 |
+
|
| 313 |
+
<!-- Doughnut Chart -->
|
| 314 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
| 315 |
+
<div class="flex justify-between items-center mb-6">
|
| 316 |
+
<h3 class="text-lg font-semibold">Traffic Sources</h3>
|
| 317 |
+
<button class="text-indigo-600 hover:text-indigo-800 text-sm font-medium">
|
| 318 |
+
View Details
|
| 319 |
+
</button>
|
| 320 |
+
</div>
|
| 321 |
+
<div class="h-64">
|
| 322 |
+
<canvas id="doughnutChart"></canvas>
|
| 323 |
+
</div>
|
| 324 |
+
</div>
|
| 325 |
+
</div>
|
| 326 |
+
</div>
|
| 327 |
+
</div>
|
| 328 |
+
</main>
|
| 329 |
+
|
| 330 |
+
<!-- Footer -->
|
| 331 |
+
<footer class="bg-white border-t border-gray-200 py-6">
|
| 332 |
+
<div class="container mx-auto px-4">
|
| 333 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 334 |
+
<div class="flex items-center space-x-2 mb-4 md:mb-0">
|
| 335 |
+
<i class="fas fa-rocket text-indigo-600"></i>
|
| 336 |
+
<span class="font-medium">NexusDash</span>
|
| 337 |
+
</div>
|
| 338 |
+
<div class="text-sm text-gray-500">
|
| 339 |
+
© 2023 NexusDash. All rights reserved.
|
| 340 |
+
</div>
|
| 341 |
+
<div class="flex space-x-4 mt-4 md:mt-0">
|
| 342 |
+
<a href="#" class="text-gray-500 hover:text-gray-700">
|
| 343 |
+
<i class="fab fa-twitter"></i>
|
| 344 |
+
</a>
|
| 345 |
+
<a href="#" class="text-gray-500 hover:text-gray-700">
|
| 346 |
+
<i class="fab fa-facebook"></i>
|
| 347 |
+
</a>
|
| 348 |
+
<a href="#" class="text-gray-500 hover:text-gray-700">
|
| 349 |
+
<i class="fab fa-linkedin"></i>
|
| 350 |
+
</a>
|
| 351 |
+
<a href="#" class="text-gray-500 hover:text-gray-700">
|
| 352 |
+
<i class="fab fa-github"></i>
|
| 353 |
+
</a>
|
| 354 |
+
</div>
|
| 355 |
+
</div>
|
| 356 |
+
</div>
|
| 357 |
+
</footer>
|
| 358 |
+
</div>
|
| 359 |
+
|
| 360 |
+
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
| 361 |
+
<script>
|
| 362 |
+
// Initialize charts
|
| 363 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 364 |
+
// Line Chart
|
| 365 |
+
const lineCtx = document.getElementById('lineChart').getContext('2d');
|
| 366 |
+
const lineChart = new Chart(lineCtx, {
|
| 367 |
+
type: 'line',
|
| 368 |
+
data: {
|
| 369 |
+
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'],
|
| 370 |
+
datasets: [{
|
| 371 |
+
label: 'Revenue',
|
| 372 |
+
data: [12000, 19000, 15000, 18000, 22000, 24000],
|
| 373 |
+
borderColor: '#667eea',
|
| 374 |
+
backgroundColor: 'rgba(102, 126, 234, 0.1)',
|
| 375 |
+
borderWidth: 2,
|
| 376 |
+
fill: true,
|
| 377 |
+
tension: 0.4
|
| 378 |
+
}]
|
| 379 |
+
},
|
| 380 |
+
options: {
|
| 381 |
+
responsive: true,
|
| 382 |
+
maintainAspectRatio: false,
|
| 383 |
+
plugins: {
|
| 384 |
+
legend: {
|
| 385 |
+
display: false
|
| 386 |
+
}
|
| 387 |
+
},
|
| 388 |
+
scales: {
|
| 389 |
+
y: {
|
| 390 |
+
beginAtZero: false,
|
| 391 |
+
grid: {
|
| 392 |
+
drawBorder: false
|
| 393 |
+
}
|
| 394 |
+
},
|
| 395 |
+
x: {
|
| 396 |
+
grid: {
|
| 397 |
+
display: false
|
| 398 |
+
}
|
| 399 |
+
}
|
| 400 |
+
}
|
| 401 |
+
}
|
| 402 |
+
});
|
| 403 |
+
|
| 404 |
+
// Doughnut Chart
|
| 405 |
+
const doughnutCtx = document.getElementById('doughnutChart').getContext('2d');
|
| 406 |
+
const doughnutChart = new Chart(doughnutCtx, {
|
| 407 |
+
type: 'doughnut',
|
| 408 |
+
data: {
|
| 409 |
+
labels: ['Direct', 'Organic', 'Referral', 'Social'],
|
| 410 |
+
datasets: [{
|
| 411 |
+
data: [35, 25, 20, 20],
|
| 412 |
+
backgroundColor: [
|
| 413 |
+
'#667eea',
|
| 414 |
+
'#764ba2',
|
| 415 |
+
'#ff9a9e',
|
| 416 |
+
'#fad0c4'
|
| 417 |
+
],
|
| 418 |
+
borderWidth: 0,
|
| 419 |
+
hoverOffset: 10
|
| 420 |
+
}]
|
| 421 |
+
},
|
| 422 |
+
options: {
|
| 423 |
+
responsive: true,
|
| 424 |
+
maintainAspectRatio: false,
|
| 425 |
+
cutout: '70%',
|
| 426 |
+
plugins: {
|
| 427 |
+
legend: {
|
| 428 |
+
position: 'right',
|
| 429 |
+
}
|
| 430 |
+
}
|
| 431 |
+
}
|
| 432 |
+
});
|
| 433 |
+
|
| 434 |
+
// Floating animation for welcome card icon
|
| 435 |
+
const floatingIcon = document.querySelector('.floating');
|
| 436 |
+
floatingIcon.addEventListener('mouseenter', () => {
|
| 437 |
+
floatingIcon.style.animationPlayState = 'paused';
|
| 438 |
+
});
|
| 439 |
+
floatingIcon.addEventListener('mouseleave', () => {
|
| 440 |
+
floatingIcon.style.animationPlayState = 'running';
|
| 441 |
+
});
|
| 442 |
+
|
| 443 |
+
// Card hover effects
|
| 444 |
+
const cards = document.querySelectorAll('.card-hover');
|
| 445 |
+
cards.forEach(card => {
|
| 446 |
+
card.addEventListener('mouseenter', () => {
|
| 447 |
+
card.classList.add('shadow-lg');
|
| 448 |
+
});
|
| 449 |
+
card.addEventListener('mouseleave', () => {
|
| 450 |
+
card.classList.remove('shadow-lg');
|
| 451 |
+
});
|
| 452 |
+
});
|
| 453 |
+
});
|
| 454 |
+
</script>
|
| 455 |
+
<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=jkind/nexusdash" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 456 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
clear
|