Spaces:
Running

undefined / index.html
bibekstha's picture
Prepare other pages also
6880bba verified
Raw History Blame Contribute Delete
22.9 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IDEAHUB 3D Portal | School of Science and Technology</title>
<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 src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three@0.132.2/build/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three@0.132.2/examples/js/controls/OrbitControls.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three@0.132.2/examples/js/loaders/GLTFLoader.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three@0.132.2/examples/js/postprocessing/EffectComposer.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three@0.132.2/examples/js/postprocessing/RenderPass.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three@0.132.2/examples/js/postprocessing/ShaderPass.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three@0.132.2/examples/js/shaders/CopyShader.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three@0.132.2/examples/js/shaders/LuminosityHighPassShader.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three@0.132.2/examples/js/postprocessing/UnrealBloomPass.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
overflow-x: hidden;
}
#vanta-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
.card-hover {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-10px) scale(1.02);
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.text-gradient {
background: linear-gradient(45deg, #3b82f6, #8b5cf6);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
</style>
</head>
<body class="min-h-screen bg-gray-900 text-white">
<div id="vanta-bg"></div>
<!-- Navigation -->
<nav class="fixed top-4 left-1/2 transform -translate-x-1/2 z-50">
<div class="bg-black bg-opacity-70 backdrop-blur-2xl rounded-full px-6 py-3 shadow-xl">
<div class="flex items-center space-x-8">
<div class="flex items-center space-x-6">
<a href="index.html" class="text-gray-100 hover:text-white transition font-medium">Home</a>
<a href="projects.html" class="text-gray-100 hover:text-white transition font-medium">Projects</a>
<a href="events.html" class="text-gray-100 hover:text-white transition font-medium">Events</a>
<a href="team.html" class="text-gray-100 hover:text-white transition font-medium">Team</a>
<a href="contact.html" class="text-gray-100 hover:text-white transition font-medium">Contact</a>
</div>
=======
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="relative z-10 pt-32 pb-32 px-4 sm:px-6 lg:px-8">
<div class="max-w-4xl mx-auto text-center">
<h1 class="text-4xl md:text-6xl font-bold mb-6">
<span class="text-gradient">Innovate.</span> <span class="text-white">Create.</span> <span class="text-gradient">Transform.</span>
</h1>
<p class="text-xl text-gray-300 mb-10 max-w-2xl mx-auto">
Welcome to IDEAHUB, the innovation hub of School of Science & Technology, MBMAN. Where ideas take flight and technology meets creativity.
</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<button class="bg-blue-600 hover:bg-blue-700 px-6 py-3 rounded-lg font-medium transition transform hover:-translate-y-1">
Explore Projects
</button>
<button class="bg-gray-800 hover:bg-gray-700 px-6 py-3 rounded-lg font-medium transition transform hover:-translate-y-1">
Upcoming Events
</button>
<button class="bg-green-600 hover:bg-green-700 px-6 py-3 rounded-lg font-medium transition transform hover:-translate-y-1">
Join Our Community
</button>
</div>
</div>
</section>
<!-- 3D Model Viewer -->
<div id="3d-model-viewer" class="fixed top-0 left-0 w-full h-full z-0 pointer-events-none opacity-20"></div>
<!-- Features Section -->
<section class="relative z-20 py-16 px-4 sm:px-6 lg:px-8 bg-gray-800 bg-opacity-50 backdrop-blur-lg mt-8">
<div class="max-w-7xl mx-auto">
<h2 class="text-3xl font-bold text-center mb-16">What We <span class="text-gradient">Offer</span></h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Feature 1 -->
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-8 card-hover">
<div class="w-16 h-16 bg-blue-500 bg-opacity-20 rounded-lg flex items-center justify-center mb-6">
<i data-feather="code" class="w-8 h-8 text-blue-400"></i>
</div>
<h3 class="text-xl font-bold mb-3">Tech Workshops</h3>
<p class="text-gray-300">Hands-on workshops on cutting-edge technologies from industry experts and faculty members.</p>
</div>
<!-- Feature 2 -->
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-8 card-hover">
<div class="w-16 h-16 bg-purple-500 bg-opacity-20 rounded-lg flex items-center justify-center mb-6">
<i data-feather="users" class="w-8 h-8 text-purple-400"></i>
</div>
<h3 class="text-xl font-bold mb-3">Collaboration</h3>
<p class="text-gray-300">Connect with like-minded peers to collaborate on innovative projects and research.</p>
</div>
<!-- Feature 3 -->
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-8 card-hover">
<div class="w-16 h-16 bg-indigo-500 bg-opacity-20 rounded-lg flex items-center justify-center mb-6">
<i data-feather="award" class="w-8 h-8 text-indigo-400"></i>
</div>
<h3 class="text-xl font-bold mb-3">Competitions</h3>
<p class="text-gray-300">Participate in hackathons and competitions to showcase your skills and win prizes.</p>
</div>
</div>
</div>
</section>
<!-- Projects Showcase -->
<section class="relative z-10 py-16 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto">
<h2 class="text-3xl font-bold text-center mb-6">Featured <span class="text-gradient">Projects</span></h2>
<p class="text-xl text-gray-300 text-center mb-12 max-w-3xl mx-auto">
Explore some of the innovative projects created by our talented students and faculty.
</p>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Project 1 -->
<div class="bg-gray-800 rounded-xl overflow-hidden card-hover">
<div class="h-48 bg-gradient-to-r from-blue-500 to-purple-600 flex items-center justify-center">
<i data-feather="box" class="w-16 h-16 text-white"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold mb-2">Smart Campus</h3>
<p class="text-gray-300 mb-4">IoT-based solution to automate campus facilities and enhance student experience.</p>
<div class="flex justify-between items-center">
<span class="text-sm text-blue-400">Team Horizon</span>
<button class="text-blue-400 hover:text-blue-300 flex items-center">
View Details <i data-feather="arrow-right" class="w-4 h-4 ml-2"></i>
</button>
</div>
</div>
</div>
<!-- Project 2 -->
<div class="bg-gray-800 rounded-xl overflow-hidden card-hover">
<div class="h-48 bg-gradient-to-r from-green-500 to-teal-600 flex items-center justify-center">
<i data-feather="activity" class="w-16 h-16 text-white"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold mb-2">Health Monitor</h3>
<p class="text-gray-300 mb-4">AI-powered health monitoring system for preventive healthcare solutions.</p>
<div class="flex justify-between items-center">
<span class="text-sm text-green-400">MediTech</span>
<button class="text-green-400 hover:text-green-300 flex items-center">
View Details <i data-feather="arrow-right" class="w-4 h-4 ml-2"></i>
</button>
</div>
</div>
</div>
<!-- Project 3 -->
<div class="bg-gray-800 rounded-xl overflow-hidden card-hover">
<div class="h-48 bg-gradient-to-r from-purple-500 to-pink-600 flex items-center justify-center">
<i data-feather="globe" class="w-16 h-16 text-white"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold mb-2">EduVerse</h3>
<p class="text-gray-300 mb-4">Virtual reality platform for immersive educational experiences.</p>
<div class="flex justify-between items-center">
<span class="text-sm text-purple-400">VR Pioneers</span>
<button class="text-purple-400 hover:text-purple-300 flex items-center">
View Details <i data-feather="arrow-right" class="w-4 h-4 ml-2"></i>
</button>
</div>
</div>
</div>
</div>
<div class="text-center mt-12">
<button class="px-6 py-3 bg-gradient-to-r from-blue-500 to-purple-600 rounded-lg font-medium hover:opacity-90 transition">
View All Projects
</button>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="relative z-10 py-20 px-4 sm:px-6 lg:px-8">
<div class="max-w-4xl mx-auto bg-gradient-to-r from-blue-600 to-purple-700 rounded-2xl p-10 text-center">
<h2 class="text-3xl font-bold mb-4">Ready to <span class="text-white">Innovate</span> With Us?</h2>
<p class="text-xl text-blue-100 mb-8">Join IDEAHUB today and be part of the innovation revolution at School of Science and Technology.</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<button class="bg-white text-blue-600 hover:bg-gray-100 px-6 py-3 rounded-lg font-medium transition transform hover:-translate-y-1">
Become a Member
</button>
<button class="bg-transparent border-2 border-white text-white hover:bg-white hover:bg-opacity-10 px-6 py-3 rounded-lg font-medium transition transform hover:-translate-y-1">
Contact Us
</button>
</div>
</div>
</section>
<!-- Footer -->
<footer class="relative z-10 py-12 px-4 sm:px-6 lg:px-8 bg-gray-800 bg-opacity-50 backdrop-blur-lg">
<div class="max-w-7xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<div class="flex items-center justify-between w-full">
<div class="flex items-center space-x-2">
<i data-feather="cpu" class="text-blue-400 w-6 h-6"></i>
<span class="text-xl font-bold text-gradient">IDEAHUB</span>
</div>
<button class="bg-blue-600 hover:bg-blue-700 px-4 py-2 rounded-lg font-medium transition">
Join Us
</button>
</div>
<p class="text-gray-300 mt-2">The innovation hub of School of Science & Technology, MBMAN.</p>
<div class="flex space-x-4 mt-4">
<a href="#" class="text-gray-300 hover:text-blue-400 transition"><i data-feather="facebook"></i></a>
<a href="#" class="text-gray-300 hover:text-blue-400 transition"><i data-feather="twitter"></i></a>
<a href="#" class="text-gray-300 hover:text-blue-400 transition"><i data-feather="instagram"></i></a>
<a href="#" class="text-gray-300 hover:text-blue-400 transition"><i data-feather="linkedin"></i></a>
</div>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Quick Links</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-300 hover:text-blue-400 transition">Home</a></li>
<li><a href="#" class="text-gray-300 hover:text-blue-400 transition">About</a></li>
<li><a href="#" class="text-gray-300 hover:text-blue-400 transition">Projects</a></li>
<li><a href="#" class="text-gray-300 hover:text-blue-400 transition">Events</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Resources</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-300 hover:text-blue-400 transition">Blog</a></li>
<li><a href="#" class="text-gray-300 hover:text-blue-400 transition">Documentation</a></li>
<li><a href="#" class="text-gray-300 hover:text-blue-400 transition">Research Papers</a></li>
<li><a href="#" class="text-gray-300 hover:text-blue-400 transition">FAQs</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Contact</h3>
<ul class="space-y-2">
<li class="flex items-start">
<i data-feather="map-pin" class="w-4 h-4 mt-1 mr-2 text-blue-400"></i>
<span class="text-gray-300">School of Science & Technology, MBMAN</span>
</li>
<li class="flex items-start">
<i data-feather="mail" class="w-4 h-4 mt-1 mr-2 text-blue-400"></i>
<span class="text-gray-300">ideahub@sst.edu</span>
</li>
<li class="flex items-start">
<i data-feather="phone" class="w-4 h-4 mt-1 mr-2 text-blue-400"></i>
<span class="text-gray-300">+123 456 7890</span>
</li>
</ul>
</div>
</div>
<div class="border-t border-gray-700 mt-12 pt-8 text-center text-gray-400">
<p>&copy; 2023 IDEAHUB, School of Science & Technology. All rights reserved.</p>
</div>
</div>
</footer>
<script>
// 3D Model Viewer
let scene, camera, renderer, model;
function init3DViewer() {
const container = document.getElementById('3d-model-viewer');
// Scene
scene = new THREE.Scene();
scene.background = null;
// Camera
camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);
camera.position.z = 5;
// Renderer
renderer = new THREE.WebGLRenderer({ alpha: true, antialias: true });
renderer.setSize(window.innerWidth, window.innerHeight);
container.appendChild(renderer.domElement);
// Lighting
const light = new THREE.AmbientLight(0x404040);
scene.add(light);
const directionalLight = new THREE.DirectionalLight(0xffffff, 1);
directionalLight.position.set(1, 1, 1);
scene.add(directionalLight);
// Geometry
const geometry = new THREE.IcosahedronGeometry(1, 1);
const material = new THREE.MeshPhongMaterial({
color: 0x3b82f6,
emissive: 0x3b82f6,
emissiveIntensity: 0.2,
specular: 0x111111,
shininess: 30,
wireframe: false,
transparent: true,
opacity: 0.7
});
model = new THREE.Mesh(geometry, material);
scene.add(model);
// Animation loop
function animate() {
requestAnimationFrame(animate);
model.rotation.x += 0.005;
model.rotation.y += 0.007;
renderer.render(scene, camera);
}
animate();
// Handle resize
window.addEventListener('resize', () => {
camera.aspect = window.innerWidth / window.innerHeight;
camera.updateProjectionMatrix();
renderer.setSize(window.innerWidth, window.innerHeight);
});
}
// Initialize Vanta.js 3D background
const vantaEffect = VANTA.GLOBE({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x3b82f6,
backgroundColor: 0x111827,
size: 0.8,
points: 10,
maxDistance: 25,
spacing: 15,
showDots: false
});
// Water drop effect on scroll
window.addEventListener('scroll', () => {
const scrollPercent = window.scrollY / document.body.scrollHeight;
const newSize = 0.8 + (scrollPercent * 0.5);
const newSpacing = 15 - (scrollPercent * 5);
vantaEffect.setOptions({
size: Math.min(1.3, newSize),
spacing: Math.max(10, newSpacing)
});
});
// Initialize 3D components
init3DViewer();
// Initialize Feather Icons
feather.replace();
// Enhanced animations
document.addEventListener('DOMContentLoaded', () => {
// Hero text animation
const heroText = document.querySelector('h1');
anime({
targets: heroText,
opacity: [0, 1],
translateY: [20, 0],
duration: 1200,
easing: 'easeOutExpo'
});
// Card hover animations
const cards = document.querySelectorAll('.card-hover');
cards.forEach(card => {
card.addEventListener('mouseenter', () => {
anime({
targets: card,
scale: 1.03,
duration: 300,
easing: 'easeOutQuad'
});
});
card.addEventListener('mouseleave', () => {
anime({
targets: card,
scale: 1,
duration: 300,
easing: 'easeOutQuad'
});
});
});
// Button animations
const buttons = document.querySelectorAll('button');
buttons.forEach(button => {
button.addEventListener('mouseenter', () => {
anime({
targets: button,
scale: 1.05,
duration: 200,
easing: 'easeOutQuad'
});
});
button.addEventListener('mouseleave', () => {
anime({
targets: button,
scale: 1,
duration: 200,
easing: 'easeOutQuad'
});
});
});
// Scroll animations
const scrollElements = document.querySelectorAll('.scroll-animate');
scrollElements.forEach(el => {
anime({
targets: el,
opacity: [0, 1],
translateY: [50, 0],
duration: 1000,
easing: 'easeOutExpo',
delay: anime.stagger(100),
scrollTrigger: {
trigger: el,
start: 'top 80%'
}
});
});
});
// Cleanup on exit
window.addEventListener('beforeunload', () => {
if (vantaEffect) vantaEffect.destroy();
if (renderer) renderer.dispose();
window.removeEventListener('scroll', scrollHandler);
});
// Smooth resize animation
function scrollHandler() {
requestAnimationFrame(() => {
const scrollPercent = window.scrollY / document.body.scrollHeight;
const newSize = 0.8 + (scrollPercent * 0.5);
const newSpacing = 15 - (scrollPercent * 5);
vantaEffect.setOptions({
size: Math.min(1.3, newSize),
spacing: Math.max(10, newSpacing)
});
});
}
window.addEventListener('scroll', scrollHandler);
</script>
</body>
</html>