zdhpeter commited on
Commit
0da1f93
·
verified ·
1 Parent(s): 2797d9d

improve it - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +526 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Art
3
- emoji: 🏃
4
- colorFrom: purple
5
- colorTo: yellow
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: art
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: purple
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,526 @@
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>ArtGenius | AI-Powered Art Design</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
+ <script>
10
+ tailwind.config = {
11
+ theme: {
12
+ extend: {
13
+ colors: {
14
+ primary: '#8B5CF6',
15
+ secondary: '#EC4899',
16
+ dark: '#1F2937',
17
+ light: '#F9FAFB'
18
+ }
19
+ }
20
+ }
21
+ }
22
+ </script>
23
+ <style>
24
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
25
+
26
+ body {
27
+ font-family: 'Poppins', sans-serif;
28
+ background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
29
+ color: #f3f4f6;
30
+ min-height: 100vh;
31
+ }
32
+
33
+ .drop-zone {
34
+ border: 2px dashed #8B5CF6;
35
+ border-radius: 1rem;
36
+ transition: all 0.3s ease;
37
+ background: rgba(30, 41, 59, 0.5);
38
+ backdrop-filter: blur(10px);
39
+ }
40
+
41
+ .drop-zone.active {
42
+ border-color: #EC4899;
43
+ background: rgba(139, 92, 246, 0.1);
44
+ }
45
+
46
+ .card {
47
+ background: rgba(30, 41, 59, 0.7);
48
+ border-radius: 1rem;
49
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
50
+ backdrop-filter: blur(10px);
51
+ border: 1px solid rgba(255, 255, 255, 0.1);
52
+ }
53
+
54
+ .card:hover {
55
+ transform: translateY(-5px);
56
+ box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
57
+ }
58
+
59
+ .tool-item {
60
+ transition: all 0.2s ease;
61
+ cursor: grab;
62
+ }
63
+
64
+ .tool-item:active {
65
+ cursor: grabbing;
66
+ }
67
+
68
+ .generated-art {
69
+ transition: all 0.3s ease;
70
+ }
71
+
72
+ .generated-art:hover {
73
+ transform: scale(1.03);
74
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
75
+ }
76
+
77
+ .gradient-text {
78
+ background: linear-gradient(90deg, #8B5CF6 0%, #EC4899 100%);
79
+ -webkit-background-clip: text;
80
+ background-clip: text;
81
+ color: transparent;
82
+ }
83
+
84
+ .nav-link {
85
+ position: relative;
86
+ }
87
+
88
+ .nav-link::after {
89
+ content: '';
90
+ position: absolute;
91
+ bottom: -5px;
92
+ left: 0;
93
+ width: 0;
94
+ height: 2px;
95
+ background: linear-gradient(90deg, #8B5CF6 0%, #EC4899 100%);
96
+ transition: width 0.3s ease;
97
+ }
98
+
99
+ .nav-link:hover::after {
100
+ width: 100%;
101
+ }
102
+
103
+ .animate-fade-in-up {
104
+ animation: fadeInUp 0.8s ease-out forwards;
105
+ opacity: 0;
106
+ transform: translateY(20px);
107
+ }
108
+
109
+ .delay-100 {
110
+ animation-delay: 0.1s;
111
+ }
112
+
113
+ .delay-200 {
114
+ animation-delay: 0.2s;
115
+ }
116
+
117
+ @keyframes fadeInUp {
118
+ to {
119
+ opacity: 1;
120
+ transform: translateY(0);
121
+ }
122
+ }
123
+
124
+ .pulse {
125
+ animation: pulse 2s infinite;
126
+ }
127
+
128
+ @keyframes pulse {
129
+ 0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); }
130
+ 70% { box-shadow: 0 0 0 15px rgba(139, 92, 246, 0); }
131
+ 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
132
+ }
133
+
134
+ .artwork-grid {
135
+ display: grid;
136
+ grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
137
+ gap: 1.5rem;
138
+ }
139
+
140
+ @media (max-width: 768px) {
141
+ .artwork-grid {
142
+ grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
143
+ }
144
+ }
145
+ </style>
146
+ </head>
147
+ <body>
148
+ <!-- Header -->
149
+ <header class="py-4 px-6 md:px-12">
150
+ <div class="container mx-auto flex justify-between items-center">
151
+ <div class="flex items-center space-x-2">
152
+ <div class="w-10 h-10 rounded-full bg-gradient-to-r from-primary to-secondary flex items-center justify-center">
153
+ <i class="fas fa-palette text-white text-xl"></i>
154
+ </div>
155
+ <h1 class="text-2xl font-bold">Art<span class="gradient-text">Genius</span></h1>
156
+ </div>
157
+
158
+ <nav class="hidden md:flex space-x-8">
159
+ <a href="#" class="nav-link font-medium">Home</a>
160
+ <a href="#" class="nav-link font-medium">Gallery</a>
161
+ <a href="#" class="nav-link font-medium">Tools</a>
162
+ <a href="#" class="nav-link font-medium">Pricing</a>
163
+ <a href="#" class="nav-link font-medium">About</a>
164
+ </nav>
165
+
166
+ <div class="flex items-center space-x-4">
167
+ <button class="px-4 py-2 rounded-full bg-primary hover:bg-purple-700 transition-colors">
168
+ <i class="fas fa-sign-in-alt mr-2"></i>Sign In
169
+ </button>
170
+ <button class="md:hidden text-2xl">
171
+ <i class="fas fa-bars"></i>
172
+ </button>
173
+ </div>
174
+ </div>
175
+ </header>
176
+
177
+ <!-- Hero Section -->
178
+ <section class="py-20 px-6 md:px-12">
179
+ <div class="container mx-auto text-center max-w-4xl">
180
+ <h1 class="text-4xl md:text-6xl font-bold mb-6 animate-fade-in-up">Transform Your <span class="gradient-text">Creativity</span> with AI</h1>
181
+ <p class="text-xl text-gray-300 mb-12 max-w-2xl mx-auto animate-fade-in-up delay-100">
182
+ Drag, drop, and create stunning artworks with the power of AI. Integrates with Open Router and Fal for limitless creative possibilities.
183
+ </p>
184
+
185
+ <div class="flex flex-wrap justify-center gap-4 mb-16">
186
+ <button class="px-8 py-3 bg-gradient-to-r from-primary to-secondary rounded-full font-bold hover:opacity-90 transition-opacity">
187
+ Start Creating
188
+ </button>
189
+ <button class="px-8 py-3 bg-gray-800 rounded-full font-bold hover:bg-gray-700 transition-colors">
190
+ View Gallery
191
+ </button>
192
+ </div>
193
+
194
+ <div class="relative">
195
+ <div class="drop-zone p-10 mb-8">
196
+ <div class="flex flex-col items-center justify-center h-64">
197
+ <i class="fas fa-cloud-upload-alt text-4xl text-primary mb-4"></i>
198
+ <h3 class="text-2xl font-bold mb-2">Drag & Drop Here</h3>
199
+ <p class="text-gray-400 mb-4">Images, text, or videos to transform</p>
200
+ <button class="px-6 py-2 bg-gray-700 rounded-full hover:bg-gray-600 transition-colors">
201
+ Or Browse Files
202
+ </button>
203
+ </div>
204
+ </div>
205
+
206
+ <div class="absolute -top-4 left-1/2 transform -translate-x-1/2 bg-gray-800 px-4 py-2 rounded-full text-sm">
207
+ Try it now - it's free!
208
+ </div>
209
+ </div>
210
+ </div>
211
+ </section>
212
+
213
+ <!-- Tools Section -->
214
+ <section class="py-16 px-6 md:px-12 bg-gray-900/50">
215
+ <div class="container mx-auto">
216
+ <h2 class="text-3xl md:text-4xl font-bold text-center mb-4">Creative <span class="gradient-text">Tools</span></h2>
217
+ <p class="text-gray-400 text-center mb-12 max-w-2xl mx-auto">
218
+ Drag these tools onto the canvas to start creating amazing artwork with AI assistance
219
+ </p>
220
+
221
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-6 mb-16">
222
+ <div class="card p-6 text-center tool-item group hover:bg-gray-800/70 transition-all duration-300">
223
+ <div class="w-16 h-16 rounded-full bg-gradient-to-r from-primary to-secondary flex items-center justify-center mx-auto mb-4 group-hover:scale-110 transition-transform">
224
+ <i class="fas fa-image text-2xl text-white"></i>
225
+ </div>
226
+ <h3 class="font-bold text-lg mb-2 group-hover:text-white">Image Generator</h3>
227
+ <p class="text-gray-400 text-sm group-hover:text-gray-300">Create visuals from text prompts</p>
228
+ </div>
229
+
230
+ <div class="card p-6 text-center tool-item">
231
+ <div class="w-16 h-16 rounded-full bg-gradient-to-r from-primary to-secondary flex items-center justify-center mx-auto mb-4">
232
+ <i class="fas fa-text-height text-2xl text-white"></i>
233
+ </div>
234
+ <h3 class="font-bold text-lg mb-2">Text Styling</h3>
235
+ <p class="text-gray-400 text-sm">Transform text into artistic elements</p>
236
+ </div>
237
+
238
+ <div class="card p-6 text-center tool-item">
239
+ <div class="w-16 h-16 rounded-full bg-gradient-to-r from-primary to-secondary flex items-center justify-center mx-auto mb-4">
240
+ <i class="fas fa-video text-2xl text-white"></i>
241
+ </div>
242
+ <h3 class="font-bold text-lg mb-2">Video Effects</h3>
243
+ <p class="text-gray-400 text-sm">Apply AI filters to videos</p>
244
+ </div>
245
+
246
+ <div class="card p-6 text-center tool-item">
247
+ <div class="w-16 h-16 rounded-full bg-gradient-to-r from-primary to-secondary flex items-center justify-center mx-auto mb-4">
248
+ <i class="fas fa-magic text-2xl text-white"></i>
249
+ </div>
250
+ <h3 class="font-bold text-lg mb-2">Style Transfer</h3>
251
+ <p class="text-gray-400 text-sm">Apply artistic styles to your media</p>
252
+ </div>
253
+ </div>
254
+
255
+ <div class="bg-gray-800/50 rounded-2xl p-8 max-w-4xl mx-auto">
256
+ <div class="flex flex-col md:flex-row items-center">
257
+ <div class="md:w-1/2 mb-8 md:mb-0 md:pr-8">
258
+ <h3 class="text-2xl font-bold mb-4">Integrated with <span class="gradient-text">Open Router</span> & <span class="gradient-text">Fal</span></h3>
259
+ <p class="text-gray-300 mb-4">
260
+ Access the most powerful AI models through our seamless integrations. Generate stunning artwork with state-of-the-art technology.
261
+ </p>
262
+ <ul class="space-y-2">
263
+ <li class="flex items-center">
264
+ <i class="fas fa-check-circle text-primary mr-2"></i>
265
+ <span>Real-time generation</span>
266
+ </li>
267
+ <li class="flex items-center">
268
+ <i class="fas fa-check-circle text-primary mr-2"></i>
269
+ <span>Multiple AI models</span>
270
+ </li>
271
+ <li class="flex items-center">
272
+ <i class="fas fa-check-circle text-primary mr-2"></i>
273
+ <span>High-resolution output</span>
274
+ </li>
275
+ </ul>
276
+ </div>
277
+ <div class="md:w-1/2 relative">
278
+ <div class="bg-gray-700 rounded-xl p-4 mb-4">
279
+ <div class="flex justify-between items-center mb-3">
280
+ <div class="flex items-center">
281
+ <div class="w-3 h-3 rounded-full bg-red-500 mr-2"></div>
282
+ <div class="w-3 h-3 rounded-full bg-yellow-500 mr-2"></div>
283
+ <div class="w-3 h-3 rounded-full bg-green-500"></div>
284
+ </div>
285
+ <span class="text-sm text-gray-400">AI Model Console</span>
286
+ </div>
287
+ <div class="bg-gray-900 p-4 rounded">
288
+ <code class="text-green-400 text-sm">
289
+ $ artgen generate --prompt "surreal landscape"<br>
290
+ > Using model: fal-ai/dreamshaper<br>
291
+ > Generating high-res artwork...<br>
292
+ > Artwork generated in 4.2s
293
+ </code>
294
+ </div>
295
+ </div>
296
+ <div class="absolute -right-4 -top-4 bg-gradient-to-r from-primary to-secondary text-white px-4 py-2 rounded-full text-sm font-bold">
297
+ Powered by AI
298
+ </div>
299
+ </div>
300
+ </div>
301
+ </div>
302
+ </div>
303
+ </section>
304
+
305
+ <!-- Gallery Section -->
306
+ <section class="py-16 px-6 md:px-12">
307
+ <div class="container mx-auto">
308
+ <h2 class="text-3xl md:text-4xl font-bold text-center mb-4">AI-Generated <span class="gradient-text">Gallery</span></h2>
309
+ <p class="text-gray-400 text-center mb-12 max-w-2xl mx-auto">
310
+ Explore artwork created by our community using ArtGenius and AI models
311
+ </p>
312
+
313
+ <div class="artwork-grid gap-6">
314
+ <div class="generated-art rounded-xl overflow-hidden group relative">
315
+ <div class="bg-gradient-to-br from-purple-500 to-pink-500 aspect-square"></div>
316
+ <div class="p-4 bg-gray-800 group-hover:bg-gray-700 transition-colors">
317
+ <h4 class="font-bold group-hover:text-primary transition-colors">Surreal Dreamscape</h4>
318
+ <p class="text-gray-400 text-sm group-hover:text-gray-300 transition-colors">Created with Stable Diffusion</p>
319
+ </div>
320
+ <div class="absolute inset-0 bg-black/50 opacity-0 group-hover:opacity-100 flex items-center justify-center transition-opacity">
321
+ <button class="px-4 py-2 bg-primary rounded-full hover:bg-purple-700 transition-colors">
322
+ <i class="fas fa-download mr-2"></i>Download
323
+ </button>
324
+ </div>
325
+ </div>
326
+
327
+ <div class="generated-art rounded-xl overflow-hidden">
328
+ <div class="bg-gradient-to-br from-blue-400 to-teal-500 aspect-square"></div>
329
+ <div class="p-4 bg-gray-800">
330
+ <h4 class="font-bold">Oceanic Abyss</h4>
331
+ <p class="text-gray-400 text-sm">Created with Fal Model</p>
332
+ </div>
333
+ </div>
334
+
335
+ <div class="generated-art rounded-xl overflow-hidden">
336
+ <div class="bg-gradient-to-br from-yellow-400 to-red-500 aspect-square"></div>
337
+ <div class="p-4 bg-gray-800">
338
+ <h4 class="font-bold">Desert Mirage</h4>
339
+ <p class="text-gray-400 text-sm">Created with Open Router</p>
340
+ </div>
341
+ </div>
342
+
343
+ <div class="generated-art rounded-xl overflow-hidden">
344
+ <div class="bg-gradient-to-br from-green-400 to-emerald-600 aspect-square"></div>
345
+ <div class="p-4 bg-gray-800">
346
+ <h4 class="font-bold">Enchanted Forest</h4>
347
+ <p class="text-gray-400 text-sm">Created with DALL-E</p>
348
+ </div>
349
+ </div>
350
+ </div>
351
+
352
+ <div class="text-center mt-12">
353
+ <button class="px-8 py-3 bg-gradient-to-r from-primary to-secondary rounded-full font-bold hover:opacity-90 transition-opacity">
354
+ Explore Full Gallery
355
+ </button>
356
+ </div>
357
+ </div>
358
+ </section>
359
+
360
+ <!-- CTA Section -->
361
+ <section class="py-24 px-6 md:px-12 bg-gradient-to-r from-primary/20 to-secondary/20">
362
+ <div class="container mx-auto text-center max-w-3xl">
363
+ <h2 class="text-4xl md:text-5xl font-bold mb-6">Start Creating <span class="gradient-text">Today</span></h2>
364
+ <p class="text-xl text-gray-300 mb-12 max-w-2xl mx-auto">
365
+ Join thousands of artists and designers transforming their creative process with AI
366
+ </p>
367
+
368
+ <div class="bg-gray-800 rounded-2xl p-8 inline-block">
369
+ <div class="flex flex-col md:flex-row items-center justify-center gap-6">
370
+ <div class="bg-white text-gray-800 font-bold px-6 py-3 rounded-full pulse">
371
+ <i class="fas fa-bolt text-yellow-500 mr-2"></i>Free Forever Plan
372
+ </div>
373
+ <div>
374
+ <p class="text-lg">No credit card required</p>
375
+ <p class="text-gray-400">Get started in seconds</p>
376
+ </div>
377
+ </div>
378
+ </div>
379
+ </div>
380
+ </section>
381
+
382
+ <!-- Footer -->
383
+ <footer class="py-12 px-6 md:px-12 border-t border-gray-800">
384
+ <div class="container mx-auto">
385
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
386
+ <div>
387
+ <div class="flex items-center space-x-2 mb-4">
388
+ <div class="w-8 h-8 rounded-full bg-gradient-to-r from-primary to-secondary flex items-center justify-center">
389
+ <i class="fas fa-palette text-white"></i>
390
+ </div>
391
+ <h2 class="text-xl font-bold">Art<span class="gradient-text">Genius</span></h2>
392
+ </div>
393
+ <p class="text-gray-400 mb-4">
394
+ AI-powered art creation platform for designers, artists, and creatives.
395
+ </p>
396
+ <div class="flex space-x-4">
397
+ <a href="#" class="text-gray-400 hover:text-white transition-colors">
398
+ <i class="fab fa-twitter"></i>
399
+ </a>
400
+ <a href="#" class="text-gray-400 hover:text-white transition-colors">
401
+ <i class="fab fa-instagram"></i>
402
+ </a>
403
+ <a href="#" class="text-gray-400 hover:text-white transition-colors">
404
+ <i class="fab fa-discord"></i>
405
+ </a>
406
+ <a href="#" class="text-gray-400 hover:text-white transition-colors">
407
+ <i class="fab fa-github"></i>
408
+ </a>
409
+ </div>
410
+ </div>
411
+
412
+ <div>
413
+ <h3 class="text-lg font-bold mb-4">Product</h3>
414
+ <ul class="space-y-2">
415
+ <li><a href="#" class="text-gray-400 hover:text-white transition-colors">Features</a></li>
416
+ <li><a href="#" class="text-gray-400 hover:text-white transition-colors">Integrations</a></li>
417
+ <li><a href="#" class="text-gray-400 hover:text-white transition-colors">Pricing</a></li>
418
+ <li><a href="#" class="text-gray-400 hover:text-white transition-colors">Changelog</a></li>
419
+ </ul>
420
+ </div>
421
+
422
+ <div>
423
+ <h3 class="text-lg font-bold mb-4">Resources</h3>
424
+ <ul class="space-y-2">
425
+ <li><a href="#" class="text-gray-400 hover:text-white transition-colors">Documentation</a></li>
426
+ <li><a href="#" class="text-gray-400 hover:text-white transition-colors">Tutorials</a></li>
427
+ <li><a href="#" class="text-gray-400 hover:text-white transition-colors">Blog</a></li>
428
+ <li><a href="#" class="text-gray-400 hover:text-white transition-colors">Community</a></li>
429
+ </ul>
430
+ </div>
431
+
432
+ <div>
433
+ <h3 class="text-lg font-bold mb-4">Subscribe</h3>
434
+ <p class="text-gray-400 mb-4">Get the latest updates and news</p>
435
+ <div class="flex">
436
+ <input type="email" placeholder="Your email" class="bg-gray-800 rounded-l-lg px-4 py-2 w-full focus:outline-none focus:ring-2 focus:ring-primary">
437
+ <button class="bg-primary rounded-r-lg px-4 hover:bg-purple-700 transition-colors">
438
+ <i class="fas fa-paper-plane"></i>
439
+ </button>
440
+ </div>
441
+ </div>
442
+ </div>
443
+
444
+ <div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-400">
445
+ <p>&copy; 2023 ArtGenius. All rights reserved.</p>
446
+ </div>
447
+ </div>
448
+ </footer>
449
+
450
+ <script>
451
+ // Drag and drop functionality
452
+ const dropZone = document.querySelector('.drop-zone');
453
+
454
+ ['dragenter', 'dragover', 'dragleave', 'drop'].forEach(eventName => {
455
+ dropZone.addEventListener(eventName, preventDefaults, false);
456
+ });
457
+
458
+ function preventDefaults(e) {
459
+ e.preventDefault();
460
+ e.stopPropagation();
461
+ }
462
+
463
+ ['dragenter', 'dragover'].forEach(eventName => {
464
+ dropZone.addEventListener(eventName, highlight, false);
465
+ });
466
+
467
+ ['dragleave', 'drop'].forEach(eventName => {
468
+ dropZone.addEventListener(eventName, unhighlight, false);
469
+ });
470
+
471
+ function highlight() {
472
+ dropZone.classList.add('active');
473
+ }
474
+
475
+ function unhighlight() {
476
+ dropZone.classList.remove('active');
477
+ }
478
+
479
+ dropZone.addEventListener('drop', handleDrop, false);
480
+
481
+ function handleDrop(e) {
482
+ const dt = e.dataTransfer;
483
+ const files = dt.files;
484
+
485
+ if (files.length) {
486
+ processFiles(files);
487
+ }
488
+ }
489
+
490
+ function processFiles(files) {
491
+ alert(`Processing ${files.length} file(s)...\n\nThis would be sent to Open Router/Fal for AI processing in a real application.`);
492
+
493
+ // In a real app, you would upload files to your server/AI APIs here
494
+ }
495
+
496
+ // Tool drag functionality
497
+ const toolItems = document.querySelectorAll('.tool-item');
498
+
499
+ toolItems.forEach(item => {
500
+ item.setAttribute('draggable', 'true');
501
+
502
+ item.addEventListener('dragstart', (e) => {
503
+ e.dataTransfer.setData('text/plain', item.querySelector('h3').textContent);
504
+ item.classList.add('opacity-50');
505
+ });
506
+
507
+ item.addEventListener('dragend', () => {
508
+ item.classList.remove('opacity-50');
509
+ });
510
+ });
511
+
512
+ // Drop zone also accepts tools
513
+ dropZone.addEventListener('dragover', (e) => {
514
+ e.preventDefault();
515
+ });
516
+
517
+ dropZone.addEventListener('drop', (e) => {
518
+ e.preventDefault();
519
+ const toolName = e.dataTransfer.getData('text/plain');
520
+ if (toolName) {
521
+ alert(`Adding ${toolName} to canvas...`);
522
+ }
523
+ });
524
+ </script>
525
+ <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=zdhpeter/art" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
526
+ </html>