File size: 23,928 Bytes
c04a4ce 68ed1a5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CodeGenius Wizardry</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#3B82F6', // Default blue if undefined
secondary: '#10B981', // Default teal if undefined
dark: '#1E293B',
light: '#F8FAFC',
accent: '#F59E0B'
},
animation: {
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'float': 'float 6s ease-in-out infinite'
},
keyframes: {
float: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-10px)' }
}
}
}
}
}
</script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.waves.min.js"></script>
<style>
.code-editor {
background-color: #1E293B;
color: #E2E8F0;
font-family: 'Fira Code', monospace;
border-radius: 0.75rem;
}
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #1E293B;
}
::-webkit-scrollbar-thumb {
background: #3B82F6;
border-radius: 4px;
}
.gradient-text {
background: linear-gradient(90deg, #3B82F6 0%, #10B981 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.glow {
box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}
</style>
</head>
<body class="bg-dark text-light min-h-screen overflow-x-hidden">
<div id="vanta-bg" class="fixed inset-0 opacity-10 pointer-events-none"></div>
<div class="container mx-auto px-4 py-8 relative z-10 max-w-7xl">
<!-- Floating Magic Elements -->
<div class="absolute -top-20 -left-20 w-40 h-40 rounded-full bg-primary opacity-10 filter blur-3xl"></div>
<div class="absolute -bottom-20 -right-20 w-60 h-60 rounded-full bg-secondary opacity-10 filter blur-3xl"></div>
<!-- Header -->
<header class="flex justify-between items-center mb-12">
<div class="flex items-center space-x-3">
<div class="p-2 bg-primary bg-opacity-20 rounded-lg">
<i data-feather="zap" class="w-8 h-8 text-primary"></i>
</div>
<h1 class="text-3xl font-bold gradient-text tracking-tight">
CodeGenius Wizardry
</h1>
</div>
<div class="flex items-center space-x-4">
<button class="px-4 py-2 bg-primary bg-opacity-20 text-primary rounded-lg hover:bg-opacity-30 transition flex items-center">
<i data-feather="github" class="mr-2"></i>
GitHub
</button>
<button class="px-4 py-2 bg-primary rounded-lg hover:bg-opacity-90 transition flex items-center glow">
<i data-feather="user" class="mr-2"></i>
Sign In
</button>
</div>
</header>
<!-- Hero Section -->
<div class="text-center mb-12 mt-8 relative">
<h2 class="text-4xl md:text-5xl font-bold mb-6 gradient-text leading-tight">
Conjure Stunning Code <br> with AI Magic
</h2>
<p class="text-xl text-gray-300 max-w-3xl mx-auto mb-8">
Describe your vision and watch as our AI wizard transforms it into beautiful, functional code in real-time.
</p>
<div class="flex justify-center space-x-4">
<button class="px-6 py-3 bg-primary rounded-lg hover:bg-opacity-90 transition flex items-center glow">
<i data-feather="play" class="mr-2"></i>
Start Creating
</button>
<button class="px-6 py-3 bg-gray-700 bg-opacity-50 rounded-lg hover:bg-opacity-70 transition flex items-center">
<i data-feather="book-open" class="mr-2"></i>
Learn More
</button>
</div>
</div>
<!-- Project Setup -->
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-8 mb-8 backdrop-blur-sm border border-gray-700">
<h2 class="text-2xl font-semibold mb-6 text-primary flex items-center">
<i data-feather="edit-3" class="mr-2"></i>
Project Details
</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6">
<div>
<label class="block mb-2 text-gray-300">Project Title</label>
<input type="text" placeholder="My Awesome App"
class="w-full p-3 bg-gray-700 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent">
</div>
<div>
<label class="block mb-2 text-gray-300">Description</label>
<input type="text" placeholder="A social network for cats..."
class="w-full p-3 bg-gray-700 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent">
</div>
<div>
<label class="block mb-2 text-gray-300">Color Theme</label>
<select class="w-full p-3 bg-gray-700 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent">
<option>Modern</option>
<option>Dark</option>
<option>Light</option>
<option>Vibrant</option>
<option>Pastel</option>
</select>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
<div>
<label class="block mb-2 text-gray-300">Framework</label>
<div class="flex space-x-4">
<button class="px-4 py-2 bg-gray-700 rounded-lg flex items-center hover:bg-gray-600 transition">
<i data-feather="react" class="mr-2 text-blue-400"></i>
React
</button>
<button class="px-4 py-2 bg-gray-700 rounded-lg flex items-center hover:bg-gray-600 transition">
<i data-feather="vue" class="mr-2 text-green-400"></i>
Vue
</button>
<button class="px-4 py-2 bg-gray-700 rounded-lg flex items-center hover:bg-gray-600 transition">
<i data-feather="angular" class="mr-2 text-red-400"></i>
Angular
</button>
</div>
</div>
<div>
<label class="block mb-2 text-gray-300">CSS Framework</label>
<div class="flex space-x-4">
<button class="px-4 py-2 bg-gray-700 rounded-lg flex items-center hover:bg-gray-600 transition">
<i data-feather="wind" class="mr-2 text-teal-400"></i>
Tailwind
</button>
<button class="px-4 py-2 bg-gray-700 rounded-lg flex items-center hover:bg-gray-600 transition">
<i data-feather="css" class="mr-2 text-purple-400"></i>
CSS
</button>
</div>
</div>
</div>
<button id="generate-btn" class="mt-6 px-8 py-4 bg-primary rounded-lg hover:bg-opacity-90 transition flex items-center mx-auto glow text-lg">
<i data-feather="wand" class="mr-2 animate-pulse"></i>
Begin the Magic
</button>
</div>
<!-- Stats Section -->
<div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-12">
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 backdrop-blur-sm border border-gray-700">
<div class="flex items-center space-x-3">
<div class="p-2 bg-primary bg-opacity-20 rounded-lg">
<i data-feather="code" class="w-5 h-5 text-primary"></i>
</div>
<div>
<p class="text-gray-300">Projects Created</p>
<p class="text-2xl font-bold">1,024+</p>
</div>
</div>
</div>
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 backdrop-blur-sm border border-gray-700">
<div class="flex items-center space-x-3">
<div class="p-2 bg-purple-500 bg-opacity-20 rounded-lg">
<i data-feather="cpu" class="w-5 h-5 text-purple-400"></i>
</div>
<div>
<p class="text-gray-300">AI Models</p>
<p class="text-2xl font-bold">3</p>
</div>
</div>
</div>
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 backdrop-blur-sm border border-gray-700">
<div class="flex items-center space-x-3">
<div class="p-2 bg-secondary bg-opacity-20 rounded-lg">
<i data-feather="clock" class="w-5 h-5 text-secondary"></i>
</div>
<div>
<p class="text-gray-300">Average Time Saved</p>
<p class="text-2xl font-bold">4.7 hrs</p>
</div>
</div>
</div>
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 backdrop-blur-sm border border-gray-700">
<div class="flex items-center space-x-3">
<div class="p-2 bg-accent bg-opacity-20 rounded-lg">
<i data-feather="users" class="w-5 h-5 text-accent"></i>
</div>
<div>
<p class="text-gray-300">Happy Developers</p>
<p class="text-2xl font-bold">850+</p>
</div>
</div>
</div>
</div>
<!-- Features Section -->
<div class="mb-16">
<h2 class="text-3xl font-bold mb-12 text-center gradient-text">Magical Features</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 backdrop-blur-sm border border-gray-700 hover:border-primary transition transform hover:-translate-y-1">
<div class="p-3 bg-primary bg-opacity-20 rounded-lg mb-4 w-12 h-12 flex items-center justify-center">
<i data-feather="compass" class="w-5 h-5 text-primary"></i>
</div>
<h3 class="text-xl font-semibold mb-3">Smart Guidance</h3>
<p class="text-gray-300">Our AI intuitively understands your needs and suggests optimal solutions.</p>
</div>
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 backdrop-blur-sm border border-gray-700 hover:border-secondary transition transform hover:-translate-y-1">
<div class="p-3 bg-secondary bg-opacity-20 rounded-lg mb-4 w-12 h-12 flex items-center justify-center">
<i data-feather="layers" class="w-5 h-5 text-secondary"></i>
</div>
<h3 class="text-xl font-semibold mb-3">Multi-Language</h3>
<p class="text-gray-300">Generate code in JavaScript, Python, HTML/CSS, and more with perfect syntax.</p>
</div>
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 backdrop-blur-sm border border-gray-700 hover:border-accent transition transform hover:-translate-y-1">
<div class="p-3 bg-accent bg-opacity-20 rounded-lg mb-4 w-12 h-12 flex items-center justify-center">
<i data-feather="refresh-cw" class="w-5 h-5 text-accent"></i>
</div>
<h3 class="text-xl font-semibold mb-3">Real-Time Updates</h3>
<p class="text-gray-300">See changes instantly as you refine your requirements with the AI.</p>
</div>
</div>
</div>
<!-- Testimonials -->
<div class="mb-16">
<h2 class="text-3xl font-bold mb-12 text-center gradient-text">Wizard Testimonials</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 backdrop-blur-sm border border-gray-700">
<div class="flex items-center mb-4">
<img src="http://static.photos/people/200x200/1" class="w-12 h-12 rounded-full mr-4">
<div>
<h4 class="font-semibold">Sarah Johnson</h4>
<p class="text-sm text-gray-400">Frontend Developer</p>
</div>
</div>
<p class="text-gray-300">"This tool cut my development time in half. The AI suggestions are incredibly accurate and helpful."</p>
<div class="flex mt-4">
<i data-feather="star" class="w-4 h-4 text-yellow-400 fill-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 fill-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 fill-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 fill-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 fill-yellow-400"></i>
</div>
</div>
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 backdrop-blur-sm border border-gray-700">
<div class="flex items-center mb-4">
<img src="http://static.photos/people/200x200/2" class="w-12 h-12 rounded-full mr-4">
<div>
<h4 class="font-semibold">Michael Chen</h4>
<p class="text-sm text-gray-400">Fullstack Engineer</p>
</div>
</div>
<p class="text-gray-300">"The real-time preview feature is game-changing. I can experiment with designs instantly without writing code."</p>
<div class="flex mt-4">
<i data-feather="star" class="w-4 h-4 text-yellow-400 fill-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 fill-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 fill-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 fill-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400"></i>
</div>
</div>
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 backdrop-blur-sm border border-gray-700">
<div class="flex items-center mb-4">
<img src="http://static.photos/people/200x200/3" class="w-12 h-12 rounded-full mr-4">
<div>
<h4 class="font-semibold">David Rodriguez</h4>
<p class="text-sm text-gray-400">UI/UX Designer</p>
</div>
</div>
<p class="text-gray-300">"As a designer who struggles with code, this has been a lifesaver. I can now create prototypes that actually work!"</p>
<div class="flex mt-4">
<i data-feather="star" class="w-4 h-4 text-yellow-400 fill-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 fill-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 fill-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 fill-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 fill-yellow-400"></i>
</div>
</div>
</div>
</div>
<!-- CTA Section -->
<div class="bg-gradient-to-r from-primary to-secondary p-0.5 rounded-xl mb-16">
<div class="bg-gray-900 rounded-xl p-8 text-center">
<h2 class="text-3xl font-bold mb-4">Ready to Work Your Magic?</h2>
<p class="text-xl text-gray-300 mb-6 max-w-2xl mx-auto">Join thousands of developers who are creating stunning projects faster than ever before.</p>
<button class="px-8 py-4 bg-gradient-to-r from-primary to-secondary rounded-lg hover:opacity-90 transition flex items-center mx-auto glow">
<i data-feather="zap" class="mr-2"></i>
Start Creating for Free
</button>
</div>
</div>
<!-- Footer -->
<footer class="border-t border-gray-800 pt-8 pb-12">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center space-x-3 mb-6 md:mb-0">
<i data-feather="zap" class="w-6 h-6 text-primary"></i>
<span class="text-xl font-bold">CodeGenius Wizardry</span>
</div>
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
<div>
<h4 class="font-semibold mb-3">Product</h4>
<ul class="space-y-2 text-gray-400">
<li><a href="#" class="hover:text-primary transition">Features</a></li>
<li><a href="#" class="hover:text-primary transition">Pricing</a></li>
<li><a href="#" class="hover:text-primary transition">Examples</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-3">Resources</h4>
<ul class="space-y-2 text-gray-400">
<li><a href="#" class="hover:text-primary transition">Docs</a></li>
<li><a href="#" class="hover:text-primary transition">Tutorials</a></li>
<li><a href="#" class="hover:text-primary transition">Blog</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-3">Company</h4>
<ul class="space-y-2 text-gray-400">
<li><a href="#" class="hover:text-primary transition">About</a></li>
<li><a href="#" class="hover:text-primary transition">Careers</a></li>
<li><a href="#" class="hover:text-primary transition">Contact</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-3">Legal</h4>
<ul class="space-y-2 text-gray-400">
<li><a href="#" class="hover:text-primary transition">Privacy</a></li>
<li><a href="#" class="hover:text-primary transition">Terms</a></li>
<li><a href="#" class="hover:text-primary transition">Cookies</a></li>
</ul>
</div>
</div>
</div>
<div class="mt-12 pt-6 border-t border-gray-800 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-500 mb-4 md:mb-0">© 2023 CodeGenius Wizardry. All rights reserved.</p>
<div class="flex space-x-4">
<a href="#" class="text-gray-500 hover:text-primary transition"><i data-feather="twitter"></i></a>
<a href="#" class="text-gray-500 hover:text-primary transition"><i data-feather="github"></i></a>
<a href="#" class="text-gray-500 hover:text-primary transition"><i data-feather="linkedin"></i></a>
<a href="#" class="text-gray-500 hover:text-primary transition"><i data-feather="discord"></i></a>
</div>
</div>
</footer>
</div>
<script>
// Initialize Vanta.js background
VANTA.WAVES({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x3b82f6,
shininess: 35.00,
waveHeight: 15.00,
waveSpeed: 0.50,
zoom: 0.75
});
// Initialize Feather Icons
feather.replace();
// Animate elements on scroll
const animateOnScroll = () => {
const elements = document.querySelectorAll('.transform');
elements.forEach(el => {
const elTop = el.getBoundingClientRect().top;
const windowHeight = window.innerHeight;
if (elTop < windowHeight - 100) {
el.classList.add('translate-y-0');
el.classList.remove('opacity-0');
}
});
};
// Run on load and scroll
window.addEventListener('load', animateOnScroll);
window.addEventListener('scroll', animateOnScroll);
// Mock code generation
document.getElementById('generate-btn').addEventListener('click', function() {
const btn = this;
btn.innerHTML = '<i data-feather="loader" class="animate-spin mr-2"></i> Conjuring Code...';
feather.replace();
// Simulate loading
setTimeout(() => {
btn.innerHTML = '<i data-feather="check" class="mr-2"></i> Magic Complete!';
setTimeout(() => {
btn.innerHTML = '<i data-feather="wand" class="mr-2"></i> Begin the Magic';
}, 2000);
}, 3000);
});
// Tooltips for framework buttons
const frameworkButtons = document.querySelectorAll('.flex.space-x-4 button');
frameworkButtons.forEach(btn => {
btn.addEventListener('mouseenter', () => {
const icon = btn.querySelector('i');
const currentColor = icon.classList[1].split('-')[1];
btn.classList.add(`border-${currentColor}-400`);
btn.classList.add('glow');
});
btn.addEventListener('mouseleave', () => {
const icon = btn.querySelector('i');
const currentColor = icon.classList[1].split('-')[1];
btn.classList.remove(`border-${currentColor}-400`);
btn.classList.remove('glow');
});
});
</script>
</body>
</html>
|