Spaces:
Running
Running
File size: 15,279 Bytes
4b80903 83e37c7 | 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DevHive Community π</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<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: '#3B82F6',
secondary: '#10B981',
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
}
.class-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.floating-btn {
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
</style>
</head>
<body class="bg-gray-50">
<!-- Navigation -->
<nav class="bg-white shadow-lg">
<div class="max-w-6xl mx-auto px-4">
<div class="flex justify-between items-center py-4">
<div class="flex items-center space-x-4">
<i data-feather="code" class="text-primary h-8 w-8"></i>
<span class="font-semibold text-gray-900 text-xl">DevHive π</span>
</div>
<div class="hidden md:flex items-center space-x-8">
<a href="#" class="text-gray-900 hover:text-primary transition">Home</a>
<a href="#" class="text-gray-900 hover:text-primary transition">Projects</a>
<a href="#" class="text-gray-900 hover:text-primary transition">Members</a>
<a href="#" class="text-gray-900 hover:text-primary transition">Chat</a>
</div>
<div class="md:hidden">
<button class="outline-none">
<i data-feather="menu" class="h-6 w-6"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<div class="relative bg-gradient-to-r from-primary to-secondary py-20">
<div class="absolute inset-0 opacity-20"></div>
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 relative">
<div class="text-center">
<h1 class="text-4xl md:text-5xl font-bold text-white mb-4">DevHive Community π</h1>
<p class="text-xl text-white opacity-90 max-w-2xl mx-auto">Share, collaborate and grow together with fellow developers!</p>
<div class="mt-8">
<button class="bg-white text-primary hover:bg-gray-100 font-semibold py-3 px-6 rounded-full shadow-lg transition duration-300 transform hover:scale-105">
Explore Classes
</button>
</div>
</div>
</div>
</div>
<!-- Classes Section -->
<section class="py-16 bg-gray-50">
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
<h2 class="text-3xl font-bold text-center text-gray-900 mb-12">Featured Projects</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Class 1/1 -->
<div class="bg-white rounded-xl shadow-md overflow-hidden class-card transition duration-300">
<div class="p-6">
<div class="flex items-center justify-center h-16 w-16 rounded-full bg-primary bg-opacity-10 text-primary mb-4">
<i data-feather="cpu" class="h-8 w-8"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-2">Web Projects</h3>
<p class="text-gray-600 mb-6">See what others are building with HTML, CSS and JavaScript.</p>
<div class="flex justify-between items-center">
<span class="inline-flex items-center px-3 py-1 rounded-full text-sm font-medium bg-primary bg-opacity-10 text-primary">
25 Students
</span>
<button class="text-secondary hover:text-secondary-dark font-medium flex items-center">
View Projects <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
</button>
</div>
</div>
<div class="bg-gray-50 px-6 py-4 border-t">
<button class="w-full bg-primary hover:bg-primary-dark text-white py-2 px-4 rounded-lg transition flex items-center justify-center">
<i data-feather="plus" class="mr-2 h-4 w-4"></i> Create Your Folder
</button>
</div>
</div>
<!-- Class 1/2 -->
<div class="bg-white rounded-xl shadow-md overflow-hidden class-card transition duration-300">
<div class="p-6">
<div class="flex items-center justify-center h-16 w-16 rounded-full bg-secondary bg-opacity-10 text-secondary mb-4">
<i data-feather="code" class="h-8 w-8"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-2">Mobile Apps</h3>
<p class="text-gray-600 mb-6">Check out innovative mobile applications from our members.</p>
<div class="flex justify-between items-center">
<span class="inline-flex items-center px-3 py-1 rounded-full text-sm font-medium bg-secondary bg-opacity-10 text-secondary">
30 Students
</span>
<button class="text-secondary hover:text-secondary-dark font-medium flex items-center">
View Projects <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
</button>
</div>
</div>
<div class="bg-gray-50 px-6 py-4 border-t">
<button class="w-full bg-secondary hover:bg-secondary-dark text-white py-2 px-4 rounded-lg transition flex items-center justify-center">
<i data-feather="plus" class="mr-2 h-4 w-4"></i> Create Your Folder
</button>
</div>
</div>
<!-- Class 1/3 -->
<div class="bg-white rounded-xl shadow-md overflow-hidden class-card transition duration-300">
<div class="p-6">
<div class="flex items-center justify-center h-16 w-16 rounded-full bg-purple-500 bg-opacity-10 text-purple-500 mb-4">
<i data-feather="zap" class="h-8 w-8"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-2">Game Dev</h3>
<p class="text-gray-600 mb-6">Explore creative game projects from the community.</p>
<div class="flex justify-between items-center">
<span class="inline-flex items-center px-3 py-1 rounded-full text-sm font-medium bg-purple-500 bg-opacity-10 text-purple-500">
20 Students
</span>
<button class="text-secondary hover:text-secondary-dark font-medium flex items-center">
View Projects <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
</button>
</div>
</div>
<div class="bg-gray-50 px-6 py-4 border-t">
<button class="w-full bg-purple-500 hover:bg-purple-600 text-white py-2 px-4 rounded-lg transition flex items-center justify-center">
<i data-feather="plus" class="mr-2 h-4 w-4"></i> Create Your Folder
</button>
</div>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="py-16 bg-white">
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
<h2 class="text-3xl font-bold text-center text-gray-900 mb-12">Why Join DevHive?</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="text-center p-6 rounded-lg hover:bg-gray-50 transition">
<div class="flex items-center justify-center h-16 w-16 rounded-full bg-primary bg-opacity-10 text-primary mx-auto mb-4">
<i data-feather="users" class="h-8 w-8"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-2">Project Sharing</h3>
<p class="text-gray-600">Showcase your work and get feedback from other developers.</p>
</div>
<div class="text-center p-6 rounded-lg hover:bg-gray-50 transition">
<div class="flex items-center justify-center h-16 w-16 rounded-full bg-secondary bg-opacity-10 text-secondary mx-auto mb-4">
<i data-feather="folder" class="h-8 w-8"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-2">Real-time Chat</h3>
<p class="text-gray-600">Connect with other members instantly to discuss ideas.</p>
</div>
<div class="text-center p-6 rounded-lg hover:bg-gray-50 transition">
<div class="flex items-center justify-center h-16 w-16 rounded-full bg-purple-500 bg-opacity-10 text-purple-500 mx-auto mb-4">
<i data-feather="award" class="h-8 w-8"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-2">Find Collaborators</h3>
<p class="text-gray-600">Team up with other developers for your next big project.</p>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="py-16 bg-gradient-to-r from-primary to-secondary">
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<h2 class="text-3xl font-bold text-white mb-4">Ready to Start Coding?</h2>
<p class="text-xl text-white opacity-90 mb-8 max-w-2xl mx-auto">Join our community of young innovators and start your programming journey today.</p>
<div class="flex justify-center space-x-4">
<button class="bg-white text-primary hover:bg-gray-100 font-semibold py-3 px-6 rounded-full shadow-lg transition duration-300 transform hover:scale-105">
Join Now
</button>
<button class="bg-transparent border-2 border-white text-white hover:bg-white hover:text-primary font-semibold py-3 px-6 rounded-full shadow-lg transition duration-300 transform hover:scale-105">
Learn More
</button>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-12">
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<div class="flex items-center space-x-2 mb-4">
<i data-feather="code" class="text-primary h-8 w-8"></i>
<span class="font-semibold text-xl">DevHive π</span>
</div>
<p class="text-gray-400">A buzzing community where developers share projects and grow together.</p>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Categories</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Web Development</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Mobile Apps</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Game Development</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Community</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Member Spotlights</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Events</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Developer Stories</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Connect</h4>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="twitter" class="h-6 w-6"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="instagram" class="h-6 w-6"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="github" class="h-6 w-6"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="youtube" class="h-6 w-6"></i>
</a>
</div>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-400">
<p>© 2023 DevHive Community. All rights reserved.</p>
</div>
</div>
</footer>
<script>
feather.replace();
// Animation for class cards on scroll
document.addEventListener('DOMContentLoaded', function() {
const classCards = document.querySelectorAll('.class-card');
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.style.opacity = '1';
entry.target.style.transform = 'translateY(0)';
}
});
}, { threshold: 0.1 });
classCards.forEach((card, index) => {
card.style.opacity = '0';
card.style.transform = 'translateY(20px)';
card.style.transition = `opacity 0.5s ease ${index * 0.1}s, transform 0.5s ease ${index * 0.1}s`;
observer.observe(card);
});
});
</script>
</body>
</html>
|