codegenius-wizardry / index.html
Maticulous75's picture
extend this <!DOCTYPE html>
c04a4ce verified
Raw History Blame Contribute Delete
23.9 kB
<!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>