Morphus2025's picture
BaobabVote
9b71b4e verified
Raw History Blame Contribute Delete
4.23 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CodeCanvas Creator Studio</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#6366f1',
secondary: '#8b5cf6',
accent: '#ec4899'
},
fontFamily: {
sans: ['Inter var', 'system-ui', 'sans-serif'],
mono: ['Fira Code', 'monospace']
}
}
}
}
</script>
<style>
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-20px); }
}
.floating {
animation: float 6s ease-in-out infinite;
}
.gradient-text {
background: linear-gradient(45deg, #6366f1, #8b5cf6, #ec4899);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
</style>
</head>
<body class="bg-gradient-to-br from-gray-50 to-gray-100 min-h-screen font-sans">
<div class="relative overflow-hidden">
<!-- Animated background elements -->
<div class="absolute -top-20 -left-20 w-64 h-64 rounded-full bg-primary/10 blur-3xl"></div>
<div class="absolute -bottom-20 -right-20 w-72 h-72 rounded-full bg-secondary/10 blur-3xl"></div>
<div class="container mx-auto px-6 py-16 md:py-24 flex flex-col items-center justify-center min-h-screen">
<div class="max-w-4xl w-full text-center relative z-10">
<!-- Badge -->
<span class="inline-flex items-center px-3 py-1 rounded-full text-xs font-medium bg-primary/10 text-primary mb-6">
<i data-feather="zap" class="w-3 h-3 mr-1"></i>
Version 2.0
</span>
<!-- Main heading -->
<h1 class="text-4xl sm:text-5xl md:text-6xl font-bold tracking-tight mb-6">
<span class="block text-gray-500 text-xl sm:text-2xl mb-2">Welcome to</span>
<span class="gradient-text">CodeCanvas Creator Studio</span>
</h1>
<p class="text-lg sm:text-xl text-gray-600 max-w-2xl mx-auto mb-10">
Where pixels meet perfection and code becomes art. Let's build something amazing together.
</p>
<!-- CTA Button -->
<div class="flex flex-col sm:flex-row gap-4 justify-center">
<a href="generate.html" class="px-6 py-3 bg-primary hover:bg-primary/90 text-white font-medium rounded-lg shadow-md hover:shadow-lg transition-all duration-300 flex items-center justify-center">
<i data-feather="play" class="w-4 h-4 mr-2"></i>
Start Creating
</a>
<a href="baobabvote.html" class="px-6 py-3 bg-secondary hover:bg-secondary/90 text-white font-medium rounded-lg shadow-md hover:shadow-lg transition-all duration-300 flex items-center justify-center">
<i data-feather="shield" class="w-4 h-4 mr-2"></i>
BaobabVote
</a>
</div>
<!-- Floating illustration -->
<div class="mt-16 relative">
<div class="floating">
<img src="http://static.photos/technology/640x360/42" alt="Creative coding" class="rounded-2xl shadow-xl border-8 border-white mx-auto w-full max-w-2xl">
</div>
<div class="absolute -bottom-6 -right-6 w-24 h-24 rounded-full bg-accent/20 blur-xl"></div>
</div>
</div>
</div>
</div>
<script>
feather.replace();
// Simple animation for elements
document.addEventListener('DOMContentLoaded', () => {
const elements = document.querySelectorAll('h1, p, button');
elements.forEach((el, i) => {
el.style.opacity = '0';
el.style.transform = 'translateY(20px)';
el.style.transition = `all 0.6s ease ${i * 0.1}s`;
setTimeout(() => {
el.style.opacity = '1';
el.style.transform = 'translateY(0)';
}, 100);
});
});
</script>
</body>
</html>