feat: course types - self paced and live class (#309)

* working on the course type

* trying to mark it persist

* almost done here

* fixed sendig emtpy options bug

* created migration file

* created migration file

* made updates based on PR review

* merge

* update course type card

* add redirect logic with classroomio.com/new

* make new course modal only open/close with url

* feat: page active state (#315)

* finished the active link state

* updated the active link state based on review

* simplify code

---------

Co-authored-by: Rotimi Best <[email protected]>

* add type to course card

---------

Co-authored-by: Rotimi Best <[email protected]>
This commit is contained in:
Em_Dev
2024-05-21 00:14:47 +01:00
committed by GitHub
co-authored by Rotimi Best
parent b9bb568f98
commit 49d8539be9
41 changed files with 894 additions and 393 deletions
@@ -263,7 +263,11 @@
"unpublished": "अप्रकाशित",
"delete": "पाठ्यक्रम हटाएँ",
"delete_text": "इस कोर्स को हटा दें, इस कार्रवाई को पूर्ववत नहीं किया जा सकता",
"save": "परिवर्तनों को सुरक्षित करें"
"save": "परिवर्तनों को सुरक्षित करें",
"type": "कोर्स का प्रकार",
"course_type_desc": "अधिक वैयक्तिकृत अनुभव के लिए पाठ्यक्रम प्रकार को अपडेट करें",
"live_class": "लाइव क्लास",
"self_paced": "स्वयं गति"
},
"landing_page": {
"start_course": "कोर्स प्रारंभ करें",
@@ -763,7 +767,11 @@
"course_name_placeholder": "आपके पाठ्यक्रम का नाम",
"short_description": "संक्षिप्त वर्णन",
"short_description_placeholder": "इस कोर्स के बारे में थोड़ा विवरण",
"button": "खत्म करना"
"button": "खत्म करना",
"type": "कोर्स का प्रकार",
"type_selector_title": "आप किस प्रकार का कोर्स देख रहे हैं?",
"back": "पीछे",
"next": "अगला"
},
"course_card": {
"empty_title": "कोई पाठ्यक्रम नहीं बनाया गया",
@@ -779,7 +787,8 @@
"description": "विवरण",
"lessons": "पाठ",
"students": "छात्र",
"published": "प्रकाशित"
"published": "प्रकाशित",
"type": "प्रकार"
},
"context_menu": {
"clone": "क्लोन",
@@ -1212,5 +1221,12 @@
"resend_in": "सत्यापन पुनः भेजें",
"seconds": "सेकंड",
"snackbar_error": "कोड भेजते समय त्रुटि"
},
"generic": {
"locked": "बंद",
"unlocked": "अनलॉक किया"
},
"specialization": {
"course_tag": "विशेषज्ञता"
}
}