+
+
+
Our Events
+
Join us for exciting workshops, hackathons, and networking opportunities
+
+
+
+
+
+
+ Ongoing Events
+
+
+ Upcoming Events
+
+
+ Previous Events
+
+
+
+
+
+
+
Currently Running
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ No ${status} events found
+
+
+ `;
+ return;
+ }
+
+ categoryEvents.forEach(event => {
+ const eventCard = createEventCard(event, status);
+ container.appendChild(eventCard);
+ });
+}
+
+// Create event card element
+function createEventCard(event, status) {
+ const eventDate = new Date(event.date);
+ const formattedDate = eventDate.toLocaleDateString('en-US', {
+ year: 'numeric',
+ month: 'short',
+ day: 'numeric'
+ });
+
+ const card = document.createElement('div');
+ card.className = 'bg-gray-800 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-all duration-300 transform hover:-translate-y-1';
+
+ const statusBadge = status === 'ongoing'
+ ? '
+
+
+ ${formattedDate}
+
+
+ ${event.time}
+
+
+
${event.title}
+
${event.description}
+
+
+ ${Math.floor(Math.random() * 50) + 10} registered
+ ${status === 'previous' ? 'Offline' : 'Online'}
+
+ ${status !== 'previous' ? `
+
+ Register
+
+ ` : `
+
+ Completed
+
+ `}
+
+
+ `;
+
+ return card;
+}
+
+// Open registration modal
+function openRegistrationModal(eventTitle) {
+ const modal = document.getElementById('registrationModal');
+ const titleElement = document.getElementById('eventTitle');
+
+ if (modal && titleElement) {
+ titleElement.textContent = eventTitle;
+ modal.classList.remove('hidden');
+ modal.classList.add('flex');
+ }
+}
+
+// Close modal
+function closeModal(modalId) {
+ const modal = document.getElementById(modalId);
+ if (modal) {
+ modal.classList.add('hidden');
+ modal.classList.remove('flex');
+
+ // Reset form if it's registration form
+ if (modalId === 'registrationModal') {
+ const form = document.getElementById('registrationForm');
+ if (form) {
+ form.reset();
+ }
+ }
+ }
+}
+
+// Handle registration form submission
+function handleRegistration(e) {
+ e.preventDefault();
+
+ const formData = new FormData(e.target);
+ const registration = {
+ eventTitle: document.getElementById('eventTitle').textContent,
+ fullName: e.target[0].value,
+ email: e.target[1].value,
+ phone: e.target[2].value,
+ college: e.target[3].value,
+ year: e.target[4].value,
+ teamMembers: e.target[5].value,
+ comments: e.target[6].value,
+ timestamp: new Date().toISOString()
+ };
+
+ // In a real app, you would send this data to your backend
+ console.log('Registration submitted:', registration);
+
+ // Store in localStorage for demo purposes
+ let registrations = JSON.parse(localStorage.getItem('eventRegistrations') || '[]');
+ registrations.push(registration);
+ localStorage.setItem('eventRegistrations', JSON.stringify(registrations));
+
+ // Close modal and reset form
+ closeModal('registrationModal');
+ e.target.reset();
+
+ // Show success message
+ showNotification('Registration submitted successfully! We will contact you soon.', 'success');
+}
+
+// Show notification
+function showNotification(message, type = 'info') {
+ const notification = document.createElement('div');
+ notification.className = `fixed top-4 right-4 z-50 p-4 rounded-lg shadow-lg transform transition-all duration-300 ${
+ type === 'success' ? 'bg-green-500' : 'bg-blue-500'
+ } text-white`;
+ notification.innerHTML = `
+
+
+
+ About DEVHIVE
+ Empowering developers through collaboration, innovation, and continuous learning
+
+
+
+
+
+
+
+
+
+
Our Mission
+
At DEVHIVE, we're dedicated to fostering a vibrant community of developers who are passionate about technology and innovation. Our mission is to provide a platform for learning, collaboration, and growth in the ever-evolving world of software development.
+
Whether you're a beginner looking to start your coding journey or an experienced developer seeking to expand your skills, DEVHIVE is your go-to community for all things tech.
+
+
+
+
+
+
+ What We Do
+
+
+
👨💻
+
Coding Workshops
+
Hands-on workshops covering the latest technologies and programming languages.
+
+
+
🤝
+
Networking
+
Connect with like-minded developers and industry professionals.
+
+
+
🚀
+
Hackathons
+
Compete in exciting hackathons to build innovative projects.
+
+
+
+
+
+ OUR CORE TEAM
+
+
+
+
+ 💻
+
+
Tech Team
+
Our tech wizards who bring ideas to life with cutting-edge solutions and innovative code.
+
+
+
+
+
+ 🎨
+
+
Design Team
+
Creative minds crafting beautiful and intuitive user experiences that captivate and engage.
+
+
+
+
+
+ 📅
+
+
Event Management
+
Master organizers who bring our community together through unforgettable events and workshops.
+
+
+
+
+
+ 📢
+
+
PR Team
+
Our communication experts who build bridges between the community and our initiatives.
+
+
+
+
+
+
+ Join Our Community
+ Become part of a growing community of passionate developers. Let's learn, build, and innovate together!
+ Join Now
+
+
+
+
+
+
+
+
+
+
Login - DEVHIVE
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..9bf8577
--- /dev/null
+++ b/index.html
@@ -0,0 +1,90 @@
+
+
+
+
+
+
+
+
+
DEVHIVE
+
+
+
+
+
+
+
+
+ C++
+
+
+ DSA
+
+
+ C
+
+
+ Python
+
+
+ JavaScript
+
+
+ AI/ML
+
+
+ DS
+
+
+
+
+
+
+
+
+ Welcome to
+
+ DevHive Club
+
+
+
+ Where developers gather, learn, and build amazing things together
+
+
+
+
+
+
Made with 💖 by DevHive Club
+
+
+
+
+
\ No newline at end of file
diff --git a/indexafterlogin.html b/indexafterlogin.html
new file mode 100644
index 0000000..6ad10dc
--- /dev/null
+++ b/indexafterlogin.html
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+
DEVHIVE
+
+
+
+
+
+
+
+
+ C++
+
+
+ DSA
+
+
+ C
+
+
+ Python
+
+
+ JavaScript
+
+
+ AI/ML
+
+
+ DS
+
+
+
+
+
+
+
+
+ Welcome to
+
+ DevHive Club
+
+
+
+ Where developers gather, learn, and build amazing things together
+
+
+
+
+
+
Made with 💖 by DevHive Club
+
+
+
+
\ No newline at end of file
diff --git a/readme.md b/readme.md
new file mode 100644
index 0000000..b1187a0
--- /dev/null
+++ b/readme.md
@@ -0,0 +1,21 @@
+
+## 📁 Project Structure
+
+```devhive-club/
+├── backend/ # Backend code (APIs, server, database)
+├── frontend/ # Frontend code (UI, components, pages)
+│ ├── public/ # Pages files
+│ └── src/ # components and pages
+├── assets/ # Images and other static assets
+└── README.md # This file
+```
+
+## 🌳 Branch Structure
+
+- `main` - Production-ready code
+- `frontend` - Frontend code
+- `backend` - Backend code
+
+---
+
+Made with ❤️ by the DevHive Club Team
diff --git a/readme.txt b/readme.txt
deleted file mode 100644
index d7a44c3..0000000
--- a/readme.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-# 🐝 DevHive Club Website
-
-Welcome to the official repository of the **DevHive Club**.
-This project contains the complete codebase for our club's official website, including both frontend and backend components.
-
----
-
-## 📁 Project Structure
-
-devhive-club/
-├── backend/ # Backend code (APIs, server, database)
-├── frontend/ # Frontend code (UI, components, pages)
-├── assets/ # for Images