undefined / index.html
Moamel19's picture
Manual changes saved
cdf3a4e verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DANTE: Learning Universe Portal 🌟</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: '#3b82f6',
secondary: '#8b5cf6',
accent: '#06b6d4'
}
}
}
}
</script>
<style>
.glass-effect {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.dark .glass-effect {
background: rgba(0, 0, 0, 0.2);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.floating-card {
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
}
.gradient-text {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
</style>
</head>
<body class="bg-gradient-to-br from-blue-50 to-indigo-100 dark:from-gray-900 dark:to-gray-800 min-h-screen transition-colors duration-300">
<!-- Theme Toggle -->
<div class="fixed top-4 right-4 z-50">
<button id="themeToggle" class="glass-effect rounded-full p-3 text-gray-600 dark:text-gray-300 hover:scale-110 transition-transform duration-300">
<i data-feather="moon" class="w-5 h-5"></i>
</div>
<!-- Navigation -->
<nav class="glass-effect border-b border-gray-200 dark:border-gray-700">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center py-4">
<div class="flex items-center space-x-3">
<div class="w-12 h-12 bg-gradient-to-r from-primary to-secondary rounded-xl flex items-center justify-center">
<i data-feather="book-open" class="text-white"></i>
</div>
<div>
<h1 class="text-2xl font-bold gradient-text">DANTE</h1>
<p class="text-sm text-gray-600 dark:text-gray-400">Learning Universe Portal 🌟</p>
</div>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16">
<div class="text-center mb-16">
<h1 class="text-5xl md:text-7xl font-bold text-gray-900 dark:text-white mb-6">
Welcome to <span class="gradient-text">DANTE</span>
</h1>
<p class="text-xl text-gray-600 dark:text-gray-300 max-w-3xl mx-auto">
Your gateway to interactive learning, collaboration, and academic excellence.
Join our educational universe today!
</p>
</div>
<!-- Main Access Cards -->
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8 max-w-6xl mx-auto">
<!-- Login Card -->
<div class="floating-card glass-effect rounded-2xl p-8 text-gray-800 dark:text-white">
<div class="w-20 h-20 bg-gradient-to-r from-primary to-secondary rounded-full flex items-center justify-center mb-6 mx-auto">
<i data-feather="log-in" class="w-10 h-10 text-white"></i>
</div>
<h3 class="text-2xl font-bold text-center mb-4">Login</h3>
<p class="text-gray-600 dark:text-gray-300 text-center mb-6">
Access your personalized learning dashboard
</p>
<a href="login.html" class="w-full bg-primary hover:bg-blue-700 text-white py-3 rounded-lg transition duration-300 flex items-center justify-center space-x-2">
<i data-feather="arrow-right" class="w-4 h-4"></i>
<span>Enter Portal</span>
</a>
</div>
<!-- Sign Up Card -->
<div class="floating-card glass-effect rounded-2xl p-8 text-gray-800 dark:text-white">
<div class="w-20 h-20 bg-gradient-to-r from-secondary to-accent rounded-full flex items-center justify-center mb-6 mx-auto" style="animation-delay: 2s;">
<i data-feather="user-plus" class="w-10 h-10 text-white"></i>
</div>
<h3 class="text-2xl font-bold text-center mb-4">Sign Up</h3>
<p class="text-gray-600 dark:text-gray-300 text-center mb-6">
Join our educational community today
</p>
<a href="signup.html" class="w-full bg-secondary hover:bg-purple-700 text-white py-3 rounded-lg transition duration-300 flex items-center justify-center space-x-2">
<i data-feather="users" class="w-4 h-4"></i>
<span>Create Account</span>
</a>
</div>
<!-- Teacher Page Card -->
<div class="floating-card glass-effect rounded-2xl p-8 text-gray-800 dark:text-white">
<div class="w-20 h-20 bg-gradient-to-r from-accent to-green-500 rounded-full flex items-center justify-center mb-6 mx-auto" style="animation-delay: 4s;">
<i data-feather="award" class="w-10 h-10 text-white"></i>
</div>
<h3 class="text-2xl font-bold text-center mb-4">Teacher Portal</h3>
<p class="text-gray-600 dark:text-gray-300 text-center mb-6">
Manage classes, upload materials, and track progress
</p>
<a href="teacher.html" class="w-full bg-accent hover:bg-cyan-700 text-white py-3 rounded-lg transition duration-300 flex items-center justify-center space-x-2">
<i data-feather="book" class="w-4 h-4"></i>
<span>Educator Access</span>
</a>
</div>
<!-- Student Page Card -->
<div class="floating-card glass-effect rounded-2xl p-8 text-gray-800 dark:text-white">
<div class="w-20 h-20 bg-gradient-to-r from-green-500 to-yellow-500 rounded-full flex items-center justify-center mb-6 mx-auto" style="animation-delay: 1s;">
<i data-feather="graduation-cap" class="w-10 h-10 text-white"></i>
</div>
<h3 class="text-2xl font-bold text-center mb-4">Student Hub</h3>
<p class="text-gray-600 dark:text-gray-300 text-center mb-6">
Access courses, track progress, and submit assignments
</p>
<a href="student.html" class="w-full bg-green-500 hover:bg-green-700 text-white py-3 rounded-lg transition duration-300 flex items-center justify-center space-x-2">
<i data-feather="trending-up" class="w-4 h-4"></i>
<span>Learn & Grow</span>
</a>
</div>
<!-- Admin Dashboard Card -->
<div class="floating-card glass-effect rounded-2xl p-8 text-gray-800 dark:text-white">
<div class="w-20 h-20 bg-gradient-to-r from-yellow-500 to-red-500 rounded-full flex items-center justify-center mb-6 mx-auto" style="animation-delay: 3s;">
<i data-feather="settings" class="w-10 h-10 text-white"></i>
</div>
<h3 class="text-2xl font-bold text-center mb-4">Admin Center</h3>
<p class="text-gray-600 dark:text-gray-300 text-center mb-6">
System management, user control, and analytics
</p>
<a href="admin.html" class="w-full bg-yellow-500 hover:bg-yellow-700 text-white py-3 rounded-lg transition duration-300 flex items-center justify-center space-x-2">
<i data-feather="shield" class="w-4 h-4"></i>
<span>System Control</span>
</a>
</div>
</div>
<!-- Features Overview -->
<div class="mt-20 glass-effect rounded-2xl p-8 max-w-4xl mx-auto">
<h2 class="text-3xl font-bold text-gray-900 dark:text-white text-center mb-8">Why Choose EduSphere?</h2>
<div class="grid md:grid-cols-2 gap-8">
<div class="flex items-start space-x-4">
<i data-feather="zap" class="w-6 h-6 text-primary mt-1"></i>
<div>
<h3 class="text-xl font-semibold text-gray-900 dark:text-white mb-2">Interactive Learning</h3>
<p class="text-gray-600 dark:text-gray-300">Engage with dynamic content and real-time collaboration tools</p>
</div>
</div>
<div class="flex items-start space-x-4">
<i data-feather="users" class="w-6 h-6 text-primary mt-1"></i>
<div>
<h3 class="text-xl font-semibold text-gray-900 dark:text-white mb-2">Community Driven</h3>
<p class="text-gray-600 dark:text-gray-300">Connect with peers and educators in a supportive environment</p>
</div>
</div>
<div class="flex items-start space-x-4">
<i data-feather="bar-chart-2" class="w-6 h-6 text-primary mt-1"></i>
<div>
<h3 class="text-xl font-semibold text-gray-900 dark:text-white mb-2">Progress Tracking</h3>
<p class="text-gray-600 dark:text-gray-300">Monitor your academic journey with detailed analytics</p>
</div>
</div>
<div class="flex items-start space-x-4">
<i data-feather="smartphone" class="w-6 h-6 text-primary mt-1"></i>
<div>
<h3 class="text-xl font-semibold text-gray-900 dark:text-white mb-2">Mobile Friendly</h3>
<p class="text-gray-600 dark:text-gray-300">Learn anytime, anywhere with our responsive design</p>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
// Theme Toggle
const themeToggle = document.getElementById('themeToggle');
const themeIcon = themeToggle.querySelector('i');
themeToggle.addEventListener('click', () => {
if (document.documentElement.classList.contains('dark')) {
document.documentElement.classList.remove('dark');
themeIcon.setAttribute('data-feather', 'moon');
} else {
document.documentElement.classList.add('dark');
themeIcon.setAttribute('data-feather', 'sun');
}
feather.replace();
});
// Initialize feather icons
feather.replace();
</script>
</body>
</html>