Spaces:
Running
Running
Download index.html from AFKKK3/devhive-community: direct link, hf CLI and curl.
- Browser
- Download file 15.3 kB
-
https://huggingface.co/spaces/AFKKK3/devhive-community/resolve/main/index.html
- Command line
-
hf download hf://spaces/AFKKK3/devhive-community/index.html
-
curl -L -o index.html https://huggingface.co/spaces/AFKKK3/devhive-community/resolve/main/index.html
15.3 kB
| <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> | |