view details

This commit is contained in:
2026-11-16 10:25:11 +05:45
parent d5bae0055b
commit 039a092214
5 changed files with 132 additions and 103 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ $card = is_array($course ?? null) ? $course : [];
<div class="course-card__body">
<span class="course-card__tag"><?= e($card['category_label'] ?? '') ?></span>
<h3 class="course-card__title"><?= e($card['title'] ?? '') ?></h3>
<a class="course-card__link" href="course-details.php?id=<?= $cardIndex ?>">
<a class="course-card__link" href="course-details.php?course=<?= urlencode($card['slug'] ?? '') ?>">
View Details <?= icon('arrow-right') ?>
</a>
</div>
+8
View File
@@ -88,6 +88,7 @@ $courseFilters = [
$courses = [
[
'title' => 'Python with Artificial Intelligence (AI) Training',
'slug' => 'python-with-artificial-intelligence',
'category' => 'ai-professional',
'category_label' => 'Programming',
'image' => 'https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=720&q=80',
@@ -95,6 +96,7 @@ $courses = [
],
[
'title' => 'Digital Marketing 360° with AI Mastery',
'slug' => 'digital-marketing-360-with-ai-mastery',
'category' => 'digital-marketing',
'category_label' => 'Full Stack',
'image' => 'https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?auto=format&fit=crop&w=720&q=80',
@@ -102,6 +104,7 @@ $courses = [
],
[
'title' => 'Python with Artificial Intelligence (AI) Training',
'slug' => 'python-with-ai-data-projects',
'category' => 'ai-professional',
'category_label' => 'Programming',
'image' => 'https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=720&q=80',
@@ -109,6 +112,7 @@ $courses = [
],
[
'title' => 'Python with Artificial Intelligence (AI) Training',
'slug' => 'python-with-ai-freelancing',
'category' => 'freelancer',
'category_label' => 'Programming',
'image' => 'https://images.unsplash.com/photo-1642790106117-e829e14a795f?auto=format&fit=crop&w=720&q=80',
@@ -116,6 +120,7 @@ $courses = [
],
[
'title' => 'Python with Artificial Intelligence (AI) Training',
'slug' => 'python-with-ai-content-creation',
'category' => 'content-creator',
'category_label' => 'Programming',
'image' => 'https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=720&q=80',
@@ -123,6 +128,7 @@ $courses = [
],
[
'title' => 'Python with Artificial Intelligence (AI) Training',
'slug' => 'python-with-ai-entrepreneurship',
'category' => 'entrepreneur',
'category_label' => 'Programming',
'image' => 'https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=720&q=80',
@@ -130,6 +136,7 @@ $courses = [
],
[
'title' => 'Python with Artificial Intelligence (AI) Training',
'slug' => 'python-with-ai-business',
'category' => 'business-professional',
'category_label' => 'Programming',
'image' => 'https://images.unsplash.com/photo-1552581234-26160f608093?auto=format&fit=crop&w=720&q=80',
@@ -137,6 +144,7 @@ $courses = [
],
[
'title' => 'Python with Artificial Intelligence (AI) Training',
'slug' => 'python-with-ai-advanced-applications',
'category' => 'ai-professional',
'category_label' => 'Programming',
'image' => 'https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=720&q=80',