Spaces:
Running
Running
Add 2 files
Browse files- index.html +403 -483
- prompts.txt +2 -1
index.html
CHANGED
|
@@ -3,558 +3,478 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<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 |
-
@keyframes pulse {
|
| 11 |
-
0%, 100% { opacity: 1; }
|
| 12 |
-
50% { opacity: 0.5; }
|
| 13 |
-
}
|
| 14 |
-
.typing-indicator::after {
|
| 15 |
-
content: '...';
|
| 16 |
-
animation: typing 1.5s infinite;
|
| 17 |
-
}
|
| 18 |
-
@keyframes typing {
|
| 19 |
-
0% { content: '.'; }
|
| 20 |
-
33% { content: '..'; }
|
| 21 |
-
66% { content: '...'; }
|
| 22 |
-
}
|
| 23 |
-
.message-enter {
|
| 24 |
-
animation: messageEnter 0.3s ease-out;
|
| 25 |
-
}
|
| 26 |
-
@keyframes messageEnter {
|
| 27 |
-
from { transform: translateY(10px); opacity: 0; }
|
| 28 |
-
to { transform: translateY(0); opacity: 1; }
|
| 29 |
-
}
|
| 30 |
.gradient-bg {
|
| 31 |
-
background: linear-gradient(135deg, #6e8efb, #a777e3);
|
| 32 |
}
|
| 33 |
-
.
|
| 34 |
-
display: none;
|
| 35 |
-
}
|
| 36 |
-
.website-preview {
|
| 37 |
border: 2px dashed #a777e3;
|
| 38 |
min-height: 300px;
|
| 39 |
-
background-color: #
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
}
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
|
|
|
|
|
|
|
|
|
| 45 |
}
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
}
|
| 50 |
</style>
|
| 51 |
</head>
|
| 52 |
-
<body class="bg-gray-50
|
| 53 |
<!-- Header -->
|
| 54 |
<header class="gradient-bg text-white shadow-lg">
|
| 55 |
-
<div class="container mx-auto px-4 py-
|
| 56 |
-
<div class="flex
|
| 57 |
-
<div class="
|
| 58 |
-
<i class="fas fa-
|
|
|
|
| 59 |
</div>
|
| 60 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
</div>
|
| 62 |
-
<nav class="hidden md:flex space-x-6">
|
| 63 |
-
<a href="#" class="hover:text-white/80 transition">Home</a>
|
| 64 |
-
<a href="#" class="hover:text-white/80 transition">AI Chat</a>
|
| 65 |
-
<a href="#" class="hover:text-white/80 transition">Website Gen</a>
|
| 66 |
-
<a href="#" class="hover:text-white/80 transition">Pricing</a>
|
| 67 |
-
</nav>
|
| 68 |
-
<button class="md:hidden text-xl">
|
| 69 |
-
<i class="fas fa-bars"></i>
|
| 70 |
-
</button>
|
| 71 |
</div>
|
| 72 |
</header>
|
| 73 |
|
| 74 |
-
<!--
|
| 75 |
-
<
|
| 76 |
-
<
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
<div id="chat-content" class="flex flex-col h-full">
|
| 84 |
-
<!-- Welcome Message -->
|
| 85 |
-
<div class="bg-white rounded-xl shadow-md p-6 mb-6 message-enter">
|
| 86 |
-
<div class="flex items-start space-x-3">
|
| 87 |
-
<div class="flex-shrink-0 w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center">
|
| 88 |
-
<i class="fas fa-robot text-purple-600"></i>
|
| 89 |
-
</div>
|
| 90 |
-
<div>
|
| 91 |
-
<h2 class="font-bold text-lg">Hello! I'm DeepSite</h2>
|
| 92 |
-
<p class="text-gray-600 mt-1">I'm your AI assistant. Ask me anything, from creative writing to technical explanations. How can I help you today?</p>
|
| 93 |
-
<div class="mt-3 flex flex-wrap gap-2">
|
| 94 |
-
<button class="px-3 py-1.5 bg-gray-100 hover:bg-gray-200 rounded-full text-sm transition">Explain quantum computing</button>
|
| 95 |
-
<button class="px-3 py-1.5 bg-gray-100 hover:bg-gray-200 rounded-full text-sm transition">Write a poem about AI</button>
|
| 96 |
-
<button class="px-3 py-1.5 bg-gray-100 hover:bg-gray-200 rounded-full text-sm transition">Help me debug code</button>
|
| 97 |
-
</div>
|
| 98 |
-
</div>
|
| 99 |
</div>
|
| 100 |
</div>
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
placeholder="Message DeepSite..."
|
| 115 |
-
class="w-full px-4 py-3 pr-12 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent resize-none max-h-32"
|
| 116 |
-
style="min-height: 50px;"></textarea>
|
| 117 |
-
<div class="absolute right-2 bottom-2 flex space-x-1">
|
| 118 |
-
<button class="text-gray-400 hover:text-gray-600 p-1 rounded-full transition">
|
| 119 |
-
<i class="fas fa-paperclip"></i>
|
| 120 |
-
</button>
|
| 121 |
-
<button class="text-gray-400 hover:text-gray-600 p-1 rounded-full transition">
|
| 122 |
-
<i class="fas fa-microphone"></i>
|
| 123 |
-
</button>
|
| 124 |
</div>
|
| 125 |
</div>
|
| 126 |
-
<button id="send-button" class="bg-purple-600 hover:bg-purple-700 text-white w-12 h-12 rounded-full flex items-center justify-center transition">
|
| 127 |
-
<i class="fas fa-paper-plane"></i>
|
| 128 |
-
</button>
|
| 129 |
</div>
|
| 130 |
-
<p class="text-xs text-gray-500 mt-2 text-center">DeepSite may produce inaccurate information about people, places, or facts.</p>
|
| 131 |
</div>
|
| 132 |
</div>
|
|
|
|
| 133 |
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
<div class="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 142 |
<div>
|
| 143 |
-
<label class="block text-
|
| 144 |
-
<select
|
| 145 |
-
<option
|
| 146 |
-
<option
|
| 147 |
-
<option
|
| 148 |
-
<option
|
| 149 |
-
<option value="landing">Landing Page</option>
|
| 150 |
</select>
|
| 151 |
</div>
|
| 152 |
-
|
| 153 |
<div>
|
| 154 |
-
<label class="block text-
|
| 155 |
-
<
|
| 156 |
-
<
|
| 157 |
-
<
|
| 158 |
-
<
|
| 159 |
-
<
|
| 160 |
-
<button data-color="indigo" class="w-8 h-8 rounded-full bg-indigo-600 border-2 border-gray-200 shadow-md color-selector"></button>
|
| 161 |
-
</div>
|
| 162 |
-
</div>
|
| 163 |
-
|
| 164 |
-
<div>
|
| 165 |
-
<label class="block text-sm font-medium text-gray-700 mb-1">Style</label>
|
| 166 |
-
<select id="website-style" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500">
|
| 167 |
-
<option value="modern">Modern</option>
|
| 168 |
-
<option value="minimal">Minimal</option>
|
| 169 |
-
<option value="elegant">Elegant</option>
|
| 170 |
-
<option value="bold">Bold</option>
|
| 171 |
-
<option value="playful">Playful</option>
|
| 172 |
</select>
|
| 173 |
</div>
|
| 174 |
-
|
| 175 |
<div>
|
| 176 |
-
<label class="block text-
|
| 177 |
-
<div class="
|
| 178 |
-
<
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
</label>
|
| 182 |
-
<label class="flex items-center">
|
| 183 |
-
<input type="checkbox" checked class="rounded text-purple-600">
|
| 184 |
-
<span class="ml-2">About/Features</span>
|
| 185 |
-
</label>
|
| 186 |
-
<label class="flex items-center">
|
| 187 |
-
<input type="checkbox" checked class="rounded text-purple-600">
|
| 188 |
-
<span class="ml-2">Services/Products</span>
|
| 189 |
-
</label>
|
| 190 |
-
<label class="flex items-center">
|
| 191 |
-
<input type="checkbox" class="rounded text-purple-600">
|
| 192 |
-
<span class="ml-2">Testimonials</span>
|
| 193 |
-
</label>
|
| 194 |
-
<label class="flex items-center">
|
| 195 |
-
<input type="checkbox" class="rounded text-purple-600">
|
| 196 |
-
<span class="ml-2">Contact Form</span>
|
| 197 |
-
</label>
|
| 198 |
</div>
|
| 199 |
</div>
|
| 200 |
-
|
| 201 |
-
<div>
|
| 202 |
-
<label class="block text-sm font-medium text-gray-700 mb-1">Additional Notes</label>
|
| 203 |
-
<textarea id="website-notes" rows="3" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500" placeholder="Any specific requirements..."></textarea>
|
| 204 |
-
</div>
|
| 205 |
-
|
| 206 |
-
<button id="generate-website" class="w-full bg-purple-600 hover:bg-purple-700 text-white py-2 px-4 rounded-md transition flex items-center justify-center">
|
| 207 |
-
<i class="fas fa-magic mr-2"></i> Generate Website
|
| 208 |
-
</button>
|
| 209 |
</div>
|
| 210 |
</div>
|
| 211 |
|
| 212 |
-
<
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
<
|
| 216 |
-
<div id="website-preview" class="website-preview rounded-lg overflow-hidden relative">
|
| 217 |
-
<div class="absolute inset-0 flex items-center justify-center text-gray-400">
|
| 218 |
-
<div class="text-center">
|
| 219 |
-
<i class="fas fa-laptop-code text-4xl mb-2"></i>
|
| 220 |
-
<p>Your website will appear here</p>
|
| 221 |
-
</div>
|
| 222 |
-
</div>
|
| 223 |
-
</div>
|
| 224 |
</div>
|
|
|
|
|
|
|
|
|
|
| 225 |
|
| 226 |
-
<div
|
| 227 |
-
<div class="flex justify-between
|
| 228 |
-
<
|
| 229 |
-
<
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
<button id="download-code" class="text-sm bg-gray-100 hover:bg-gray-200 px-3 py-1 rounded-md transition">
|
| 234 |
-
<i class="fas fa-download mr-1"></i> Download
|
| 235 |
-
</button>
|
| 236 |
-
</div>
|
| 237 |
</div>
|
| 238 |
-
<pre id="code-preview" class="bg-gray-800 text-gray-100 p-4 rounded-md overflow-x-auto"><code>// Your generated HTML/CSS/JS code will appear here</code></pre>
|
| 239 |
</div>
|
| 240 |
</div>
|
| 241 |
</div>
|
| 242 |
</div>
|
| 243 |
-
</
|
| 244 |
|
| 245 |
-
<
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
const websiteTab = document.getElementById('website-tab');
|
| 250 |
-
const chatContent = document.getElementById('chat-content');
|
| 251 |
-
const websiteContent = document.getElementById('website-content');
|
| 252 |
-
|
| 253 |
-
chatTab.addEventListener('click', function() {
|
| 254 |
-
chatContent.classList.remove('hidden');
|
| 255 |
-
websiteContent.classList.add('hidden');
|
| 256 |
-
chatTab.classList.add('tab-active');
|
| 257 |
-
websiteTab.classList.remove('tab-active');
|
| 258 |
-
});
|
| 259 |
-
|
| 260 |
-
websiteTab.addEventListener('click', function() {
|
| 261 |
-
chatContent.classList.add('hidden');
|
| 262 |
-
websiteContent.classList.remove('hidden');
|
| 263 |
-
chatTab.classList.remove('tab-active');
|
| 264 |
-
websiteTab.classList.add('tab-active');
|
| 265 |
-
});
|
| 266 |
-
|
| 267 |
-
// Chat functionality
|
| 268 |
-
const chatContainer = document.getElementById('chat-container');
|
| 269 |
-
const messageInput = document.getElementById('message-input');
|
| 270 |
-
const sendButton = document.getElementById('send-button');
|
| 271 |
-
|
| 272 |
-
// Auto-resize textarea
|
| 273 |
-
messageInput.addEventListener('input', function() {
|
| 274 |
-
this.style.height = 'auto';
|
| 275 |
-
this.style.height = (this.scrollHeight) + 'px';
|
| 276 |
-
});
|
| 277 |
-
|
| 278 |
-
// Send message on button click or Enter key
|
| 279 |
-
function sendMessage() {
|
| 280 |
-
const message = messageInput.value.trim();
|
| 281 |
-
if (message) {
|
| 282 |
-
addUserMessage(message);
|
| 283 |
-
messageInput.value = '';
|
| 284 |
-
messageInput.style.height = 'auto';
|
| 285 |
-
|
| 286 |
-
// Show typing indicator
|
| 287 |
-
const typingIndicator = document.createElement('div');
|
| 288 |
-
typingIndicator.className = 'bg-white rounded-xl shadow-md p-4 message-enter';
|
| 289 |
-
typingIndicator.innerHTML = `
|
| 290 |
-
<div class="flex items-start space-x-3">
|
| 291 |
-
<div class="flex-shrink-0 w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center">
|
| 292 |
-
<i class="fas fa-robot text-purple-600"></i>
|
| 293 |
-
</div>
|
| 294 |
-
<div class="typing-indicator text-gray-600">Thinking</div>
|
| 295 |
-
</div>
|
| 296 |
-
`;
|
| 297 |
-
chatContainer.appendChild(typingIndicator);
|
| 298 |
-
chatContainer.scrollTop = chatContainer.scrollHeight;
|
| 299 |
-
|
| 300 |
-
// Simulate AI response after a delay
|
| 301 |
-
setTimeout(() => {
|
| 302 |
-
chatContainer.removeChild(typingIndicator);
|
| 303 |
-
addAIMessage(generateResponse(message));
|
| 304 |
-
}, 1500 + Math.random() * 2000);
|
| 305 |
-
}
|
| 306 |
-
}
|
| 307 |
-
|
| 308 |
-
sendButton.addEventListener('click', sendMessage);
|
| 309 |
-
|
| 310 |
-
messageInput.addEventListener('keydown', function(e) {
|
| 311 |
-
if (e.key === 'Enter' && !e.shiftKey) {
|
| 312 |
-
e.preventDefault();
|
| 313 |
-
sendMessage();
|
| 314 |
-
}
|
| 315 |
-
});
|
| 316 |
-
|
| 317 |
-
// Add user message to chat
|
| 318 |
-
function addUserMessage(message) {
|
| 319 |
-
const messageDiv = document.createElement('div');
|
| 320 |
-
messageDiv.className = 'bg-purple-100 rounded-xl shadow-md p-4 ml-12 message-enter';
|
| 321 |
-
messageDiv.innerHTML = `
|
| 322 |
-
<div class="flex items-start justify-end space-x-3">
|
| 323 |
-
<div class="text-right">
|
| 324 |
-
<p class="text-gray-800">${escapeHtml(message)}</p>
|
| 325 |
-
</div>
|
| 326 |
-
<div class="flex-shrink-0 w-10 h-10 rounded-full bg-purple-600 text-white flex items-center justify-center">
|
| 327 |
-
<i class="fas fa-user"></i>
|
| 328 |
-
</div>
|
| 329 |
-
</div>
|
| 330 |
-
`;
|
| 331 |
-
chatContainer.appendChild(messageDiv);
|
| 332 |
-
chatContainer.scrollTop = chatContainer.scrollHeight;
|
| 333 |
-
}
|
| 334 |
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
|
| 338 |
-
|
| 339 |
-
messageDiv.innerHTML = `
|
| 340 |
-
<div class="flex items-start space-x-3">
|
| 341 |
-
<div class="flex-shrink-0 w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center">
|
| 342 |
-
<i class="fas fa-robot text-purple-600"></i>
|
| 343 |
-
</div>
|
| 344 |
-
<div class="text-gray-800">${message}</div>
|
| 345 |
</div>
|
| 346 |
-
|
| 347 |
-
|
| 348 |
-
|
| 349 |
-
}
|
| 350 |
-
|
| 351 |
-
// Simple HTML escape
|
| 352 |
-
function escapeHtml(unsafe) {
|
| 353 |
-
return unsafe
|
| 354 |
-
.replace(/&/g, "&")
|
| 355 |
-
.replace(/</g, "<")
|
| 356 |
-
.replace(/>/g, ">")
|
| 357 |
-
.replace(/"/g, """)
|
| 358 |
-
.replace(/'/g, "'");
|
| 359 |
-
}
|
| 360 |
-
|
| 361 |
-
// Generate simple responses (in a real app, this would call an API)
|
| 362 |
-
function generateResponse(userMessage) {
|
| 363 |
-
const responses = [
|
| 364 |
-
`I understand you're asking about "${userMessage}". While I don't have real-time data, I can provide general information on this topic.`,
|
| 365 |
-
`Interesting question about "${userMessage}"! Here's what I know: [This would be a detailed response in a real implementation].`,
|
| 366 |
-
`"${userMessage}" is a fascinating topic. From my training data, I can tell you that... [response would continue]`,
|
| 367 |
-
`I'd be happy to help with "${userMessage}". Could you provide more details about what specifically you'd like to know?`,
|
| 368 |
-
`Regarding "${userMessage}", I should note that my knowledge has a cutoff date. Here's the information I have...`
|
| 369 |
-
];
|
| 370 |
|
| 371 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 372 |
|
| 373 |
-
|
| 374 |
-
|
| 375 |
-
|
| 376 |
-
<
|
| 377 |
-
|
| 378 |
-
|
| 379 |
-
|
| 380 |
-
/
|
| 381 |
-
|
| 382 |
-
|
| 383 |
-
|
| 384 |
-
|
| 385 |
-
|
| 386 |
-
|
| 387 |
-
|
| 388 |
-
// Website Generator Functionality
|
| 389 |
-
const generateBtn = document.getElementById('generate-website');
|
| 390 |
-
const websitePreview = document.getElementById('website-preview');
|
| 391 |
-
const codePreview = document.getElementById('code-preview');
|
| 392 |
-
const colorSelectors = document.querySelectorAll('.color-selector');
|
| 393 |
-
let selectedColor = 'purple';
|
| 394 |
-
|
| 395 |
-
// Color selection
|
| 396 |
-
colorSelectors.forEach(button => {
|
| 397 |
-
button.addEventListener('click', function() {
|
| 398 |
-
// Remove border from all buttons
|
| 399 |
-
colorSelectors.forEach(btn => {
|
| 400 |
-
btn.classList.remove('border-2', 'border-white', 'shadow-md');
|
| 401 |
-
btn.classList.add('border-2', 'border-gray-200', 'shadow-md');
|
| 402 |
-
});
|
| 403 |
-
|
| 404 |
-
// Add highlight to selected button
|
| 405 |
-
this.classList.remove('border-gray-200');
|
| 406 |
-
this.classList.add('border-white', 'shadow-md');
|
| 407 |
-
|
| 408 |
-
selectedColor = this.dataset.color;
|
| 409 |
-
});
|
| 410 |
-
});
|
| 411 |
|
| 412 |
-
|
| 413 |
-
|
| 414 |
-
|
| 415 |
-
|
| 416 |
-
|
| 417 |
-
|
| 418 |
-
|
| 419 |
-
|
| 420 |
-
|
|
|
|
| 421 |
|
| 422 |
-
|
| 423 |
-
|
| 424 |
-
|
| 425 |
-
|
| 426 |
-
|
| 427 |
-
|
| 428 |
-
|
| 429 |
-
|
| 430 |
-
|
| 431 |
-
websitePreview.innerHTML = preview;
|
| 432 |
-
|
| 433 |
-
// Update code preview
|
| 434 |
-
codePreview.innerHTML = `<code>${escapeHtml(html)}</code>`;
|
| 435 |
-
|
| 436 |
-
// Add copy and download functionality
|
| 437 |
-
setupCodeActions(html);
|
| 438 |
-
}, 2000);
|
| 439 |
-
});
|
| 440 |
-
|
| 441 |
-
// Generate sample website HTML
|
| 442 |
-
function generateWebsite(type, color, style, notes) {
|
| 443 |
-
const colorClasses = {
|
| 444 |
-
purple: {
|
| 445 |
-
bg: 'bg-purple-600',
|
| 446 |
-
text: 'text-purple-600',
|
| 447 |
-
border: 'border-purple-600',
|
| 448 |
-
hover: 'hover:bg-purple-700'
|
| 449 |
-
},
|
| 450 |
-
blue: {
|
| 451 |
-
bg: 'bg-blue-600',
|
| 452 |
-
text: 'text-blue-600',
|
| 453 |
-
border: 'border-blue-600',
|
| 454 |
-
hover: 'hover:bg-blue-700'
|
| 455 |
-
},
|
| 456 |
-
green: {
|
| 457 |
-
bg: 'bg-green-600',
|
| 458 |
-
text: 'text-green-600',
|
| 459 |
-
border: 'border-green-600',
|
| 460 |
-
hover: 'hover:bg-green-700'
|
| 461 |
-
},
|
| 462 |
-
red: {
|
| 463 |
-
bg: 'bg-red-600',
|
| 464 |
-
text: 'text-red-600',
|
| 465 |
-
border: 'border-red-600',
|
| 466 |
-
hover: 'hover:bg-red-700'
|
| 467 |
-
},
|
| 468 |
-
indigo: {
|
| 469 |
-
bg: 'bg-indigo-600',
|
| 470 |
-
text: 'text-indigo-600',
|
| 471 |
-
border: 'border-indigo-600',
|
| 472 |
-
hover: 'hover:bg-indigo-700'
|
| 473 |
-
}
|
| 474 |
-
};
|
| 475 |
|
| 476 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 477 |
|
| 478 |
-
|
| 479 |
-
|
| 480 |
-
<
|
| 481 |
-
<
|
| 482 |
-
<
|
| 483 |
-
|
| 484 |
-
|
| 485 |
-
|
| 486 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
| 487 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 488 |
-
<style>
|
| 489 |
-
.hero-section {
|
| 490 |
-
background: linear-gradient(135deg, ${colorScheme.bg.replace('bg-', '')}, #${Math.floor(Math.random()*16777215).toString(16)});
|
| 491 |
-
}
|
| 492 |
-
</style>
|
| 493 |
-
</head>
|
| 494 |
-
<body class="font-sans">
|
| 495 |
-
<!-- Navigation -->
|
| 496 |
-
<nav class="bg-white shadow-lg">
|
| 497 |
-
<div class="container mx-auto px-6 py-3">
|
| 498 |
-
<div class="flex justify-between items-center">
|
| 499 |
-
<div class="text-2xl font-bold ${colorScheme.text}">${type.charAt(0).toUpperCase() + type.slice(1)}Site</div>
|
| 500 |
-
<div class="hidden md:flex space-x-8">
|
| 501 |
-
<a href="#" class="${colorScheme.text} font-medium">Home</a>
|
| 502 |
-
<a href="#" class="text-gray-600 hover:${colorScheme.text}">About</a>
|
| 503 |
-
<a href="#" class="text-gray-600 hover:${colorScheme.text}">Services</a>
|
| 504 |
-
<a href="#" class="text-gray-600 hover:${colorScheme.text}">Contact</a>
|
| 505 |
</div>
|
| 506 |
-
<button class="md:hidden text-gray-600">
|
| 507 |
-
<i class="fas fa-bars text-2xl"></i>
|
| 508 |
-
</button>
|
| 509 |
</div>
|
| 510 |
</div>
|
| 511 |
-
</
|
| 512 |
|
| 513 |
-
<!--
|
| 514 |
-
<section class="
|
| 515 |
-
<div class="container mx-auto px-
|
| 516 |
-
<
|
| 517 |
-
<p class="text-xl mb-8">
|
| 518 |
-
<button class="
|
| 519 |
-
|
| 520 |
</button>
|
| 521 |
</div>
|
| 522 |
</section>
|
| 523 |
|
| 524 |
-
<!--
|
| 525 |
-
<
|
| 526 |
-
<div class="container mx-auto px-
|
| 527 |
-
<
|
| 528 |
-
|
| 529 |
-
|
| 530 |
-
|
| 531 |
-
<
|
| 532 |
-
|
| 533 |
-
|
| 534 |
-
|
| 535 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 536 |
</div>
|
| 537 |
-
`).join('')}
|
| 538 |
</div>
|
| 539 |
-
|
| 540 |
-
|
| 541 |
-
|
| 542 |
-
<!-- Footer -->
|
| 543 |
-
<footer class="bg-gray-800 text-white py-8">
|
| 544 |
-
<div class="container mx-auto px-6">
|
| 545 |
-
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 546 |
-
<div class="text-xl font-bold mb-4 md:mb-0">${type.charAt(0).toUpperCase() + type.slice(1)}Site</div>
|
| 547 |
<div class="flex space-x-6">
|
| 548 |
-
<a href="#"><i class="fab fa-
|
| 549 |
-
<a href="#"><i class="fab fa-
|
| 550 |
-
<a href="#"><i class="fab fa-instagram"></i></a>
|
| 551 |
-
<a href="#"><i class="fab fa-
|
| 552 |
</div>
|
| 553 |
</div>
|
| 554 |
-
<div class="border-t border-gray-700 mt-6 pt-6 text-center text-gray-400 text-sm">
|
| 555 |
-
© ${new Date().getFullYear()} ${type.charAt(0).toUpperCase() + type.slice(1)}Site. All rights reserved.
|
| 556 |
-
</div>
|
| 557 |
</div>
|
| 558 |
</footer>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 559 |
<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=sap-ai/duoling-horror" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 560 |
</html>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>AI Website Generator | Create Websites Instantly</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 |
.gradient-bg {
|
| 11 |
+
background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
|
| 12 |
}
|
| 13 |
+
.preview-window {
|
|
|
|
|
|
|
|
|
|
| 14 |
border: 2px dashed #a777e3;
|
| 15 |
min-height: 300px;
|
| 16 |
+
background-color: #f8f9fa;
|
| 17 |
+
}
|
| 18 |
+
.loading-bar {
|
| 19 |
+
width: 0%;
|
| 20 |
+
transition: width 3s ease-in-out;
|
| 21 |
+
}
|
| 22 |
+
.animate-pulse {
|
| 23 |
+
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
| 24 |
}
|
| 25 |
+
@keyframes pulse {
|
| 26 |
+
0%, 100% {
|
| 27 |
+
opacity: 1;
|
| 28 |
+
}
|
| 29 |
+
50% {
|
| 30 |
+
opacity: 0.5;
|
| 31 |
+
}
|
| 32 |
}
|
| 33 |
+
.floating {
|
| 34 |
+
animation: floating 3s ease-in-out infinite;
|
| 35 |
+
}
|
| 36 |
+
@keyframes floating {
|
| 37 |
+
0% { transform: translateY(0px); }
|
| 38 |
+
50% { transform: translateY(-15px); }
|
| 39 |
+
100% { transform: translateY(0px); }
|
| 40 |
}
|
| 41 |
</style>
|
| 42 |
</head>
|
| 43 |
+
<body class="bg-gray-50 font-sans">
|
| 44 |
<!-- Header -->
|
| 45 |
<header class="gradient-bg text-white shadow-lg">
|
| 46 |
+
<div class="container mx-auto px-4 py-6">
|
| 47 |
+
<div class="flex justify-between items-center">
|
| 48 |
+
<div class="flex items-center space-x-2">
|
| 49 |
+
<i class="fas fa-robot text-3xl"></i>
|
| 50 |
+
<h1 class="text-2xl font-bold">AI Website Generator</h1>
|
| 51 |
</div>
|
| 52 |
+
<nav>
|
| 53 |
+
<ul class="flex space-x-6">
|
| 54 |
+
<li><a href="#" class="hover:underline">Home</a></li>
|
| 55 |
+
<li><a href="#" class="hover:underline">Templates</a></li>
|
| 56 |
+
<li><a href="#" class="hover:underline">Pricing</a></li>
|
| 57 |
+
<li><a href="#" class="hover:underline">Contact</a></li>
|
| 58 |
+
</ul>
|
| 59 |
+
</nav>
|
| 60 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
</div>
|
| 62 |
</header>
|
| 63 |
|
| 64 |
+
<!-- Hero Section -->
|
| 65 |
+
<section class="gradient-bg text-white py-16">
|
| 66 |
+
<div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
|
| 67 |
+
<div class="md:w-1/2 mb-10 md:mb-0">
|
| 68 |
+
<h1 class="text-4xl md:text-5xl font-bold mb-6">Generate Your Perfect Website with AI</h1>
|
| 69 |
+
<p class="text-xl mb-8">Describe what you need and our AI will create a professional, responsive website in seconds. No coding required!</p>
|
| 70 |
+
<div class="flex space-x-4">
|
| 71 |
+
<button class="bg-white text-purple-600 px-6 py-3 rounded-full font-semibold hover:bg-gray-100 transition">Try for Free</button>
|
| 72 |
+
<button class="border-2 border-white px-6 py-3 rounded-full font-semibold hover:bg-white hover:text-purple-600 transition">Watch Demo</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
</div>
|
| 74 |
</div>
|
| 75 |
+
<div class="md:w-1/2 relative">
|
| 76 |
+
<div class="bg-white rounded-xl shadow-2xl p-4 relative floating">
|
| 77 |
+
<div class="flex space-x-2 mb-3">
|
| 78 |
+
<div class="w-3 h-3 rounded-full bg-red-500"></div>
|
| 79 |
+
<div class="w-3 h-3 rounded-full bg-yellow-500"></div>
|
| 80 |
+
<div class="w-3 h-3 rounded-full bg-green-500"></div>
|
| 81 |
+
</div>
|
| 82 |
+
<div class="preview-window rounded-lg overflow-hidden">
|
| 83 |
+
<div id="live-preview" class="p-4">
|
| 84 |
+
<div class="text-center py-10 text-gray-500">
|
| 85 |
+
<i class="fas fa-magic text-4xl mb-4"></i>
|
| 86 |
+
<p>Your AI-generated website will appear here</p>
|
| 87 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
</div>
|
| 89 |
</div>
|
|
|
|
|
|
|
|
|
|
| 90 |
</div>
|
|
|
|
| 91 |
</div>
|
| 92 |
</div>
|
| 93 |
+
</section>
|
| 94 |
|
| 95 |
+
<!-- Generator Section -->
|
| 96 |
+
<section class="py-16 bg-white">
|
| 97 |
+
<div class="container mx-auto px-4">
|
| 98 |
+
<h2 class="text-3xl font-bold text-center mb-12">Create Your Website in 3 Simple Steps</h2>
|
| 99 |
+
|
| 100 |
+
<div class="max-w-4xl mx-auto bg-gray-50 rounded-xl shadow-md p-8">
|
| 101 |
+
<div class="mb-8">
|
| 102 |
+
<div class="flex items-center mb-4">
|
| 103 |
+
<div class="bg-purple-600 text-white rounded-full w-8 h-8 flex items-center justify-center mr-3">1</div>
|
| 104 |
+
<h3 class="text-xl font-semibold">Describe Your Website</h3>
|
| 105 |
+
</div>
|
| 106 |
+
<textarea id="website-description" class="w-full p-4 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent" rows="5" placeholder="Example: I need a modern portfolio website for a photographer with dark theme, image gallery, contact form, and about section..."></textarea>
|
| 107 |
+
</div>
|
| 108 |
+
|
| 109 |
+
<div class="mb-8">
|
| 110 |
+
<div class="flex items-center mb-4">
|
| 111 |
+
<div class="bg-purple-600 text-white rounded-full w-8 h-8 flex items-center justify-center mr-3">2</div>
|
| 112 |
+
<h3 class="text-xl font-semibold">Customize Options</h3>
|
| 113 |
+
</div>
|
| 114 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
|
| 115 |
<div>
|
| 116 |
+
<label class="block text-gray-700 mb-2">Color Scheme</label>
|
| 117 |
+
<select class="w-full p-3 border border-gray-300 rounded-lg">
|
| 118 |
+
<option>Modern Purple</option>
|
| 119 |
+
<option>Professional Blue</option>
|
| 120 |
+
<option>Elegant Dark</option>
|
| 121 |
+
<option>Light Minimal</option>
|
|
|
|
| 122 |
</select>
|
| 123 |
</div>
|
|
|
|
| 124 |
<div>
|
| 125 |
+
<label class="block text-gray-700 mb-2">Layout</label>
|
| 126 |
+
<select class="w-full p-3 border border-gray-300 rounded-lg">
|
| 127 |
+
<option>Single Page</option>
|
| 128 |
+
<option>Multi-Page</option>
|
| 129 |
+
<option>Landing Page</option>
|
| 130 |
+
<option>Blog Style</option>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 131 |
</select>
|
| 132 |
</div>
|
|
|
|
| 133 |
<div>
|
| 134 |
+
<label class="block text-gray-700 mb-2">Features</label>
|
| 135 |
+
<div class="flex flex-wrap gap-2">
|
| 136 |
+
<span class="bg-purple-100 text-purple-800 px-3 py-1 rounded-full text-sm">Contact Form</span>
|
| 137 |
+
<span class="bg-purple-100 text-purple-800 px-3 py-1 rounded-full text-sm">Gallery</span>
|
| 138 |
+
<span class="bg-purple-100 text-purple-800 px-3 py-1 rounded-full text-sm">Blog</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 139 |
</div>
|
| 140 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 141 |
</div>
|
| 142 |
</div>
|
| 143 |
|
| 144 |
+
<div>
|
| 145 |
+
<div class="flex items-center mb-4">
|
| 146 |
+
<div class="bg-purple-600 text-white rounded-full w-8 h-8 flex items-center justify-center mr-3">3</div>
|
| 147 |
+
<h3 class="text-xl font-semibold">Generate & Preview</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 148 |
</div>
|
| 149 |
+
<button id="generate-btn" class="w-full gradient-bg text-white py-4 rounded-lg font-bold text-lg hover:opacity-90 transition flex items-center justify-center">
|
| 150 |
+
<i class="fas fa-magic mr-2"></i> Generate Website
|
| 151 |
+
</button>
|
| 152 |
|
| 153 |
+
<div id="loading-container" class="mt-6 hidden">
|
| 154 |
+
<div class="mb-2 flex justify-between">
|
| 155 |
+
<span class="font-medium">Generating your website...</span>
|
| 156 |
+
<span id="progress-percent">0%</span>
|
| 157 |
+
</div>
|
| 158 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5">
|
| 159 |
+
<div id="loading-bar" class="loading-bar bg-purple-600 h-2.5 rounded-full"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 160 |
</div>
|
|
|
|
| 161 |
</div>
|
| 162 |
</div>
|
| 163 |
</div>
|
| 164 |
</div>
|
| 165 |
+
</section>
|
| 166 |
|
| 167 |
+
<!-- Features Section -->
|
| 168 |
+
<section class="py-16 bg-gray-50">
|
| 169 |
+
<div class="container mx-auto px-4">
|
| 170 |
+
<h2 class="text-3xl font-bold text-center mb-12">Why Choose Our AI Website Generator</h2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 171 |
|
| 172 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 173 |
+
<div class="bg-white p-8 rounded-xl shadow-md hover:shadow-xl transition">
|
| 174 |
+
<div class="text-purple-600 mb-4">
|
| 175 |
+
<i class="fas fa-bolt text-4xl"></i>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 176 |
</div>
|
| 177 |
+
<h3 class="text-xl font-bold mb-3">Lightning Fast</h3>
|
| 178 |
+
<p class="text-gray-600">Generate complete, responsive websites in under a minute. No waiting for designers or developers.</p>
|
| 179 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 180 |
|
| 181 |
+
<div class="bg-white p-8 rounded-xl shadow-md hover:shadow-xl transition">
|
| 182 |
+
<div class="text-purple-600 mb-4">
|
| 183 |
+
<i class="fas fa-sliders-h text-4xl"></i>
|
| 184 |
+
</div>
|
| 185 |
+
<h3 class="text-xl font-bold mb-3">Fully Customizable</h3>
|
| 186 |
+
<p class="text-gray-600">Easily tweak colors, layouts, and content after generation to make it truly yours.</p>
|
| 187 |
+
</div>
|
| 188 |
|
| 189 |
+
<div class="bg-white p-8 rounded-xl shadow-md hover:shadow-xl transition">
|
| 190 |
+
<div class="text-purple-600 mb-4">
|
| 191 |
+
<i class="fas fa-mobile-alt text-4xl"></i>
|
| 192 |
+
</div>
|
| 193 |
+
<h3 class="text-xl font-bold mb-3">Mobile Ready</h3>
|
| 194 |
+
<p class="text-gray-600">All generated websites are fully responsive and look great on any device.</p>
|
| 195 |
+
</div>
|
| 196 |
+
</div>
|
| 197 |
+
</div>
|
| 198 |
+
</section>
|
| 199 |
+
|
| 200 |
+
<!-- Templates Section -->
|
| 201 |
+
<section class="py-16 bg-white">
|
| 202 |
+
<div class="container mx-auto px-4">
|
| 203 |
+
<h2 class="text-3xl font-bold text-center mb-12">Popular Template Designs</h2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 204 |
|
| 205 |
+
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
|
| 206 |
+
<div class="border rounded-lg overflow-hidden hover:shadow-lg transition">
|
| 207 |
+
<div class="h-48 bg-gradient-to-r from-blue-400 to-blue-600 flex items-center justify-center">
|
| 208 |
+
<i class="fas fa-briefcase text-white text-6xl"></i>
|
| 209 |
+
</div>
|
| 210 |
+
<div class="p-4">
|
| 211 |
+
<h3 class="font-bold text-lg mb-2">Business</h3>
|
| 212 |
+
<p class="text-gray-600 text-sm">Professional corporate design</p>
|
| 213 |
+
</div>
|
| 214 |
+
</div>
|
| 215 |
|
| 216 |
+
<div class="border rounded-lg overflow-hidden hover:shadow-lg transition">
|
| 217 |
+
<div class="h-48 bg-gradient-to-r from-purple-400 to-purple-600 flex items-center justify-center">
|
| 218 |
+
<i class="fas fa-camera text-white text-6xl"></i>
|
| 219 |
+
</div>
|
| 220 |
+
<div class="p-4">
|
| 221 |
+
<h3 class="font-bold text-lg mb-2">Portfolio</h3>
|
| 222 |
+
<p class="text-gray-600 text-sm">Showcase your creative work</p>
|
| 223 |
+
</div>
|
| 224 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 225 |
|
| 226 |
+
<div class="border rounded-lg overflow-hidden hover:shadow-lg transition">
|
| 227 |
+
<div class="h-48 bg-gradient-to-r from-green-400 to-green-600 flex items-center justify-center">
|
| 228 |
+
<i class="fas fa-store text-white text-6xl"></i>
|
| 229 |
+
</div>
|
| 230 |
+
<div class="p-4">
|
| 231 |
+
<h3 class="font-bold text-lg mb-2">E-commerce</h3>
|
| 232 |
+
<p class="text-gray-600 text-sm">Online store ready for products</p>
|
| 233 |
+
</div>
|
| 234 |
+
</div>
|
| 235 |
|
| 236 |
+
<div class="border rounded-lg overflow-hidden hover:shadow-lg transition">
|
| 237 |
+
<div class="h-48 bg-gradient-to-r from-red-400 to-red-600 flex items-center justify-center">
|
| 238 |
+
<i class="fas fa-newspaper text-white text-6xl"></i>
|
| 239 |
+
</div>
|
| 240 |
+
<div class="p-4">
|
| 241 |
+
<h3 class="font-bold text-lg mb-2">Blog</h3>
|
| 242 |
+
<p class="text-gray-600 text-sm">Perfect for writers and bloggers</p>
|
| 243 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 244 |
</div>
|
|
|
|
|
|
|
|
|
|
| 245 |
</div>
|
| 246 |
</div>
|
| 247 |
+
</section>
|
| 248 |
|
| 249 |
+
<!-- CTA Section -->
|
| 250 |
+
<section class="gradient-bg text-white py-16">
|
| 251 |
+
<div class="container mx-auto px-4 text-center">
|
| 252 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-6">Ready to Create Your Website?</h2>
|
| 253 |
+
<p class="text-xl mb-8 max-w-2xl mx-auto">Join thousands of users who've created stunning websites with our AI generator.</p>
|
| 254 |
+
<button class="bg-white text-purple-600 px-8 py-4 rounded-full font-bold text-lg hover:bg-gray-100 transition">
|
| 255 |
+
<i class="fas fa-play mr-2"></i> Start Generating Now
|
| 256 |
</button>
|
| 257 |
</div>
|
| 258 |
</section>
|
| 259 |
|
| 260 |
+
<!-- Footer -->
|
| 261 |
+
<footer class="bg-gray-900 text-white py-12">
|
| 262 |
+
<div class="container mx-auto px-4">
|
| 263 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
|
| 264 |
+
<div>
|
| 265 |
+
<h3 class="text-xl font-bold mb-4 flex items-center">
|
| 266 |
+
<i class="fas fa-robot mr-2"></i> AI Website Gen
|
| 267 |
+
</h3>
|
| 268 |
+
<p class="text-gray-400">The easiest way to create professional websites powered by artificial intelligence.</p>
|
| 269 |
+
</div>
|
| 270 |
+
|
| 271 |
+
<div>
|
| 272 |
+
<h4 class="font-bold mb-4">Product</h4>
|
| 273 |
+
<ul class="space-y-2">
|
| 274 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Features</a></li>
|
| 275 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Templates</a></li>
|
| 276 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Pricing</a></li>
|
| 277 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Examples</a></li>
|
| 278 |
+
</ul>
|
| 279 |
+
</div>
|
| 280 |
+
|
| 281 |
+
<div>
|
| 282 |
+
<h4 class="font-bold mb-4">Resources</h4>
|
| 283 |
+
<ul class="space-y-2">
|
| 284 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Blog</a></li>
|
| 285 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Documentation</a></li>
|
| 286 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Guides</a></li>
|
| 287 |
+
<li><a href="#" class="text-gray-400 hover:text-white">API Status</a></li>
|
| 288 |
+
</ul>
|
| 289 |
+
</div>
|
| 290 |
+
|
| 291 |
+
<div>
|
| 292 |
+
<h4 class="font-bold mb-4">Company</h4>
|
| 293 |
+
<ul class="space-y-2">
|
| 294 |
+
<li><a href="#" class="text-gray-400 hover:text-white">About</a></li>
|
| 295 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Careers</a></li>
|
| 296 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Privacy</a></li>
|
| 297 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Terms</a></li>
|
| 298 |
+
</ul>
|
| 299 |
</div>
|
|
|
|
| 300 |
</div>
|
| 301 |
+
|
| 302 |
+
<div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
|
| 303 |
+
<p class="text-gray-400 mb-4 md:mb-0">© 2023 AI Website Generator. All rights reserved.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 304 |
<div class="flex space-x-6">
|
| 305 |
+
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter text-xl"></i></a>
|
| 306 |
+
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-facebook text-xl"></i></a>
|
| 307 |
+
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-instagram text-xl"></i></a>
|
| 308 |
+
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-github text-xl"></i></a>
|
| 309 |
</div>
|
| 310 |
</div>
|
|
|
|
|
|
|
|
|
|
| 311 |
</div>
|
| 312 |
</footer>
|
| 313 |
+
|
| 314 |
+
<script>
|
| 315 |
+
document.getElementById('generate-btn').addEventListener('click', function() {
|
| 316 |
+
const description = document.getElementById('website-description').value;
|
| 317 |
+
const loadingContainer = document.getElementById('loading-container');
|
| 318 |
+
const loadingBar = document.getElementById('loading-bar');
|
| 319 |
+
const progressPercent = document.getElementById('progress-percent');
|
| 320 |
+
const livePreview = document.getElementById('live-preview');
|
| 321 |
+
|
| 322 |
+
if (!description.trim()) {
|
| 323 |
+
alert('Please describe your website first!');
|
| 324 |
+
return;
|
| 325 |
+
}
|
| 326 |
+
|
| 327 |
+
// Show loading state
|
| 328 |
+
loadingContainer.classList.remove('hidden');
|
| 329 |
+
loadingBar.style.width = '0%';
|
| 330 |
+
progressPercent.textContent = '0%';
|
| 331 |
+
|
| 332 |
+
// Simulate generation process
|
| 333 |
+
let progress = 0;
|
| 334 |
+
const interval = setInterval(() => {
|
| 335 |
+
progress += Math.random() * 10;
|
| 336 |
+
if (progress > 100) progress = 100;
|
| 337 |
+
|
| 338 |
+
loadingBar.style.width = `${progress}%`;
|
| 339 |
+
progressPercent.textContent = `${Math.floor(progress)}%`;
|
| 340 |
+
|
| 341 |
+
if (progress === 100) {
|
| 342 |
+
clearInterval(interval);
|
| 343 |
+
setTimeout(() => {
|
| 344 |
+
generateWebsite(description);
|
| 345 |
+
loadingContainer.classList.add('hidden');
|
| 346 |
+
}, 500);
|
| 347 |
+
}
|
| 348 |
+
}, 300);
|
| 349 |
+
});
|
| 350 |
+
|
| 351 |
+
function generateWebsite(description) {
|
| 352 |
+
const livePreview = document.getElementById('live-preview');
|
| 353 |
+
|
| 354 |
+
// Clear previous content
|
| 355 |
+
livePreview.innerHTML = '';
|
| 356 |
+
|
| 357 |
+
// Add a simple generated website preview based on description
|
| 358 |
+
if (description.toLowerCase().includes('portfolio') || description.toLowerCase().includes('photographer')) {
|
| 359 |
+
// Portfolio template
|
| 360 |
+
livePreview.innerHTML = `
|
| 361 |
+
<div class="bg-gray-900 text-white p-6">
|
| 362 |
+
<div class="flex justify-between items-center mb-8">
|
| 363 |
+
<h1 class="text-2xl font-bold">Photography Portfolio</h1>
|
| 364 |
+
<nav class="flex space-x-4">
|
| 365 |
+
<a href="#" class="hover:text-purple-400">Home</a>
|
| 366 |
+
<a href="#" class="hover:text-purple-400">Gallery</a>
|
| 367 |
+
<a href="#" class="hover:text-purple-400">About</a>
|
| 368 |
+
<a href="#" class="hover:text-purple-400">Contact</a>
|
| 369 |
+
</nav>
|
| 370 |
+
</div>
|
| 371 |
+
<div class="text-center py-8">
|
| 372 |
+
<h2 class="text-4xl font-bold mb-4">John Doe Photography</h2>
|
| 373 |
+
<p class="text-xl mb-8">Capturing moments that last forever</p>
|
| 374 |
+
<button class="bg-purple-600 hover:bg-purple-700 px-6 py-3 rounded-full">View My Work</button>
|
| 375 |
+
</div>
|
| 376 |
+
</div>
|
| 377 |
+
<div class="p-6">
|
| 378 |
+
<h3 class="text-2xl font-bold mb-6 text-center">Featured Work</h3>
|
| 379 |
+
<div class="grid grid-cols-2 md:grid-cols-3 gap-4">
|
| 380 |
+
<div class="bg-gray-200 h-32 animate-pulse"></div>
|
| 381 |
+
<div class="bg-gray-200 h-32 animate-pulse"></div>
|
| 382 |
+
<div class="bg-gray-200 h-32 animate-pulse"></div>
|
| 383 |
+
<div class="bg-gray-200 h-32 animate-pulse"></div>
|
| 384 |
+
<div class="bg-gray-200 h-32 animate-pulse"></div>
|
| 385 |
+
<div class="bg-gray-200 h-32 animate-pulse"></div>
|
| 386 |
+
</div>
|
| 387 |
+
</div>
|
| 388 |
+
`;
|
| 389 |
+
} else if (description.toLowerCase().includes('business') || description.toLowerCase().includes('corporate')) {
|
| 390 |
+
// Business template
|
| 391 |
+
livePreview.innerHTML = `
|
| 392 |
+
<div class="bg-white p-6">
|
| 393 |
+
<div class="flex justify-between items-center mb-8">
|
| 394 |
+
<h1 class="text-2xl font-bold text-gray-800">Business Solutions</h1>
|
| 395 |
+
<nav class="flex space-x-4">
|
| 396 |
+
<a href="#" class="text-gray-600 hover:text-purple-600">Home</a>
|
| 397 |
+
<a href="#" class="text-gray-600 hover:text-purple-600">Services</a>
|
| 398 |
+
<a href="#" class="text-gray-600 hover:text-purple-600">About</a>
|
| 399 |
+
<a href="#" class="text-gray-600 hover:text-purple-600">Contact</a>
|
| 400 |
+
</nav>
|
| 401 |
+
</div>
|
| 402 |
+
<div class="bg-gradient-to-r from-blue-500 to-blue-700 text-white p-8 rounded-lg mb-6">
|
| 403 |
+
<h2 class="text-3xl font-bold mb-4">Innovative Business Solutions</h2>
|
| 404 |
+
<p class="mb-6">We help companies grow and succeed in the digital age</p>
|
| 405 |
+
<button class="bg-white text-blue-600 hover:bg-gray-100 px-6 py-2 rounded">Learn More</button>
|
| 406 |
+
</div>
|
| 407 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
|
| 408 |
+
<div class="border p-4 rounded-lg">
|
| 409 |
+
<div class="text-blue-600 mb-3">
|
| 410 |
+
<i class="fas fa-chart-line text-2xl"></i>
|
| 411 |
+
</div>
|
| 412 |
+
<h3 class="font-bold mb-2">Growth Strategy</h3>
|
| 413 |
+
<p class="text-gray-600 text-sm">Custom solutions for your business growth</p>
|
| 414 |
+
</div>
|
| 415 |
+
<div class="border p-4 rounded-lg">
|
| 416 |
+
<div class="text-blue-600 mb-3">
|
| 417 |
+
<i class="fas fa-cogs text-2xl"></i>
|
| 418 |
+
</div>
|
| 419 |
+
<h3 class="font-bold mb-2">Process Optimization</h3>
|
| 420 |
+
<p class="text-gray-600 text-sm">Streamline your operations efficiently</p>
|
| 421 |
+
</div>
|
| 422 |
+
<div class="border p-4 rounded-lg">
|
| 423 |
+
<div class="text-blue-600 mb-3">
|
| 424 |
+
<i class="fas fa-users text-2xl"></i>
|
| 425 |
+
</div>
|
| 426 |
+
<h3 class="font-bold mb-2">Team Building</h3>
|
| 427 |
+
<p class="text-gray-600 text-sm">Build high-performing teams</p>
|
| 428 |
+
</div>
|
| 429 |
+
</div>
|
| 430 |
+
</div>
|
| 431 |
+
`;
|
| 432 |
+
} else {
|
| 433 |
+
// Default template
|
| 434 |
+
livePreview.innerHTML = `
|
| 435 |
+
<div class="bg-white p-6">
|
| 436 |
+
<div class="flex justify-between items-center mb-8">
|
| 437 |
+
<h1 class="text-2xl font-bold text-gray-800">My Awesome Website</h1>
|
| 438 |
+
<nav class="flex space-x-4">
|
| 439 |
+
<a href="#" class="text-gray-600 hover:text-purple-600">Home</a>
|
| 440 |
+
<a href="#" class="text-gray-600 hover:text-purple-600">Features</a>
|
| 441 |
+
<a href="#" class="text-gray-600 hover:text-purple-600">About</a>
|
| 442 |
+
<a href="#" class="text-gray-600 hover:text-purple-600">Contact</a>
|
| 443 |
+
</nav>
|
| 444 |
+
</div>
|
| 445 |
+
<div class="bg-gradient-to-r from-purple-500 to-pink-500 text-white p-8 rounded-lg mb-6 text-center">
|
| 446 |
+
<h2 class="text-3xl font-bold mb-4">Welcome to My Website</h2>
|
| 447 |
+
<p class="mb-6">Generated by AI based on your description</p>
|
| 448 |
+
<button class="bg-white text-purple-600 hover:bg-gray-100 px-6 py-2 rounded">Get Started</button>
|
| 449 |
+
</div>
|
| 450 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
|
| 451 |
+
<div>
|
| 452 |
+
<h3 class="text-xl font-bold mb-3">About This Site</h3>
|
| 453 |
+
<p class="text-gray-600">This website was automatically generated based on your description: "${description.substring(0, 100)}..."</p>
|
| 454 |
+
</div>
|
| 455 |
+
<div>
|
| 456 |
+
<h3 class="text-xl font-bold mb-3">Key Features</h3>
|
| 457 |
+
<ul class="list-disc list-inside text-gray-600">
|
| 458 |
+
<li>Fully responsive design</li>
|
| 459 |
+
<li>Modern UI components</li>
|
| 460 |
+
<li>Easy to customize</li>
|
| 461 |
+
<li>SEO optimized</li>
|
| 462 |
+
</ul>
|
| 463 |
+
</div>
|
| 464 |
+
</div>
|
| 465 |
+
<div class="bg-gray-100 p-6 rounded-lg text-center">
|
| 466 |
+
<h3 class="text-xl font-bold mb-3">Ready to Publish?</h3>
|
| 467 |
+
<p class="mb-4">Download your complete website package or connect to a hosting service.</p>
|
| 468 |
+
<button class="bg-purple-600 hover:bg-purple-700 text-white px-6 py-2 rounded mr-3">Download</button>
|
| 469 |
+
<button class="bg-white border border-purple-600 text-purple-600 hover:bg-gray-50 px-6 py-2 rounded">Publish Online</button>
|
| 470 |
+
</div>
|
| 471 |
+
</div>
|
| 472 |
+
`;
|
| 473 |
+
}
|
| 474 |
+
|
| 475 |
+
// Scroll to preview
|
| 476 |
+
document.querySelector('.preview-window').scrollIntoView({ behavior: 'smooth' });
|
| 477 |
+
}
|
| 478 |
+
</script>
|
| 479 |
<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=sap-ai/duoling-horror" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 480 |
</html>
|
prompts.txt
CHANGED
|
@@ -2,4 +2,5 @@ Build a 3d first person dulingo horror game using https://sketchfab.com/3d-model
|
|
| 2 |
Make the assets better and improve the game.
|
| 3 |
Build a claud clone
|
| 4 |
Build deepsite.
|
| 5 |
-
Add ai website genoration.
|
|
|
|
|
|
| 2 |
Make the assets better and improve the game.
|
| 3 |
Build a claud clone
|
| 4 |
Build deepsite.
|
| 5 |
+
Add ai website genoration.
|
| 6 |
+
Build an ai website generator
|