feat: Implement core e-learning features including course discovery, classroom components, user profile management, and internationalization for English and Thai.
This commit is contained in:
parent
e7a2ac8b5a
commit
7ead98375e
11 changed files with 107 additions and 43 deletions
|
|
@ -1,9 +1,12 @@
|
|||
<script setup lang="ts">
|
||||
const navItems = [
|
||||
{ to: '/dashboard', icon: 'dashboard', label: 'หน้าหลัก' },
|
||||
{ to: '/browse/discovery', icon: 'explore', label: 'รายการคอร์ส' },
|
||||
{ to: '/dashboard/my-courses', icon: 'school', label: 'คอร์สของฉัน' }
|
||||
]
|
||||
const { t } = useI18n()
|
||||
|
||||
const navItems = computed(() => [
|
||||
{ to: '/dashboard', icon: 'dashboard', label: t('sidebar.overview') },
|
||||
{ to: '/browse/discovery', icon: 'explore', label: t('sidebar.browseCourses') },
|
||||
{ to: '/dashboard/my-courses', icon: 'school', label: t('sidebar.myCourses') }
|
||||
])
|
||||
|
||||
const handleNavigate = (path: string) => {
|
||||
if (import.meta.client) {
|
||||
window.location.href = path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue