feat(courses): add type, search, and pricing filters to org landing page

- Add Types section to the Filter sidebar with all 4 course types
- Add full-text search input centered in the hero (title + description)
- Add Pricing section (Free / Paid) based on course cost
- Compact hero prop across all 10 themes to halve vertical padding
- Children snippet support in all hero themes for the search input
- All filters are URL-driven (?types=, ?search=, ?tags=, ?pricing=)
- Full-stack: validation schema, DB queries, service, API route, server load, UI
This commit is contained in:
Rotimi Best
2026-07-01 10:36:53 +01:00
parent 8d2f2a6d2d
commit 78a2b85ad3
27 changed files with 464 additions and 97 deletions
@@ -3741,7 +3741,13 @@
"filters": {
"title": "टैग द्वारा फ़िल्टर करें",
"help": "पाठ्यक्रमों को फ़िल्टर करने के लिए एक या अधिक टैग चुनें",
"empty": "अभी तक कोई टैग उपलब्ध नहीं है"
"empty": "अभी तक कोई टैग उपलब्ध नहीं है",
"tags_title": "टैग",
"types_title": "प्रकार",
"search_placeholder": "पाठ्यक्रम खोजें...",
"pricing_title": "मूल्य निर्धारण",
"pricing_free": "निःशुल्क",
"pricing_paid": "भुगतान किया गया"
}
},
"tags_admin": {