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 <best@classroomio.com>

* add type to course card

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
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": "Специализация"
}
}