learncraft-wizardry / courses.html
projectspro20's picture
create the form where the user fills to inset the required data, create for dark theme
c15fbbd verified
Raw History Blame Contribute Delete
29.1 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Course Modules</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js" defer></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Inter', sans-serif;
background-color: #f8fafc;
}
</style>
</head>
<body class="bg-gray-50">
<div class="max-w-4xl mx-auto px-4 py-8">
<div class="mb-8 text-center">
<h1 class="text-3xl md:text-4xl font-bold text-gray-800 mb-2">Advanced Web Development Course</h1>
<p class="text-gray-600">Master modern web development with hands-on projects</p>
</div>
<div class="bg-white rounded-xl shadow-sm overflow-hidden">
<!-- Course Header -->
<div class="bg-gradient-to-r from-blue-600 to-indigo-700 p-6 text-white">
<div class="flex flex-col md:flex-row md:items-center md:justify-between">
<div>
<h2 class="text-2xl font-bold mb-2">Laravel & Livewire Masterclass</h2>
<p class="opacity-90">Build dynamic web applications with modern PHP frameworks</p>
</div>
<div class="mt-4 md:mt-0 bg-white/20 backdrop-blur-sm rounded-lg px-4 py-2">
<span class="font-semibold">4.8 ★</span>
<span class="mx-2">•</span>
<span>24 Modules</span>
</div>
</div>
</div>
<!-- Course Stats -->
<div class="grid grid-cols-2 md:grid-cols-4 gap-4 p-6 border-b border-gray-100">
<div class="text-center">
<div class="text-2xl font-bold text-gray-800">8 weeks</div>
<div class="text-sm text-gray-600">Duration</div>
</div>
<div class="text-center">
<div class="text-2xl font-bold text-gray-800">All levels</div>
<div class="text-sm text-gray-600">Difficulty</div>
</div>
<div class="text-center">
<div class="text-2xl font-bold text-gray-800">24</div>
<div class="text-sm text-gray-600">Modules</div>
</div>
<div class="text-center">
<div class="text-2xl font-bold text-gray-800">Certificate</div>
<div class="text-sm text-gray-600">Upon completion</div>
</div>
</div>
<!-- Modules List -->
<div class="divide-y divide-gray-100" x-data="{ expandedModule: null }">
<!-- Module 1 -->
<div class="p-6 hover:bg-gray-50 transition-colors">
<div class="flex justify-between items-start cursor-pointer" @click="expandedModule = expandedModule === 1 ? null : 1">
<div class="flex items-start space-x-4">
<div class="flex-shrink-0 w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center">
<span class="text-blue-700 font-semibold">1</span>
</div>
<div>
<h3 class="text-lg font-semibold text-gray-800">Introduction to Laravel</h3>
<p class="text-gray-600 mt-1">Learn the fundamentals of Laravel framework</p>
</div>
</div>
<svg xmlns="http://www.w3.org/2000/svg" :class="{'rotate-180': expandedModule === 1}" class="h-5 w-5 text-gray-500 transform transition-transform" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
</svg>
</div>
<div x-show="expandedModule === 1" x-transition class="mt-6 pl-14 pr-4">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<h4 class="font-semibold text-gray-800 mb-3">Topics Covered</h4>
<ul class="space-y-2">
<li class="flex items-start">
<svg class="h-5 w-5 text-green-500 mr-2 mt-0.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-gray-700">MVC Architecture</span>
</li>
<li class="flex items-start">
<svg class="h-5 w-5 text-green-500 mr-2 mt-0.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-gray-700">Routing System</span>
</li>
<li class="flex items-start">
<svg class="h-5 w-5 text-green-500 mr-2 mt-0.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-gray-700">Middleware</span>
</li>
<li class="flex items-start">
<svg class="h-5 w-5 text-green-500 mr-2 mt-0.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-gray-700">Configuration</span>
</li>
</ul>
</div>
<div>
<h4 class="font-semibold text-gray-800 mb-3">Resources</h4>
<div class="space-y-3">
<div class="flex items-center text-sm text-gray-600">
<svg class="h-4 w-4 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<span>Duration: 2 hours</span>
</div>
<div class="flex items-center text-sm text-gray-600">
<svg class="h-4 w-4 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
</svg>
<span>Reading Materials</span>
</div>
<div class="flex items-center text-sm text-gray-600">
<svg class="h-4 w-4 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z" />
</svg>
<span>Video Tutorials</span>
</div>
</div>
</div>
</div>
<div class="mt-6 pt-4 border-t border-gray-100 flex justify-end">
<button class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors text-sm font-medium">
Start Module
</button>
</div>
</div>
</div>
<!-- Module 2 -->
<div class="p-6 hover:bg-gray-50 transition-colors">
<div class="flex justify-between items-start cursor-pointer" @click="expandedModule = expandedModule === 2 ? null : 2">
<div class="flex items-start space-x-4">
<div class="flex-shrink-0 w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center">
<span class="text-blue-700 font-semibold">2</span>
</div>
<div>
<h3 class="text-lg font-semibold text-gray-800">Database Management with Eloquent</h3>
<p class="text-gray-600 mt-1">Master database interactions using Eloquent ORM</p>
</div>
</div>
<svg xmlns="http://www.w3.org/2000/svg" :class="{'rotate-180': expandedModule === 2}" class="h-5 w-5 text-gray-500 transform transition-transform" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
</svg>
</div>
<div x-show="expandedModule === 2" x-transition class="mt-6 pl-14 pr-4">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<h4 class="font-semibold text-gray-800 mb-3">Topics Covered</h4>
<ul class="space-y-2">
<li class="flex items-start">
<svg class="h-5 w-5 text-green-500 mr-2 mt-0.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-gray-700">Model Creation</span>
</li>
<li class="flex items-start">
<svg class="h-5 w-5 text-green-500 mr-2 mt-0.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-gray-700">Relationships</span>
</li>
<li class="flex items-start">
<svg class="h-5 w-5 text-green-500 mr-2 mt-0.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-gray-700">Query Builder</span>
</li>
<li class="flex items-start">
<svg class="h-5 w-5 text-green-500 mr-2 mt-0.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-gray-700">Migrations & Seeding</span>
</li>
</ul>
</div>
<div>
<h4 class="font-semibold text-gray-800 mb-3">Resources</h4>
<div class="space-y-3">
<div class="flex items-center text-sm text-gray-600">
<svg class="h-4 w-4 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<span>Duration: 3 hours</span>
</div>
<div class="flex items-center text-sm text-gray-600">
<svg class="h-4 w-4 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
</svg>
<span>Documentation</span>
</div>
<div class="flex items-center text-sm text-gray-600">
<svg class="h-4 w-4 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z" />
</svg>
<span>Hands-on Exercises</span>
</div>
</div>
</div>
</div>
<div class="mt-6 pt-4 border-t border-gray-100 flex justify-end">
<button class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors text-sm font-medium">
Start Module
</button>
</div>
</div>
</div>
<!-- Module 3 -->
<div class="p-6 hover:bg-gray-50 transition-colors">
<div class="flex justify-between items-start cursor-pointer" @click="expandedModule = expandedModule === 3 ? null : 3">
<div class="flex items-start space-x-4">
<div class="flex-shrink-0 w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center">
<span class="text-blue-700 font-semibold">3</span>
</div>
<div>
<h3 class="text-lg font-semibold text-gray-800">Livewire Fundamentals</h3>
<p class="text-gray-600 mt-1">Build reactive interfaces without writing JavaScript</p>
</div>
</div>
<svg xmlns="http://www.w3.org/2000/svg" :class="{'rotate-180': expandedModule === 3}" class="h-5 w-5 text-gray-500 transform transition-transform" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
</svg>
</div>
<div x-show="expandedModule === 3" x-transition class="mt-6 pl-14 pr-4">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<h4 class="font-semibold text-gray-800 mb-3">Topics Covered</h4>
<ul class="space-y-2">
<li class="flex items-start">
<svg class="h-5 w-5 text-green-500 mr-2 mt-0.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-gray-700">Component Creation</span>
</li>
<li class="flex items-start">
<svg class="h-5 w-5 text-green-500 mr-2 mt-0.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-gray-700">Data Binding</span>
</li>
<li class="flex items-start">
<svg class="h-5 w-5 text-green-500 mr-2 mt-0.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-gray-700">Actions & Events</span>
</li>
<li class="flex items-start">
<svg class="h-5 w-5 text-green-500 mr-2 mt-0.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-gray-700">File Uploads</span>
</li>
</ul>
</div>
<div>
<h4 class="font-semibold text-gray-800 mb-3">Resources</h4>
<div class="space-y-3">
<div class="flex items-center text-sm text-gray-600">
<svg class="h-4 w-4 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<span>Duration: 4 hours</span>
</div>
<div class="flex items-center text-sm text-gray-600">
<svg class="h-4 w-4 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
</svg>
<span>Code Examples</span>
</div>
<div class="flex items-center text-sm text-gray-600">
<svg class="h-4 w-4 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z" />
</svg>
<span>Practice Projects</span>
</div>
</div>
</div>
</div>
<div class="mt-6 pt-4 border-t border-gray-100 flex justify-end">
<button class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors text-sm font-medium">
Start Module
</button>
</div>
</div>
</div>
<!-- Module 4 -->
<div class="p-6 hover:bg-gray-50 transition-colors">
<div class="flex justify-between items-start cursor-pointer" @click="expandedModule = expandedModule === 4 ? null : 4">
<div class="flex items-start space-x-4">
<div class="flex-shrink-0 w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center">
<span class="text-blue-700 font-semibold">4</span>
</div>
<div>
<h3 class="text-lg font-semibold text-gray-800">Authentication & Authorization</h3>
<p class="text-gray-600 mt-1">Implement secure user authentication systems</p>
</div>
</div>
<svg xmlns="http://www.w3.org/2000/svg" :class="{'rotate-180': expandedModule === 4}" class="h-5 w-5 text-gray-500 transform transition-transform" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
</svg>
</div>
<div x-show="expandedModule === 4" x-transition class="mt-6 pl-14 pr-4">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<h4 class="font-semibold text-gray-800 mb-3">Topics Covered</h4>
<ul class="space-y-2">
<li class="flex items-start">
<svg class="h-5 w-5 text-green-500 mr-2 mt-0.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-gray-700">User Registration</span>
</li>
<li class="flex items-start">
<svg class="h-5 w-5 text-green-500 mr-2 mt-0.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-gray-700">Login Systems</span>
</li>
<li class="flex items-start">
<svg class="h-5 w-5 text-green-500 mr-2 mt-0.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-gray-700">Role-based Access</span>
</li>
<li class="flex items-start">
<svg class="h-5 w-5 text-green-500 mr-2 mt-0.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-gray-700">API Authentication</span>
</li>
</ul>
</div>
<div>
<h4 class="font-semibold text-gray-800 mb-3">Resources</h4>
<div class="space-y-3">
<div class="flex items-center text-sm text-gray-600">
<svg class="h-4 w-4 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<span>Duration: 3.5 hours</span>
</div>
<div class="flex items-center text-sm text-gray-600">
<svg class="h-4 w-4 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
</svg>
<span>Security Guidelines</span>
</div>
<div class="flex items-center text-sm text-gray-600">
<svg class="h-4 w-4 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z" />
</svg>
<span>Best Practices</span>
</div>
</div>
</div>
</div>
<div class="mt-6 pt-4 border-t border-gray-100 flex justify-end">
<button class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors text-sm font-medium">
Start Module
</button>
</div>
</div>
</div>
</div>
<!-- Course Footer -->
<div class="bg-gray-50 p-6">
<div class="flex flex-col sm:flex-row justify-between items-center">
<div class="mb-4 sm:mb-0">
<h3 class="font-semibold text-gray-800">Ready to start learning?</h3>
<p class="text-gray-600 text-sm">Join thousands of students mastering Laravel & Livewire</p>
</div>
<button class="px-6 py-3 bg-gradient-to-r from-blue-600 to-indigo-700 text-white rounded-lg hover:from-blue-700 hover:to-indigo-800 transition-all shadow-md hover:shadow-lg font-medium">
<a href="enrollment.html">Enroll Now</a>
</button>
</div>
</div>
</div>
</div>
</body>
</html>