Spaces:
Running
Running
Add 2 files
Browse files- README.md +7 -5
- index.html +393 -19
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: nirmitai
|
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,393 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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>NirmitAI - AI Image Generator</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 |
+
.dark-card {
|
11 |
+
background: rgba(15, 23, 42, 0.9);
|
12 |
+
border-radius: 16px;
|
13 |
+
border: 1px solid rgba(255, 255, 255, 0.05);
|
14 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
15 |
+
}
|
16 |
+
|
17 |
+
.darker-bg {
|
18 |
+
background: linear-gradient(135deg, #0b1120, #1e293b);
|
19 |
+
}
|
20 |
+
|
21 |
+
.btn-subtle {
|
22 |
+
transition: all 0.3s ease;
|
23 |
+
}
|
24 |
+
|
25 |
+
.btn-subtle:hover {
|
26 |
+
transform: translateY(-1px);
|
27 |
+
}
|
28 |
+
|
29 |
+
.image-placeholder {
|
30 |
+
background: linear-gradient(45deg, #1e293b, #334155);
|
31 |
+
display: flex;
|
32 |
+
align-items: center;
|
33 |
+
justify-content: center;
|
34 |
+
color: #64748b;
|
35 |
+
font-weight: bold;
|
36 |
+
}
|
37 |
+
|
38 |
+
.nav-link {
|
39 |
+
position: relative;
|
40 |
+
}
|
41 |
+
|
42 |
+
.nav-link::after {
|
43 |
+
content: '';
|
44 |
+
position: absolute;
|
45 |
+
width: 0;
|
46 |
+
height: 2px;
|
47 |
+
bottom: 0;
|
48 |
+
left: 0;
|
49 |
+
background-color: #818cf8;
|
50 |
+
transition: width 0.3s ease;
|
51 |
+
}
|
52 |
+
|
53 |
+
.nav-link:hover::after {
|
54 |
+
width: 100%;
|
55 |
+
}
|
56 |
+
|
57 |
+
@keyframes pulse {
|
58 |
+
0%, 100% {
|
59 |
+
opacity: 1;
|
60 |
+
}
|
61 |
+
50% {
|
62 |
+
opacity: 0.7;
|
63 |
+
}
|
64 |
+
}
|
65 |
+
|
66 |
+
.animate-pulse {
|
67 |
+
animation: pulse 2s infinite;
|
68 |
+
}
|
69 |
+
|
70 |
+
.coming-soon {
|
71 |
+
background: rgba(30, 41, 59, 0.7);
|
72 |
+
display: flex;
|
73 |
+
align-items: center;
|
74 |
+
justify-content: center;
|
75 |
+
min-height: 300px;
|
76 |
+
border-radius: 16px;
|
77 |
+
color: white;
|
78 |
+
font-size: 2rem;
|
79 |
+
font-weight: bold;
|
80 |
+
}
|
81 |
+
|
82 |
+
/* New styles for prompt box */
|
83 |
+
.prompt-container {
|
84 |
+
background: linear-gradient(135deg, #4f46e5, #7c3aed);
|
85 |
+
border-radius: 16px;
|
86 |
+
padding: 2rem;
|
87 |
+
transition: all 0.5s ease;
|
88 |
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
|
89 |
+
}
|
90 |
+
|
91 |
+
.hero-section {
|
92 |
+
display: flex;
|
93 |
+
flex-direction: column;
|
94 |
+
align-items: center;
|
95 |
+
}
|
96 |
+
|
97 |
+
.hero-content {
|
98 |
+
display: flex;
|
99 |
+
width: 100%;
|
100 |
+
max-width: 1200px;
|
101 |
+
gap: 2rem;
|
102 |
+
transition: all 0.5s ease;
|
103 |
+
}
|
104 |
+
|
105 |
+
.prompt-box {
|
106 |
+
flex: 1;
|
107 |
+
min-width: 0;
|
108 |
+
transition: all 0.5s ease;
|
109 |
+
}
|
110 |
+
|
111 |
+
.image-result-container {
|
112 |
+
flex: 1;
|
113 |
+
min-width: 0;
|
114 |
+
opacity: 0;
|
115 |
+
transform: translateX(50px);
|
116 |
+
transition: all 0.5s ease;
|
117 |
+
display: none;
|
118 |
+
}
|
119 |
+
|
120 |
+
.image-result-container.show {
|
121 |
+
opacity: 1;
|
122 |
+
transform: translateX(0);
|
123 |
+
display: block;
|
124 |
+
}
|
125 |
+
|
126 |
+
.prompt-box.shrink {
|
127 |
+
flex: 0.5;
|
128 |
+
}
|
129 |
+
|
130 |
+
@media (max-width: 768px) {
|
131 |
+
.hero-content {
|
132 |
+
flex-direction: column;
|
133 |
+
}
|
134 |
+
|
135 |
+
.prompt-box.shrink {
|
136 |
+
flex: 1;
|
137 |
+
}
|
138 |
+
|
139 |
+
.image-result-container {
|
140 |
+
transform: translateX(0);
|
141 |
+
}
|
142 |
+
}
|
143 |
+
</style>
|
144 |
+
</head>
|
145 |
+
<body class="darker-bg min-h-screen text-gray-100 font-sans">
|
146 |
+
<!-- Navbar -->
|
147 |
+
<nav class="dark-card mx-auto max-w-7xl px-4 py-4 mt-4">
|
148 |
+
<div class="flex justify-between items-center">
|
149 |
+
<div class="flex items-center space-x-2">
|
150 |
+
<i class="fas fa-robot text-3xl text-indigo-400"></i>
|
151 |
+
<span class="text-2xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-400 to-blue-500">NirmitAI</span>
|
152 |
+
</div>
|
153 |
+
|
154 |
+
<div class="hidden md:flex space-x-8">
|
155 |
+
<a href="#services" class="nav-link px-3 py-2">Services</a>
|
156 |
+
<a href="#courses" class="nav-link px-3 py-2">Courses</a>
|
157 |
+
<a href="#community" class="nav-link px-3 py-2">Community</a>
|
158 |
+
<button class="btn-subtle bg-indigo-600 hover:bg-indigo-700 px-6 py-2 rounded-full font-medium">Sign In</button>
|
159 |
+
</div>
|
160 |
+
|
161 |
+
<button class="md:hidden text-2xl">
|
162 |
+
<i class="fas fa-bars"></i>
|
163 |
+
</button>
|
164 |
+
</div>
|
165 |
+
</nav>
|
166 |
+
|
167 |
+
<!-- Hero Section -->
|
168 |
+
<section class="hero-section max-w-7xl mx-auto px-4 py-16 md:py-24">
|
169 |
+
<div class="hero-content">
|
170 |
+
<div class="prompt-box prompt-container">
|
171 |
+
<h3 class="text-xl font-bold mb-4 text-center text-white">Create Stunning AI Art</h3>
|
172 |
+
|
173 |
+
<div class="mb-4">
|
174 |
+
<label class="block text-sm font-medium mb-2 text-white">Describe your image</label>
|
175 |
+
<textarea id="prompt-input" class="w-full bg-white/10 border border-white/20 rounded-lg px-4 py-3 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-white" rows="3" placeholder="A futuristic cityscape at sunset with flying cars..."></textarea>
|
176 |
+
</div>
|
177 |
+
|
178 |
+
<div class="grid grid-cols-2 gap-4 mb-4">
|
179 |
+
<div>
|
180 |
+
<label class="block text-sm font-medium mb-2 text-white">Style</label>
|
181 |
+
<select class="w-full bg-white/10 border border-white/20 rounded-lg px-4 py-2 text-white focus:outline-none focus:ring-2 focus:ring-white">
|
182 |
+
<option>Digital Art</option>
|
183 |
+
<option>Photorealistic</option>
|
184 |
+
<option>Watercolor</option>
|
185 |
+
</select>
|
186 |
+
</div>
|
187 |
+
<div>
|
188 |
+
<label class="block text-sm font-medium mb-2 text-white">Aspect Ratio</label>
|
189 |
+
<select class="w-full bg-white/10 border border-white/20 rounded-lg px-4 py-2 text-white focus:outline-none focus:ring-2 focus:ring-white">
|
190 |
+
<option>Square (1:1)</option>
|
191 |
+
<option>Landscape (16:9)</option>
|
192 |
+
<option>Portrait (9:16)</option>
|
193 |
+
</select>
|
194 |
+
</div>
|
195 |
+
</div>
|
196 |
+
|
197 |
+
<button id="generate-btn" class="w-full btn-subtle bg-white hover:bg-white/90 text-indigo-600 py-3 rounded-lg font-bold mb-4 flex items-center justify-center">
|
198 |
+
<i class="fas fa-magic mr-2"></i> Generate Image
|
199 |
+
</button>
|
200 |
+
|
201 |
+
<button id="download-btn" class="w-full bg-white/10 hover:bg-white/20 py-3 rounded-lg font-bold hidden flex items-center justify-center text-white">
|
202 |
+
<i class="fas fa-download mr-2"></i> Download Image
|
203 |
+
</button>
|
204 |
+
</div>
|
205 |
+
|
206 |
+
<div id="image-result-container" class="image-result-container dark-card p-6 rounded-2xl">
|
207 |
+
<div id="image-result" class="image-placeholder rounded-xl overflow-hidden h-full w-full">
|
208 |
+
<img id="generated-image" class="w-full h-full object-cover hidden">
|
209 |
+
<p id="placeholder-text" class="text-center">Your generated image will appear here</p>
|
210 |
+
</div>
|
211 |
+
</div>
|
212 |
+
</div>
|
213 |
+
</section>
|
214 |
+
|
215 |
+
<!-- Services Section -->
|
216 |
+
<section id="services" class="max-w-7xl mx-auto px-4 py-16">
|
217 |
+
<div class="text-center mb-16">
|
218 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-4">Our <span class="bg-clip-text text-transparent bg-gradient-to-r from-blue-400 to-indigo-500">AI Services</span></h2>
|
219 |
+
<p class="text-xl text-gray-300">Create stunning AI with our powerful tools</p>
|
220 |
+
</div>
|
221 |
+
|
222 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
223 |
+
<div class="dark-card p-8 rounded-2xl hover:bg-slate-800/50 transition-all duration-300">
|
224 |
+
<div class="w-14 h-14 bg-indigo-500/20 rounded-xl flex items-center justify-center mb-6">
|
225 |
+
<i class="fas fa-image text-2xl text-indigo-400"></i>
|
226 |
+
</div>
|
227 |
+
<h3 class="text-xl font-bold mb-3">Image Generation</h3>
|
228 |
+
<p class="text-gray-300 mb-4">Create stunning visuals from text prompts with our state-of-the-art AI models.</p>
|
229 |
+
</div>
|
230 |
+
|
231 |
+
<div class="dark-card p-8 rounded-2xl hover:bg-slate-800/50 transition-all duration-300">
|
232 |
+
<div class="w-14 h-14 bg-blue-500/20 rounded-xl flex items-center justify-center mb-6">
|
233 |
+
<i class="fas fa-globe text-2xl text-blue-400"></i>
|
234 |
+
</div>
|
235 |
+
<h3 class="text-xl font-bold mb-3">Website Generation</h3>
|
236 |
+
<p class="text-gray-300 mb-4">Generate complete one-page websites from simple descriptions using AI.</p>
|
237 |
+
</div>
|
238 |
+
|
239 |
+
<div class="dark-card p-8 rounded-2xl hover:bg-slate-800/50 transition-all duration-300">
|
240 |
+
<div class="w-14 h-14 bg-pink-500/20 rounded-xl flex items-center justify-center mb-6">
|
241 |
+
<i class="fas fa-brain text-2xl text-pink-400"></i>
|
242 |
+
</div>
|
243 |
+
<h3 class="text-xl font-bold mb-3">AI Consulting</h3>
|
244 |
+
<p class="text-gray-300 mb-4">Get expert guidance on implementing AI solutions for your business needs.</p>
|
245 |
+
</div>
|
246 |
+
</div>
|
247 |
+
</section>
|
248 |
+
|
249 |
+
<!-- Courses Section -->
|
250 |
+
<section id="courses" class="max-w-7xl mx-auto px-4 py-16 bg-slate-800/50 rounded-3xl my-8">
|
251 |
+
<div class="text-center mb-16">
|
252 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-4">AI <span class="bg-clip-text text-transparent bg-gradient-to-r from-amber-400 to-orange-500">Courses</span></h2>
|
253 |
+
</div>
|
254 |
+
|
255 |
+
<div class="coming-soon">
|
256 |
+
<h3>Coming Soon</h3>
|
257 |
+
</div>
|
258 |
+
</section>
|
259 |
+
|
260 |
+
<!-- Community Section -->
|
261 |
+
<section id="community" class="max-w-7xl mx-auto px-4 py-16">
|
262 |
+
<div class="text-center mb-16">
|
263 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-4">AI <span class="bg-clip-text text-transparent bg-gradient-to-r from-green-400 to-teal-500">Community</span></h2>
|
264 |
+
<p class="text-xl text-gray-300">Join our growing community of AI enthusiasts and creators</p>
|
265 |
+
</div>
|
266 |
+
|
267 |
+
<div class="coming-soon">
|
268 |
+
<h3>Coming Soon</h3>
|
269 |
+
</div>
|
270 |
+
</section>
|
271 |
+
|
272 |
+
<!-- Footer -->
|
273 |
+
<footer class="bg-slate-900/80 mt-16">
|
274 |
+
<div class="max-w-7xl mx-auto px-4 py-12">
|
275 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-12">
|
276 |
+
<div>
|
277 |
+
<div class="flex items-center space-x-2 mb-4">
|
278 |
+
<i class="fas fa-robot text-3xl text-indigo-400"></i>
|
279 |
+
<span class="text-2xl font-bold">NirmitAI</span>
|
280 |
+
</div>
|
281 |
+
<p class="text-gray-400 mb-4">Empowering creativity through artificial intelligence.</p>
|
282 |
+
</div>
|
283 |
+
|
284 |
+
<div>
|
285 |
+
<h3 class="text-lg font-bold mb-4">Services</h3>
|
286 |
+
<ul class="space-y-2">
|
287 |
+
<li><a href="#" class="text-gray-400 hover:text-white">AI Image Generation</a></li>
|
288 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Website Generation</a></li>
|
289 |
+
<li><a href="#" class="text-gray-400 hover:text-white">AI Consulting</a></li>
|
290 |
+
</ul>
|
291 |
+
</div>
|
292 |
+
|
293 |
+
<div>
|
294 |
+
<h3 class="text-lg font-bold mb-4">Company</h3>
|
295 |
+
<ul class="space-y-2">
|
296 |
+
<li><a href="#" class="text-gray-400 hover:text-white">About Us</a></li>
|
297 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Careers</a></li>
|
298 |
+
</ul>
|
299 |
+
</div>
|
300 |
+
|
301 |
+
<div>
|
302 |
+
<h3 class="text-lg font-bold mb-4">Support</h3>
|
303 |
+
<ul class="space-y-2">
|
304 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Contact Us</a></li>
|
305 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Help Center</a></li>
|
306 |
+
</ul>
|
307 |
+
</div>
|
308 |
+
</div>
|
309 |
+
|
310 |
+
<div class="border-t border-slate-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
|
311 |
+
<p class="text-slate-500 mb-4 md:mb-0">© 2023 NirmitAI. All rights reserved.</p>
|
312 |
+
</div>
|
313 |
+
</div>
|
314 |
+
</footer>
|
315 |
+
|
316 |
+
<script>
|
317 |
+
document.addEventListener('DOMContentLoaded', function() {
|
318 |
+
// Image generation demo functionality
|
319 |
+
const generateBtn = document.getElementById('generate-btn');
|
320 |
+
const promptInput = document.getElementById('prompt-input');
|
321 |
+
const imageResult = document.getElementById('image-result');
|
322 |
+
const generatedImage = document.getElementById('generated-image');
|
323 |
+
const placeholderText = document.getElementById('placeholder-text');
|
324 |
+
const downloadBtn = document.getElementById('download-btn');
|
325 |
+
const imageResultContainer = document.getElementById('image-result-container');
|
326 |
+
const promptBox = document.querySelector('.prompt-box');
|
327 |
+
const heroContent = document.querySelector('.hero-content');
|
328 |
+
|
329 |
+
// Sample AI-generated images for demo
|
330 |
+
const sampleImages = [
|
331 |
+
'https://source.unsplash.com/random/600x600/?ai,art,futuristic',
|
332 |
+
'https://source.unsplash.com/random/600x600/?ai,art,fantasy',
|
333 |
+
'https://source.unsplash.com/random/600x600/?ai,art,sci-fi',
|
334 |
+
'https://source.unsplash.com/random/600x600/?ai,art,cyberpunk',
|
335 |
+
'https://source.unsplash.com/random/600x600/?ai,art,surreal'
|
336 |
+
];
|
337 |
+
|
338 |
+
generateBtn.addEventListener('click', function() {
|
339 |
+
const prompt = promptInput.value.trim();
|
340 |
+
|
341 |
+
if (!prompt) {
|
342 |
+
alert('Please enter a prompt to generate an image');
|
343 |
+
return;
|
344 |
+
}
|
345 |
+
|
346 |
+
// Show loading state
|
347 |
+
generateBtn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Generating...';
|
348 |
+
generateBtn.disabled = true;
|
349 |
+
|
350 |
+
// Show the image container with animation
|
351 |
+
imageResultContainer.classList.add('show');
|
352 |
+
promptBox.classList.add('shrink');
|
353 |
+
heroContent.style.gap = '1rem';
|
354 |
+
|
355 |
+
// Simulate API call delay
|
356 |
+
setTimeout(function() {
|
357 |
+
// Show the image container
|
358 |
+
placeholderText.classList.add('hidden');
|
359 |
+
|
360 |
+
// Get a random sample image
|
361 |
+
const randomImage = sampleImages[Math.floor(Math.random() * sampleImages.length)];
|
362 |
+
generatedImage.src = randomImage;
|
363 |
+
generatedImage.classList.remove('hidden');
|
364 |
+
|
365 |
+
// Show download button
|
366 |
+
downloadBtn.classList.remove('hidden');
|
367 |
+
|
368 |
+
// Reset generate button
|
369 |
+
generateBtn.innerHTML = '<i class="fas fa-magic mr-2"></i> Generate Image';
|
370 |
+
generateBtn.disabled = false;
|
371 |
+
}, 2000);
|
372 |
+
});
|
373 |
+
|
374 |
+
// Download functionality
|
375 |
+
downloadBtn.addEventListener('click', function() {
|
376 |
+
// In a real app, this would download the actual generated image
|
377 |
+
alert('In a real application, this would download your generated image');
|
378 |
+
});
|
379 |
+
|
380 |
+
// Smooth scrolling for navigation links
|
381 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
382 |
+
anchor.addEventListener('click', function (e) {
|
383 |
+
e.preventDefault();
|
384 |
+
|
385 |
+
document.querySelector(this.getAttribute('href')).scrollIntoView({
|
386 |
+
behavior: 'smooth'
|
387 |
+
});
|
388 |
+
});
|
389 |
+
});
|
390 |
+
});
|
391 |
+
</script>
|
392 |
+
<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=sumitbondd/nirmitai" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
393 |
+
</html>
|