LukasBe commited on
Commit
756ca76
·
verified ·
1 Parent(s): 724d825

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +361 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Empty Shell Template
3
- emoji: 📈
4
- colorFrom: purple
5
- colorTo: red
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: empty-shell-template
3
+ emoji: 🐳
4
+ colorFrom: green
5
+ colorTo: gray
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,361 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>Enterprise App Shell</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 scrollbar */
11
+ ::-webkit-scrollbar {
12
+ width: 8px;
13
+ height: 8px;
14
+ }
15
+ ::-webkit-scrollbar-track {
16
+ background: #f1f1f1;
17
+ }
18
+ ::-webkit-scrollbar-thumb {
19
+ background: #888;
20
+ border-radius: 4px;
21
+ }
22
+ ::-webkit-scrollbar-thumb:hover {
23
+ background: #555;
24
+ }
25
+
26
+ /* Animation for sidebar items */
27
+ @keyframes fadeIn {
28
+ from { opacity: 0; transform: translateX(-10px); }
29
+ to { opacity: 1; transform: translateX(0); }
30
+ }
31
+
32
+ .sidebar-item {
33
+ animation: fadeIn 0.3s ease-out forwards;
34
+ }
35
+
36
+ /* Responsive breakpoints */
37
+ @media (max-width: 1024px) {
38
+ .sidebar-collapsed {
39
+ width: 80px;
40
+ }
41
+ .sidebar-collapsed .sidebar-text {
42
+ display: none;
43
+ }
44
+ .sidebar-collapsed .logo-text {
45
+ display: none;
46
+ }
47
+ .sidebar-collapsed .expand-icon {
48
+ transform: rotate(180deg);
49
+ }
50
+ }
51
+ </style>
52
+ </head>
53
+ <body class="bg-gray-50 font-sans antialiased">
54
+ <div class="flex h-screen overflow-hidden">
55
+ <!-- Sidebar Navigation -->
56
+ <div id="sidebar" class="sidebar-collapsed bg-white w-64 border-r border-gray-200 flex flex-col transition-all duration-300 ease-in-out">
57
+ <!-- Logo Section -->
58
+ <div class="flex items-center justify-between p-4 border-b border-gray-200">
59
+ <div class="flex items-center space-x-3">
60
+ <div class="w-8 h-8 rounded-md bg-blue-600 flex items-center justify-center">
61
+ <i class="fas fa-cube text-white"></i>
62
+ </div>
63
+ <span class="logo-text text-lg font-semibold text-gray-800">Enterprise</span>
64
+ </div>
65
+ <button id="toggle-sidebar" class="text-gray-500 hover:text-gray-700 focus:outline-none">
66
+ <i class="fas fa-chevron-left expand-icon transition-transform"></i>
67
+ </button>
68
+ </div>
69
+
70
+ <!-- User Profile -->
71
+ <div class="p-4 border-b border-gray-200 flex items-center space-x-3">
72
+ <div class="relative">
73
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-10 h-10 rounded-full object-cover">
74
+ <span class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></span>
75
+ </div>
76
+ <div class="sidebar-text">
77
+ <p class="text-sm font-medium text-gray-800">Sarah Johnson</p>
78
+ <p class="text-xs text-gray-500">Admin</p>
79
+ </div>
80
+ </div>
81
+
82
+ <!-- Primary Navigation -->
83
+ <nav class="flex-1 overflow-y-auto py-2">
84
+ <div class="px-2 space-y-1">
85
+ <a href="#" class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md text-white bg-blue-600">
86
+ <i class="fas fa-home mr-3 text-lg"></i>
87
+ <span class="sidebar-text">Dashboard</span>
88
+ </a>
89
+ <a href="#" class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-700 hover:bg-gray-100">
90
+ <i class="fas fa-chart-line mr-3 text-lg"></i>
91
+ <span class="sidebar-text">Analytics</span>
92
+ </a>
93
+ <a href="#" class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-700 hover:bg-gray-100">
94
+ <i class="fas fa-users mr-3 text-lg"></i>
95
+ <span class="sidebar-text">Customers</span>
96
+ </a>
97
+ <a href="#" class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-700 hover:bg-gray-100">
98
+ <i class="fas fa-shopping-cart mr-3 text-lg"></i>
99
+ <span class="sidebar-text">Orders</span>
100
+ </a>
101
+ <a href="#" class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-700 hover:bg-gray-100">
102
+ <i class="fas fa-box-open mr-3 text-lg"></i>
103
+ <span class="sidebar-text">Inventory</span>
104
+ </a>
105
+ <a href="#" class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-700 hover:bg-gray-100">
106
+ <i class="fas fa-cog mr-3 text-lg"></i>
107
+ <span class="sidebar-text">Settings</span>
108
+ </a>
109
+ </div>
110
+
111
+ <!-- Secondary Navigation -->
112
+ <div class="mt-8 px-2 space-y-1">
113
+ <p class="px-3 text-xs font-semibold text-gray-500 uppercase tracking-wider sidebar-text">Support</p>
114
+ <a href="#" class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-700 hover:bg-gray-100">
115
+ <i class="fas fa-question-circle mr-3 text-lg"></i>
116
+ <span class="sidebar-text">Help Center</span>
117
+ </a>
118
+ <a href="#" class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-700 hover:bg-gray-100">
119
+ <i class="fas fa-envelope mr-3 text-lg"></i>
120
+ <span class="sidebar-text">Contact</span>
121
+ </a>
122
+ </div>
123
+ </nav>
124
+
125
+ <!-- Sidebar Footer -->
126
+ <div class="p-4 border-t border-gray-200">
127
+ <button class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-700 hover:bg-gray-100 w-full">
128
+ <i class="fas fa-sign-out-alt mr-3 text-lg"></i>
129
+ <span class="sidebar-text">Logout</span>
130
+ </button>
131
+ </div>
132
+ </div>
133
+
134
+ <!-- Main Content Area -->
135
+ <div class="flex-1 flex flex-col overflow-hidden">
136
+ <!-- Top Header -->
137
+ <header class="bg-white border-b border-gray-200">
138
+ <div class="flex items-center justify-between px-6 py-3">
139
+ <!-- Search Bar -->
140
+ <div class="flex-1 max-w-md">
141
+ <div class="relative">
142
+ <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
143
+ <i class="fas fa-search text-gray-400"></i>
144
+ </div>
145
+ <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="Search...">
146
+ </div>
147
+ </div>
148
+
149
+ <!-- Right Side Controls -->
150
+ <div class="ml-4 flex items-center space-x-4">
151
+ <!-- Notifications -->
152
+ <button class="p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-500 relative">
153
+ <i class="fas fa-bell text-xl"></i>
154
+ <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span>
155
+ </button>
156
+
157
+ <!-- Messages -->
158
+ <button class="p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-500 relative">
159
+ <i class="fas fa-envelope text-xl"></i>
160
+ <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-blue-500"></span>
161
+ </button>
162
+
163
+ <!-- User Dropdown -->
164
+ <div class="relative">
165
+ <button id="user-menu-button" class="flex items-center space-x-2 focus:outline-none">
166
+ <span class="text-sm font-medium text-gray-700 hidden md:block">Sarah Johnson</span>
167
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-8 h-8 rounded-full">
168
+ </button>
169
+
170
+ <!-- Dropdown Menu -->
171
+ <div id="user-menu" class="hidden absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-10">
172
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Your Profile</a>
173
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Settings</a>
174
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Sign out</a>
175
+ </div>
176
+ </div>
177
+ </div>
178
+ </div>
179
+ </header>
180
+
181
+ <!-- Main Content -->
182
+ <main class="flex-1 overflow-y-auto p-6 bg-gray-50">
183
+ <!-- Page Header -->
184
+ <div class="flex flex-col md:flex-row md:items-center md:justify-between mb-6">
185
+ <div>
186
+ <h1 class="text-2xl font-bold text-gray-800">Dashboard</h1>
187
+ <p class="mt-1 text-sm text-gray-600">Welcome back, Sarah! Here's what's happening today.</p>
188
+ </div>
189
+ <div class="mt-4 md:mt-0">
190
+ <button class="inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
191
+ <i class="fas fa-plus mr-2"></i> New Project
192
+ </button>
193
+ </div>
194
+ </div>
195
+
196
+ <!-- Stats Cards -->
197
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
198
+ <div class="bg-white rounded-lg shadow p-6">
199
+ <div class="flex items-center">
200
+ <div class="p-3 rounded-full bg-blue-100 text-blue-600">
201
+ <i class="fas fa-wallet text-xl"></i>
202
+ </div>
203
+ <div class="ml-4">
204
+ <p class="text-sm font-medium text-gray-500">Total Revenue</p>
205
+ <p class="text-2xl font-semibold text-gray-800">$24,780</p>
206
+ </div>
207
+ </div>
208
+ </div>
209
+ <div class="bg-white rounded-lg shadow p-6">
210
+ <div class="flex items-center">
211
+ <div class="p-3 rounded-full bg-green-100 text-green-600">
212
+ <i class="fas fa-users text-xl"></i>
213
+ </div>
214
+ <div class="ml-4">
215
+ <p class="text-sm font-medium text-gray-500">New Customers</p>
216
+ <p class="text-2xl font-semibold text-gray-800">1,245</p>
217
+ </div>
218
+ </div>
219
+ </div>
220
+ <div class="bg-white rounded-lg shadow p-6">
221
+ <div class="flex items-center">
222
+ <div class="p-3 rounded-full bg-purple-100 text-purple-600">
223
+ <i class="fas fa-shopping-cart text-xl"></i>
224
+ </div>
225
+ <div class="ml-4">
226
+ <p class="text-sm font-medium text-gray-500">Total Orders</p>
227
+ <p class="text-2xl font-semibold text-gray-800">3,845</p>
228
+ </div>
229
+ </div>
230
+ </div>
231
+ <div class="bg-white rounded-lg shadow p-6">
232
+ <div class="flex items-center">
233
+ <div class="p-3 rounded-full bg-yellow-100 text-yellow-600">
234
+ <i class="fas fa-chart-line text-xl"></i>
235
+ </div>
236
+ <div class="ml-4">
237
+ <p class="text-sm font-medium text-gray-500">Conversion</p>
238
+ <p class="text-2xl font-semibold text-gray-800">12.8%</p>
239
+ </div>
240
+ </div>
241
+ </div>
242
+ </div>
243
+
244
+ <!-- Main Content Grid -->
245
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
246
+ <!-- Recent Activity -->
247
+ <div class="lg:col-span-2 bg-white rounded-lg shadow overflow-hidden">
248
+ <div class="px-6 py-4 border-b border-gray-200">
249
+ <h2 class="text-lg font-medium text-gray-900">Recent Activity</h2>
250
+ </div>
251
+ <div class="divide-y divide-gray-200">
252
+ <!-- Activity Item -->
253
+ <div class="p-6">
254
+ <div class="flex items-start">
255
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User" class="w-10 h-10 rounded-full">
256
+ <div class="ml-4">
257
+ <div class="flex items-center">
258
+ <p class="text-sm font-medium text-gray-900">John Smith</p>
259
+ <span class="ml-2 text-xs text-gray-500">2 hours ago</span>
260
+ </div>
261
+ <p class="mt-1 text-sm text-gray-600">Completed the project setup for the new client portal.</p>
262
+ <div class="mt-2 flex space-x-2">
263
+ <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800">Project</span>
264
+ <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">Completed</span>
265
+ </div>
266
+ </div>
267
+ </div>
268
+ </div>
269
+ <!-- Activity Item -->
270
+ <div class="p-6">
271
+ <div class="flex items-start">
272
+ <img src="https://randomuser.me/api/portraits/women/28.jpg" alt="User" class="w-10 h-10 rounded-full">
273
+ <div class="ml-4">
274
+ <div class="flex items-center">
275
+ <p class="text-sm font-medium text-gray-900">Emily Wilson</p>
276
+ <span class="ml-2 text-xs text-gray-500">4 hours ago</span>
277
+ </div>
278
+ <p class="mt-1 text-sm text-gray-600">Submitted the quarterly financial report for review.</p>
279
+ <div class="mt-2 flex space-x-2">
280
+ <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-purple-100 text-purple-800">Finance</span>
281
+ <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800">Pending</span>
282
+ </div>
283
+ </div>
284
+ </div>
285
+ </div>
286
+ </div>
287
+ <div class="px-6 py-3 bg-gray-50 text-right">
288
+ <a href="#" class="text-sm font-medium text-blue-600 hover:text-blue-500">View all activity</a>
289
+ </div>
290
+ </div>
291
+
292
+ <!-- Quick Actions -->
293
+ <div class="bg-white rounded-lg shadow overflow-hidden">
294
+ <div class="px-6 py-4 border-b border-gray-200">
295
+ <h2 class="text-lg font-medium text-gray-900">Quick Actions</h2>
296
+ </div>
297
+ <div class="p-6 grid grid-cols-2 gap-4">
298
+ <button class="flex flex-col items-center justify-center p-4 rounded-lg border border-gray-200 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-blue-500">
299
+ <div class="p-3 rounded-full bg-blue-100 text-blue-600 mb-2">
300
+ <i class="fas fa-file-invoice text-xl"></i>
301
+ </div>
302
+ <span class="text-sm font-medium text-gray-700">New Invoice</span>
303
+ </button>
304
+ <button class="flex flex-col items-center justify-center p-4 rounded-lg border border-gray-200 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-blue-500">
305
+ <div class="p-3 rounded-full bg-green-100 text-green-600 mb-2">
306
+ <i class="fas fa-user-plus text-xl"></i>
307
+ </div>
308
+ <span class="text-sm font-medium text-gray-700">Add Client</span>
309
+ </button>
310
+ <button class="flex flex-col items-center justify-center p-4 rounded-lg border border-gray-200 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-blue-500">
311
+ <div class="p-3 rounded-full bg-purple-100 text-purple-600 mb-2">
312
+ <i class="fas fa-tasks text-xl"></i>
313
+ </div>
314
+ <span class="text-sm font-medium text-gray-700">New Task</span>
315
+ </button>
316
+ <button class="flex flex-col items-center justify-center p-4 rounded-lg border border-gray-200 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-blue-500">
317
+ <div class="p-3 rounded-full bg-yellow-100 text-yellow-600 mb-2">
318
+ <i class="fas fa-calendar-plus text-xl"></i>
319
+ </div>
320
+ <span class="text-sm font-medium text-gray-700">Schedule</span>
321
+ </button>
322
+ </div>
323
+ </div>
324
+ </div>
325
+ </main>
326
+ </div>
327
+ </div>
328
+
329
+ <script>
330
+ // Toggle sidebar
331
+ document.getElementById('toggle-sidebar').addEventListener('click', function() {
332
+ const sidebar = document.getElementById('sidebar');
333
+ sidebar.classList.toggle('sidebar-collapsed');
334
+ });
335
+
336
+ // Toggle user dropdown
337
+ document.getElementById('user-menu-button').addEventListener('click', function() {
338
+ const menu = document.getElementById('user-menu');
339
+ menu.classList.toggle('hidden');
340
+ });
341
+
342
+ // Close dropdown when clicking outside
343
+ document.addEventListener('click', function(event) {
344
+ const userMenu = document.getElementById('user-menu');
345
+ const userButton = document.getElementById('user-menu-button');
346
+
347
+ if (!userButton.contains(event.target) && !userMenu.contains(event.target)) {
348
+ userMenu.classList.add('hidden');
349
+ }
350
+ });
351
+
352
+ // Add animation delay to sidebar items
353
+ document.addEventListener('DOMContentLoaded', function() {
354
+ const sidebarItems = document.querySelectorAll('.sidebar-item');
355
+ sidebarItems.forEach((item, index) => {
356
+ item.style.animationDelay = `${index * 0.05}s`;
357
+ });
358
+ });
359
+ </script>
360
+ <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=LukasBe/empty-shell-template" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
361
+ </html>