feat: Update course landing page with sections (#456)

* feat: add sections ui to the landing page

* quick fixes

* quick fixes

* feat: add translations

* run translation script

* fix: sections not showing on the landing page

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
This commit is contained in:
Adeyemi Adetunji
2024-09-07 10:18:21 +01:00
committed by GitHub
co-authored by Rotimi Best
parent f7640b8a67
commit 982acb0711
12 changed files with 193 additions and 58 deletions
@@ -78,7 +78,7 @@ const SLUG_QUERY = `
certificate_theme,
lesson_section(id, title, order),
lessons:lesson(
id, title, order
id, title, order, section_id
)
`;
@@ -393,7 +393,11 @@
"instructor": "Lehrer",
"pricing": "Preisgestaltung"
}
}
},
"course_content": "Kursinhalte",
"modules": "Module",
"lessons": "Unterricht",
"exercises": "Übungen"
},
"certificates": {
"title": "Zertifikate",
@@ -1001,6 +1001,10 @@
"bird": "Early bird offer. Buy ASAP"
},
"course_content": "Course content",
"modules": "Modules",
"lessons": "lessons",
"exercises": "exercises",
"start_course": "Start Course",
"requirement": "Requirement",
"description": "Course Description",
@@ -393,7 +393,11 @@
"instructor": "Instructor",
"pricing": "Precios"
}
}
},
"course_content": "Contenido del curso",
"modules": "Módulos",
"lessons": "lecciones",
"exercises": "ceremonias"
},
"certificates": {
"title": "Certificados",
@@ -393,7 +393,11 @@
"instructor": "Instructeur",
"pricing": "Tarifs"
}
}
},
"course_content": "Contenu du cours",
"modules": "Modules",
"lessons": "leçons",
"exercises": "exercices"
},
"certificates": {
"title": "Certificats",
@@ -393,7 +393,11 @@
"instructor": "प्रशिक्षक",
"pricing": "मूल्य निर्धारण"
}
}
},
"course_content": "पाठ्यक्रम सामग्री",
"modules": "मॉड्यूल",
"lessons": "पाठ",
"exercises": "अभ्यास"
},
"certificates": {
"title": "प्रमाण पत्र",
@@ -393,7 +393,11 @@
"instructor": "Instrutor",
"pricing": "Preços"
}
}
},
"course_content": "Conteúdo do curso",
"modules": "Módulos",
"lessons": "lições",
"exercises": "exercícios"
},
"certificates": {
"title": "Certificados",
@@ -393,7 +393,11 @@
"instructor": "Инструктор",
"pricing": "Цены"
}
}
},
"course_content": "Содержание курса",
"modules": "Модули",
"lessons": "уроки",
"exercises": "упражнения"
},
"certificates": {
"title": "Сертификаты",
@@ -393,7 +393,11 @@
"instructor": "Người hướng dẫn",
"pricing": "Định giá"
}
}
},
"course_content": "Nội dung khóa học",
"modules": "Mô-đun",
"lessons": "bài học",
"exercises": "bài tập"
},
"certificates": {
"title": "Chứng chỉ",