codehive-connect / index.html
AFKKK3's picture
i want it like a app and make it not an academy website, no i want it like student community to share there projects and etc
3f83b3e verified
Raw History Blame Contribute Delete
18.1 kB
<!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>&copy; 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>