Spaces:
Running
Running
File size: 18,068 Bytes
3f83b3e 976a09f | 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CodeHive Connect | Student Projects 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="share-2" class="text-primary h-8 w-8"></i>
<span class="font-semibold text-gray-900 text-xl">CodeHive Connect</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">Explore</a>
<a href="#" class="text-gray-900 hover:text-primary transition">Profile</a>
<a href="#" class="bg-primary text-white px-4 py-2 rounded-full hover:bg-primary-dark transition">Upload Project</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">Share & Discover Student Projects</h1>
<p class="text-xl text-white opacity-90 max-w-2xl mx-auto">A vibrant community where students showcase their work and get inspired!</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 mr-4">
Browse Projects
</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">
Share Yours
</button>
</div>
</div>
</div>
</div>
<!-- Featured Projects 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 Student Projects</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Project 1 -->
<div class="bg-white rounded-xl shadow-md overflow-hidden project-card transition duration-300">
<img src="http://static.photos/technology/640x360/1" alt="Project screenshot" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex items-center mb-4">
<img src="http://static.photos/people/200x200/1" alt="Student" class="h-10 w-10 rounded-full mr-3">
<div>
<h4 class="font-semibold">Alex Johnson</h4>
<p class="text-sm text-gray-500">Computer Science</p>
</div>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-2">Interactive Weather App</h3>
<p class="text-gray-600 mb-4">A real-time weather application using React and OpenWeather API.</p>
<div class="flex flex-wrap gap-2 mb-4">
<span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-primary bg-opacity-10 text-primary">
React
</span>
<span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-secondary bg-opacity-10 text-secondary">
API
</span>
</div>
<div class="flex items-center justify-between">
<div class="flex items-center text-gray-500">
<i data-feather="heart" class="h-4 w-4 mr-1"></i>
<span class="text-sm">142</span>
</div>
<button class="text-primary hover:text-primary-dark font-medium flex items-center">
View Details <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
</button>
</div>
</div>
</div>
<!-- Project 2 -->
<div class="bg-white rounded-xl shadow-md overflow-hidden project-card transition duration-300">
<img src="http://static.photos/education/640x360/2" alt="Project screenshot" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex items-center mb-4">
<img src="http://static.photos/people/200x200/2" alt="Student" class="h-10 w-10 rounded-full mr-3">
<div>
<h4 class="font-semibold">Maria Garcia</h4>
<p class="text-sm text-gray-500">Design</p>
</div>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-2">Eco-Friendly UI Kit</h3>
<p class="text-gray-600 mb-4">Sustainable design system for eco-conscious brands.</p>
<div class="flex flex-wrap gap-2 mb-4">
<span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-purple-500 bg-opacity-10 text-purple-500">
Figma
</span>
<span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-green-500 bg-opacity-10 text-green-500">
Sustainability
</span>
</div>
<div class="flex items-center justify-between">
<div class="flex items-center text-gray-500">
<i data-feather="heart" class="h-4 w-4 mr-1"></i>
<span class="text-sm">89</span>
</div>
<button class="text-primary hover:text-primary-dark font-medium flex items-center">
View Details <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
</button>
</div>
</div>
</div>
<!-- Project 3 -->
<div class="bg-white rounded-xl shadow-md overflow-hidden project-card transition duration-300">
<img src="http://static.photos/science/640x360/3" alt="Project screenshot" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex items-center mb-4">
<img src="http://static.photos/people/200x200/3" alt="Student" class="h-10 w-10 rounded-full mr-3">
<div>
<h4 class="font-semibold">Sam Wilson</h4>
<p class="text-sm text-gray-500">Engineering</p>
</div>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-2">Smart Irrigation System</h3>
<p class="text-gray-600 mb-4">IoT-based solution for efficient water management in agriculture.</p>
<div class="flex flex-wrap gap-2 mb-4">
<span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-blue-500 bg-opacity-10 text-blue-500">
IoT
</span>
<span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-orange-500 bg-opacity-10 text-orange-500">
Arduino
</span>
</div>
<div class="flex items-center justify-between">
<div class="flex items-center text-gray-500">
<i data-feather="heart" class="h-4 w-4 mr-1"></i>
<span class="text-sm">203</span>
</div>
<button class="text-primary hover:text-primary-dark font-medium flex items-center">
View Details <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
</button>
</div>
</div>
</div>
</div>
<div class="text-center mt-12">
<button class="bg-primary hover:bg-primary-dark text-white font-semibold py-3 px-6 rounded-full shadow-lg transition duration-300 transform hover:scale-105">
View All Projects
</button>
</div>
</div>
</section>
<!-- How It Works 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">How CodeHive Works</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="upload" class="h-8 w-8"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-2">Share Your Work</h3>
<p class="text-gray-600">Upload your projects with details about your process and technologies used.</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="eye" class="h-8 w-8"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-2">Get Discovered</h3>
<p class="text-gray-600">Showcase your skills to peers, educators, and potential employers.</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="message-square" class="h-8 w-8"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-2">Receive Feedback</h3>
<p class="text-gray-600">Get constructive comments and collaborate with other students.</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="share-2" class="text-primary h-8 w-8"></i>
<span class="font-semibold text-xl">CodeHive Connect</span>
</div>
<p class="text-gray-400">A platform for students to showcase projects, share knowledge, 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">Design</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Engineering</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Science</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Resources</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Popular Projects</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Recent Uploads</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Student Spotlights</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 CodeHive Connect. All rights reserved.</p>
</div>
</div>
</footer>
<script>
feather.replace();
// Animation for class cards on scroll
document.addEventListener('DOMContentLoaded', function() {
// Animation for project cards on scroll
const projectCards = document.querySelectorAll('.project-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 });
projectCards.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);
});
// Mobile menu toggle would go here
});
</script>
</body>
</html>
|