AIASDigital commited on
Commit
7a2dc13
Β·
verified Β·
1 Parent(s): 1e2f0b0

build me a front end app with a log in portal that i can link my n8n automations from

Browse files
Files changed (3) hide show
  1. README.md +7 -4
  2. dashboard.html +325 -0
  3. index.html +153 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Autoflow Nexus
3
- emoji: πŸ“‰
4
- colorFrom: pink
5
  colorTo: green
 
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: AutoFlow Nexus πŸ”—
3
+ colorFrom: purple
 
4
  colorTo: green
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
dashboard.html ADDED
@@ -0,0 +1,325 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>Dashboard - AutoFlow Nexus</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://unpkg.com/feather-icons"></script>
11
+ <style>
12
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
13
+ * {
14
+ font-family: 'Inter', sans-serif;
15
+ }
16
+ .gradient-text {
17
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
18
+ -webkit-background-clip: text;
19
+ -webkit-text-fill-color: transparent;
20
+ background-clip: text;
21
+ }
22
+ .sidebar {
23
+ background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
24
+ }
25
+ .card-hover {
26
+ transition: all 0.3s ease;
27
+ }
28
+ .card-hover:hover {
29
+ transform: translateY(-5px);
30
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
31
+ }
32
+ .stat-card {
33
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
34
+ }
35
+ </style>
36
+ </head>
37
+ <body class="bg-gray-900 text-white min-h-screen">
38
+ <div class="flex">
39
+ <!-- Sidebar -->
40
+ <div class="sidebar w-64 min-h-screen fixed hidden md:block">
41
+ <div class="p-6">
42
+ <div class="flex items-center space-x-3 mb-8">
43
+ <div class="w-8 h-8 rounded-full bg-gradient-to-r from-purple-500 to-blue-600 flex items-center justify-center">
44
+ <i data-feather="zap" class="w-4 h-4 text-white"></i>
45
+ </div>
46
+ <h1 class="text-xl font-bold gradient-text">AutoFlow Nexus</h1>
47
+ </div>
48
+
49
+ <nav class="space-y-2">
50
+ <a href="#" class="flex items-center space-x-3 p-3 rounded-lg bg-gray-800 text-white">
51
+ <i data-feather="layout" class="w-5 h-5"></i>
52
+ <span>Dashboard</span>
53
+ </a>
54
+ <a href="#" class="flex items-center space-x-3 p-3 rounded-lg text-gray-400 hover:bg-gray-800 hover:text-white transition">
55
+ <i data-feather="settings" class="w-5 h-5"></i>
56
+ <span>Workflows</span>
57
+ </a>
58
+ <a href="#" class="flex items-center space-x-3 p-3 rounded-lg text-gray-400 hover:bg-gray-800 hover:text-white transition">
59
+ <i data-feather="link" class="w-5 h-5"></i>
60
+ <span>Connections</span>
61
+ </a>
62
+ <a href="#" class="flex items-center space-x-3 p-3 rounded-lg text-gray-400 hover:bg-gray-800 hover:text-white transition">
63
+ <i data-feather="bar-chart" class="w-5 h-5"></i>
64
+ <span>Analytics</span>
65
+ </a>
66
+ <a href="#" class="flex items-center space-x-3 p-3 rounded-lg text-gray-400 hover:bg-gray-800 hover:text-white transition">
67
+ <i data-feather="users" class="w-5 h-5"></i>
68
+ <span>Team</span>
69
+ </a>
70
+ </nav>
71
+
72
+ <div class="mt-8 pt-6 border-t border-gray-700">
73
+ <a href="#" class="flex items-center space-x-3 p-3 rounded-lg text-gray-400 hover:bg-gray-800 hover:text-white transition">
74
+ <i data-feather="log-out" class="w-5 h-5"></i>
75
+ <span>Sign Out</span>
76
+ </a>
77
+ </div>
78
+ </div>
79
+ </div>
80
+
81
+ <!-- Main Content -->
82
+ <div class="flex-1 md:ml-64">
83
+ <!-- Header -->
84
+ <header class="bg-gray-800 border-b border-gray-700 p-4">
85
+ <div class="flex items-center justify-between">
86
+ <div class="flex items-center space-x-4">
87
+ <button class="md:hidden">
88
+ <i data-feather="menu" class="w-6 h-6"></i>
89
+ </button>
90
+ <h2 class="text-xl font-semibold">Dashboard</h2>
91
+ </div>
92
+ <div class="flex items-center space-x-4">
93
+ <button class="p-2 rounded-lg hover:bg-gray-700 transition">
94
+ <i data-feather="bell" class="w-5 h-5"></i>
95
+ </button>
96
+ <div class="w-8 h-8 rounded-full bg-gradient-to-r from-purple-500 to-blue-600 flex items-center justify-center">
97
+ <i data-feather="user" class="w-4 h-4 text-white"></i>
98
+ </div>
99
+ </div>
100
+ </div>
101
+ </header>
102
+
103
+ <!-- Stats -->
104
+ <div class="p-6 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
105
+ <div class="stat-card rounded-xl p-6 text-white">
106
+ <div class="flex items-center justify-between mb-4">
107
+ <h3 class="text-sm font-semibold">Active Workflows</h3>
108
+ <i data-feather="activity" class="w-5 h-5"></i>
109
+ </div>
110
+ <p class="text-2xl font-bold">24</p>
111
+ <p class="text-sm opacity-80">+5 from last week</p>
112
+ </div>
113
+
114
+ <div class="bg-gray-800 rounded-xl p-6 card-hover">
115
+ <div class="flex items-center justify-between mb-4">
116
+ <h3 class="text-sm font-semibold">Total Runs</h3>
117
+ <i data-feather="play" class="w-5 h-5 text-blue-400"></i>
118
+ </div>
119
+ <p class="text-2xl font-bold">1,248</p>
120
+ <p class="text-sm text-gray-400">This month</p>
121
+ </div>
122
+
123
+ <div class="bg-gray-800 rounded-xl p-6 card-hover">
124
+ <div class="flex items-center justify-between mb-4">
125
+ <h3 class="text-sm font-semibold">Success Rate</h3>
126
+ <i data-feather="check-circle" class="w-5 h-5 text-green-400"></i>
127
+ </div>
128
+ <p class="text-2xl font-bold">98.7%</p>
129
+ <p class="text-sm text-gray-400">Excellent performance</p>
130
+ </div>
131
+
132
+ <div class="bg-gray-800 rounded-xl p-6 card-hover">
133
+ <div class="flex items-center justify-between mb-4">
134
+ <h3 class="text-sm font-semibold">Avg. Runtime</h3>
135
+ <i data-feather="clock" class="w-5 h-5 text-yellow-400"></i>
136
+ </div>
137
+ <p class="text-2xl font-bold">2.4s</p>
138
+ <p class="text-sm text-gray-400">Per workflow</p>
139
+ </div>
140
+ </div>
141
+
142
+ <!-- Recent Workflows -->
143
+ <div class="p-6">
144
+ <div class="bg-gray-800 rounded-xl p-6">
145
+ <div class="flex items-center justify-between mb-6">
146
+ <h3 class="text-lg font-semibold">Recent Workflows</h3>
147
+ <button class="px-4 py-2 bg-purple-600 rounded-lg hover:bg-purple-700 transition">
148
+ <i data-feather="plus" class="w-4 h-4 mr-2 inline"></i>
149
+ New Workflow
150
+ </button>
151
+ </div>
152
+
153
+ <div class="overflow-x-auto">
154
+ <table class="w-full">
155
+ <thead>
156
+ <tr class="text-left text-gray-400 text-sm">
157
+ <th class="pb-4">Workflow</th>
158
+ <th class="pb-4">Status</th>
159
+ <th class="pb-4">Last Run</th>
160
+ <th class="pb-4">Actions</th>
161
+ </tr>
162
+ </thead>
163
+ <tbody class="divide-y divide-gray-700">
164
+ <tr>
165
+ <td class="py-4">
166
+ <div class="flex items-center space-x-3">
167
+ <div class="w-8 h-8 rounded bg-blue-500 flex items-center justify-center">
168
+ <i data-feather="database" class="w-4 h-4 text-white"></i>
169
+ </div>
170
+ <div>
171
+ <p class="font-medium">Data Sync</p>
172
+ <p class="text-sm text-gray-400">Google Sheets to Airtable</p>
173
+ </div>
174
+ </div>
175
+ </td>
176
+ <td class="py-4">
177
+ <span class="px-2 py-1 bg-green-900 text-green-300 rounded-full text-xs">Active</span>
178
+ </td>
179
+ <td class="py-4">
180
+ <p class="text-sm">2 hours ago</p>
181
+ </td>
182
+ <td class="py-4">
183
+ <div class="flex space-x-2">
184
+ <button class="p-2 rounded hover:bg-gray-700 transition">
185
+ <i data-feather="play" class="w-4 h-4"></i>
186
+ </button>
187
+ <button class="p-2 rounded hover:bg-gray-700 transition">
188
+ <i data-feather="edit" class="w-4 h-4"></i>
189
+ </button>
190
+ </div>
191
+ </td>
192
+ </tr>
193
+
194
+ <tr>
195
+ <td class="py-4">
196
+ <div class="flex items-center space-x-3">
197
+ <div class="w-8 h-8 rounded bg-purple-500 flex items-center justify-center">
198
+ <i data-feather="mail" class="w-4 h-4 text-white"></i>
199
+ </div>
200
+ <div>
201
+ <p class="font-medium">Email Notifications</p>
202
+ <p class="text-sm text-gray-400">Slack to Email</p>
203
+ </div>
204
+ </div>
205
+ </td>
206
+ <td class="py-4">
207
+ <span class="px-2 py-1 bg-green-900 text-green-300 rounded-full text-xs">Active</span>
208
+ </td>
209
+ <td class="py-4">
210
+ <p class="text-sm">5 hours ago</p>
211
+ </td>
212
+ <td class="py-4">
213
+ <div class="flex space-x-2">
214
+ <button class="p-2 rounded hover:bg-gray-700 transition">
215
+ <i data-feather="play" class="w-4 h-4"></i>
216
+ </button>
217
+ <button class="p-2 rounded hover:bg-gray-700 transition">
218
+ <i data-feather="edit" class="w-4 h-4"></i>
219
+ </button>
220
+ </div>
221
+ </td>
222
+ </tr>
223
+
224
+ <tr>
225
+ <td class="py-4">
226
+ <div class="flex items-center space-x-3">
227
+ <div class="w-8 h-8 rounded bg-yellow-500 flex items-center justify-center">
228
+ <i data-feather="cloud" class="w-4 h-4 text-white"></i>
229
+ </div>
230
+ <div>
231
+ <p class="font-medium">API Sync</p>
232
+ <p class="text-sm text-gray-400">REST to Webhook</p>
233
+ </div>
234
+ </div>
235
+ </td>
236
+ <td class="py-4">
237
+ <span class="px-2 py-1 bg-gray-700 text-gray-300 rounded-full text-xs">Paused</span>
238
+ </td>
239
+ <td class="py-4">
240
+ <p class="text-sm">1 day ago</p>
241
+ </td>
242
+ <td class="py-4">
243
+ <div class="flex space-x-2">
244
+ <button class="p-2 rounded hover:bg-gray-700 transition">
245
+ <i data-feather="play" class="w-4 h-4"></i>
246
+ </button>
247
+ <button class="p-2 rounded hover:bg-gray-700 transition">
248
+ <i data-feather="edit" class="w-4 h-4"></i>
249
+ </button>
250
+ </div>
251
+ </td>
252
+ </tr>
253
+ </tbody>
254
+ </table>
255
+ </div>
256
+ </div>
257
+ </div>
258
+
259
+ <!-- Quick Actions -->
260
+ <div class="p-6 grid grid-cols-1 md:grid-cols-2 gap-6">
261
+ <div class="bg-gray-800 rounded-xl p-6">
262
+ <h3 class="text-lg font-semibold mb-4">Quick Connect</h3>
263
+ <div class="grid grid-cols-3 gap-4">
264
+ <button class="p-4 bg-gray-700 rounded-lg hover:bg-gray-600 transition flex flex-col items-center">
265
+ <i data-feather="slack" class="w-6 h-6 mb-2 text-purple-400"></i>
266
+ <span class="text-sm">Slack</span>
267
+ </button>
268
+ <button class="p-4 bg-gray-700 rounded-lg hover:bg-gray-600 transition flex flex-col items-center">
269
+ <i data-feather="database" class="w-6 h-6 mb-2 text-blue-400"></i>
270
+ <span class="text-sm">Airtable</span>
271
+ </button>
272
+ <button class="p-4 bg-gray-700 rounded-lg hover:bg-gray-600 transition flex flex-col items-center">
273
+ <i data-feather="mail" class="w-6 h-6 mb-2 text-red-400"></i>
274
+ <span class="text-sm">Gmail</span>
275
+ </button>
276
+ </div>
277
+ </div>
278
+
279
+ <div class="bg-gray-800 rounded-xl p-6">
280
+ <h3 class="text-lg font-semibold mb-4">Recent Activity</h3>
281
+ <div class="space-y-4">
282
+ <div class="flex items-center space-x-3">
283
+ <div class="w-8 h-8 rounded-full bg-green-900 flex items-center justify-center">
284
+ <i data-feather="check" class="w-4 h-4 text-green-400"></i>
285
+ </div>
286
+ <div>
287
+ <p class="text-sm">Data Sync completed successfully</p>
288
+ <p class="text-xs text-gray-400">2 hours ago</p>
289
+ </div>
290
+ </div>
291
+ <div class="flex items-center space-x-3">
292
+ <div class="w-8 h-8 rounded-full bg-blue-900 flex items-center justify-center">
293
+ <i data-feather="play" class="w-4 h-4 text-blue-400"></i>
294
+ </div>
295
+ <div>
296
+ <p class="text-sm">Email Notifications started</p>
297
+ <p class="text-xs text-gray-400">5 hours ago</p>
298
+ </div>
299
+ </div>
300
+ <div class="flex items-center space-x-3">
301
+ <div class="w-8 h-8 rounded-full bg-yellow-900 flex items-center justify-center">
302
+ <i data-feather="pause" class="w-4 h-4 text-yellow-400"></i>
303
+ </div>
304
+ <div>
305
+ <p class="text-sm">API Sync was paused</p>
306
+ <p class="text-xs text-gray-400">1 day ago</p>
307
+ </div>
308
+ </div>
309
+ </div>
310
+ </div>
311
+ </div>
312
+ </div>
313
+ </div>
314
+
315
+ <script>
316
+ // Initialize Feather Icons
317
+ feather.replace();
318
+
319
+ // Mobile menu toggle
320
+ document.querySelector('button.md\\:hidden').addEventListener('click', function() {
321
+ document.querySelector('.sidebar').classList.toggle('hidden');
322
+ });
323
+ </script>
324
+ </body>
325
+ </html>
index.html CHANGED
@@ -1,19 +1,154 @@
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>AutoFlow Nexus - Connect Your n8n Automations</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://unpkg.com/feather-icons"></script>
11
+ <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
12
+ <style>
13
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
14
+ * {
15
+ font-family: 'Inter', sans-serif;
16
+ }
17
+ .vanta-bg {
18
+ position: absolute;
19
+ width: 100%;
20
+ height: 100%;
21
+ z-index: -1;
22
+ }
23
+ .glass-effect {
24
+ background: rgba(255, 255, 255, 0.1);
25
+ backdrop-filter: blur(10px);
26
+ -webkit-backdrop-filter: blur(10px);
27
+ border: 1px solid rgba(255, 255, 255, 0.18);
28
+ }
29
+ .gradient-text {
30
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
31
+ -webkit-background-clip: text;
32
+ -webkit-text-fill-color: transparent;
33
+ background-clip: text;
34
+ }
35
+ .btn-primary {
36
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
37
+ transition: all 0.3s ease;
38
+ }
39
+ .btn-primary:hover {
40
+ transform: translateY(-2px);
41
+ box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
42
+ }
43
+ </style>
44
+ </head>
45
+ <body class="min-h-screen flex items-center justify-center bg-gray-900 text-white overflow-hidden">
46
+ <div id="vanta-bg" class="vanta-bg"></div>
47
+
48
+ <div class="container mx-auto px-4 py-12 z-10">
49
+ <div class="max-w-md mx-auto glass-effect rounded-2xl p-8 shadow-2xl">
50
+ <div class="text-center mb-8">
51
+ <div class="flex justify-center mb-4">
52
+ <div class="w-16 h-16 rounded-full bg-gradient-to-r from-purple-500 to-blue-600 flex items-center justify-center">
53
+ <i data-feather="zap" class="w-8 h-8 text-white"></i>
54
+ </div>
55
+ </div>
56
+ <h1 class="text-3xl font-bold gradient-text mb-2">AutoFlow Nexus</h1>
57
+ <p class="text-gray-300">Connect and manage your n8n automations</p>
58
+ </div>
59
+
60
+ <form id="loginForm" class="space-y-6">
61
+ <div>
62
+ <label class="block text-sm font-medium text-gray-300 mb-2">Email</label>
63
+ <div class="relative">
64
+ <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
65
+ <i data-feather="mail" class="h-5 w-5 text-gray-400"></i>
66
+ </div>
67
+ <input type="email" required class="w-full pl-10 pr-3 py-3 bg-gray-800 border border-gray-700 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent outline-none transition" placeholder="[email protected]">
68
+ </div>
69
+ </div>
70
+
71
+ <div>
72
+ <label class="block text-sm font-medium text-gray-300 mb-2">Password</label>
73
+ <div class="relative">
74
+ <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
75
+ <i data-feather="lock" class="h-5 w-5 text-gray-400"></i>
76
+ </div>
77
+ <input type="password" required class="w-full pl-10 pr-3 py-3 bg-gray-800 border border-gray-700 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent outline-none transition" placeholder="β€’β€’β€’β€’β€’β€’β€’β€’">
78
+ </div>
79
+ </div>
80
+
81
+ <div class="flex items-center justify-between">
82
+ <div class="flex items-center">
83
+ <input id="remember-me" type="checkbox" class="h-4 w-4 text-purple-600 focus:ring-purple-500 border-gray-600 rounded">
84
+ <label for="remember-me" class="ml-2 block text-sm text-gray-300">Remember me</label>
85
+ </div>
86
+ <a href="#" class="text-sm text-purple-400 hover:text-purple-300 transition">Forgot password?</a>
87
+ </div>
88
+
89
+ <button type="submit" class="w-full btn-primary py-3 px-4 rounded-lg font-semibold text-white">
90
+ Sign In
91
+ </button>
92
+ </form>
93
+
94
+ <div class="mt-6 text-center">
95
+ <p class="text-gray-400">Don't have an account? <a href="#" class="text-purple-400 hover:text-purple-300 transition font-medium">Get started</a></p>
96
+ </div>
97
+
98
+ <div class="mt-8 pt-6 border-t border-gray-700">
99
+ <div class="flex justify-center space-x-4">
100
+ <button class="p-2 bg-gray-800 rounded-lg hover:bg-gray-700 transition">
101
+ <i data-feather="github" class="w-5 h-5"></i>
102
+ </button>
103
+ <button class="p-2 bg-gray-800 rounded-lg hover:bg-gray-700 transition">
104
+ <i data-feather="google" class="w-5 h-5"></i>
105
+ </button>
106
+ <button class="p-2 bg-gray-800 rounded-lg hover:bg-gray-700 transition">
107
+ <i data-feather="microsoft" class="w-5 h-5"></i>
108
+ </button>
109
+ </div>
110
+ </div>
111
+ </div>
112
+ </div>
113
+
114
+ <script>
115
+ // Initialize Vanta.js background
116
+ VANTA.NET({
117
+ el: "#vanta-bg",
118
+ mouseControls: true,
119
+ touchControls: true,
120
+ gyroControls: false,
121
+ minHeight: 200.00,
122
+ minWidth: 200.00,
123
+ scale: 1.00,
124
+ scaleMobile: 1.00,
125
+ color: 0x764ba2,
126
+ backgroundColor: 0x111827,
127
+ points: 12.00,
128
+ maxDistance: 22.00,
129
+ spacing: 17.00
130
+ });
131
+
132
+ // Form submission handling
133
+ document.getElementById('loginForm').addEventListener('submit', function(e) {
134
+ e.preventDefault();
135
+ // Simulate login process
136
+ const submitBtn = this.querySelector('button[type="submit"]');
137
+ const originalText = submitBtn.textContent;
138
+
139
+ submitBtn.textContent = 'Connecting...';
140
+ submitBtn.disabled = true;
141
+
142
+ setTimeout(() => {
143
+ // Redirect to dashboard (simulated)
144
+ alert('Login successful! Redirecting to dashboard...');
145
+ submitBtn.textContent = originalText;
146
+ submitBtn.disabled = false;
147
+ }, 2000);
148
+ });
149
+
150
+ // Initialize Feather Icons
151
+ feather.replace();
152
+ </script>
153
+ </body>
154
  </html>