feat: Implement i18n for English and Thai, and add core e-learning pages for course discovery, classroom learning, and quizzes.
This commit is contained in:
parent
f1a83f479e
commit
b8547f83b3
5 changed files with 24 additions and 22 deletions
|
|
@ -351,7 +351,7 @@ onBeforeUnmount(() => {
|
|||
<!-- Lesson Info -->
|
||||
<div v-if="currentLesson" class="bg-white dark:bg-slate-800 p-6 rounded-2xl shadow-sm border border-slate-100 dark:border-white/5">
|
||||
<h1 class="text-2xl font-bold mb-2">{{ getLocalizedText(currentLesson.title) }}</h1>
|
||||
<p class="text-slate-500 dark:text-slate-400" v-if="currentLesson.description">{{ currentLesson.description }}</p>
|
||||
<p class="text-slate-500 dark:text-slate-400" v-if="currentLesson.description">{{ getLocalizedText(currentLesson.description) }}</p>
|
||||
|
||||
<!-- Lesson Content Area -->
|
||||
<div v-if="!videoSrc && currentLesson.content" class="mt-6 prose dark:prose-invert max-w-none p-6 bg-slate-50 dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/5">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue