mongodb-mastery-hub / index.html
LauraMDB's picture
Adapt the page to include the information about the courses coming from this site: https://learn.mongodb.com/pages/instructor-led-training-schedule
7d6fdce verified
raw
history blame
6.86 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MongoMaster Academy | MongoDB Courses</title>
<link rel="stylesheet" href="style.css">
<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 src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="components/course-card.js"></script>
</head>
<body class="bg-gray-50">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-12">
<!-- Hero Section -->
<section class="mb-16 text-center">
<h1 class="text-5xl font-bold text-gray-800 mb-6">Master MongoDB with Expert-Led Training</h1>
<p class="text-xl text-gray-600 max-w-3xl mx-auto mb-8">
Join our live, instructor-led courses and take your MongoDB skills to the next level. From beginners to advanced administrators, we've got you covered.
</p>
<div class="flex justify-center gap-4">
<a href="#upcoming-courses" class="bg-green-600 hover:bg-green-700 text-white px-6 py-3 rounded-lg font-medium transition-colors">
Browse Courses
</a>
<a href="#" class="border border-gray-300 hover:bg-gray-100 text-gray-700 px-6 py-3 rounded-lg font-medium transition-colors">
<span class="flex items-center gap-2">
<i data-feather="play-circle"></i> Watch Demo
</span>
</a>
</div>
</section>
<!-- Courses Section -->
<section id="upcoming-courses" class="mb-20">
<h2 class="text-3xl font-bold text-gray-800 mb-8 text-center">Upcoming Courses</h2>
<!-- Month Selector -->
<div class="flex justify-center mb-8">
<div class="inline-flex rounded-md shadow-sm" role="group">
<button type="button" class="month-btn active px-4 py-2 text-sm font-medium rounded-l-lg border border-gray-300 bg-gray-100 text-gray-700">
Current Month
</button>
<button type="button" class="month-btn px-4 py-2 text-sm font-medium border-t border-b border-gray-300 hover:bg-gray-50 text-gray-700">
Next Month
</button>
<button type="button" class="month-btn px-4 py-2 text-sm font-medium rounded-r-lg border border-gray-300 hover:bg-gray-50 text-gray-700">
Following Month
</button>
</div>
</div>
<!-- Month Sections -->
<div id="current-month" class="month-section">
<h3 class="text-2xl font-semibold text-gray-800 mb-6">Current Month Courses</h3>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" id="current-month-courses">
<!-- Courses will be loaded dynamically from MongoDB API -->
</div>
</div>
<div id="next-month" class="month-section hidden">
<h3 class="text-2xl font-semibold text-gray-800 mb-6">Next Month Courses</h3>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" id="next-month-courses">
<!-- Courses will be loaded dynamically from MongoDB API -->
</div>
</div>
<div id="following-month" class="month-section hidden">
<h3 class="text-2xl font-semibold text-gray-800 mb-6">Following Month Courses</h3>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" id="following-month-courses">
<!-- Courses will be loaded dynamically from MongoDB API -->
</div>
</div>
</section>
<!-- Features Section -->
<section class="mb-20">
<h2 class="text-3xl font-bold text-gray-800 mb-12 text-center">Why Learn With Us</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-shadow">
<div class="bg-green-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
<i data-feather="users" class="text-green-600"></i>
</div>
<h3 class="text-xl font-semibold text-gray-800 mb-2">Expert Instructors</h3>
<p class="text-gray-600">Learn from MongoDB-certified instructors with real-world experience.</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-shadow">
<div class="bg-blue-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
<i data-feather="clock" class="text-blue-600"></i>
</div>
<h3 class="text-xl font-semibold text-gray-800 mb-2">Flexible Scheduling</h3>
<p class="text-gray-600">Multiple time slots available to fit your schedule.</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-shadow">
<div class="bg-purple-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
<i data-feather="award" class="text-purple-600"></i>
</div>
<h3 class="text-xl font-semibold text-gray-800 mb-2">Certification</h3>
<p class="text-gray-600">Earn certificates to validate your MongoDB expertise.</p>
</div>
</div>
</section>
</main>
<custom-footer></custom-footer>
<script>
feather.replace();
// Month selector functionality
document.querySelectorAll('.month-btn').forEach(btn => {
btn.addEventListener('click', () => {
document.querySelectorAll('.month-btn').forEach(b => b.classList.remove('active', 'bg-gray-100'));
btn.classList.add('active', 'bg-gray-100');
document.querySelectorAll('.month-section').forEach(section => {
section.classList.add('hidden');
});
const monthId = btn.textContent.trim().toLowerCase().replace(' ', '-');
document.getElementById(monthId).classList.remove('hidden');
});
});
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>