KIIR2A's picture
Make the website functional so I can access it to view the videos and PDFs.
8ea8b58 verified
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Module Details | FEG</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
</head>
<body class="bg-gray-100">
<div class="container mx-auto px-4 py-8">
<div class="bg-white p-6 rounded-lg shadow-md">
<h1 class="text-2xl font-bold text-fegblack mb-4" id="module-title">Module Details</h1>
<div class="mb-6">
<h2 class="text-xl font-semibold mb-2">المواد التعليمية</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="bg-gray-50 p-4 rounded border border-gray-200">
<h3 class="font-medium mb-2 flex items-center">
<i data-feather="file-text" class="w-4 h-4 mr-2"></i> المحاضرات النظرية
</h3>
<ul class="space-y-2">
<li><a href="#" class="text-fegred hover:text-red-700">المحاضرة 1 - مقدمة في المادة</a></li>
<li><a href="#" class="text-fegred hover:text-red-700">المحاضرة 2 - المفاهيم الأساسية</a></li>
<li><a href="#" class="text-fegred hover:text-red-700">المحاضرة 3 - التطبيقات العملية</a></li>
</ul>
</div>
<div class="bg-gray-50 p-4 rounded border border-gray-200">
<h3 class="font-medium mb-2 flex items-center">
<i data-feather="video" class="w-4 h-4 mr-2"></i> الدروس المصورة
</h3>
<ul class="space-y-2">
<li><a href="https://youtube.com" target="_blank" class="text-fegred hover:text-red-700">الفيديو 1 - المقدمة</a></li>
<li><a href="https://youtube.com" target="_blank" class="text-fegred hover:text-red-700">الفيديو 2 - الشرح النظري</a></li>
<li><a href="https://youtube.com" target="_blank" class="text-fegred hover:text-red-700">الفيديو 3 - التمارين</a></li>
</ul>
</div>
</div>
</div>
<div class="mb-6">
<h2 class="text-xl font-semibold mb-2">التمارين والتطبيقات</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<a href="#" class="bg-gray-50 p-4 rounded border border-gray-200 hover:bg-gray-100">
<h3 class="font-medium mb-2 flex items-center text-fegred">
<i data-feather="file-text" class="w-4 h-4 mr-2"></i> سلسلة التمارين 1
</h3>
<p class="text-sm text-gray-600">تمارين حول المفاهيم الأساسية</p>
</a>
<a href="#" class="bg-gray-50 p-4 rounded border border-gray-200 hover:bg-gray-100">
<h3 class="font-medium mb-2 flex items-center text-fegred">
<i data-feather="file-text" class="w-4 h-4 mr-2"></i> سلسلة التمارين 2
</h3>
<p class="text-sm text-gray-600">تمارين التطبيق</p>
</a>
<a href="#" class="bg-gray-50 p-4 rounded border border-gray-200 hover:bg-gray-100">
<h3 class="font-medium mb-2 flex items-center text-fegred">
<i data-feather="file-text" class="w-4 h-4 mr-2"></i> امتحانات سابقة
</h3>
<p class="text-sm text-gray-600">نماذج الامتحانات</p>
</a>
</div>
</div>
<div class="flex justify-between items-center mt-6">
<a href="/" class="text-fegred hover:text-red-700 flex items-center">
<i data-feather="arrow-right" class="mr-1"></i> العودة إلى الصفحة الرئيسية
</a>
<button class="bg-fegred text-white px-4 py-2 rounded hover:bg-red-700 flex items-center">
<i data-feather="download" class="mr-1"></i> تحميل جميع المواد
</button>
</div>
</div>
</div>
<script>
feather.replace();
// Get module name from URL
const urlParams = new URLSearchParams(window.location.search);
const moduleName = urlParams.get('name') || 'Microéconomie';
document.getElementById('module-title').textContent = moduleName;
</script>
</body>
</html>