fix: bugs
Deploy banu-front / deploy (push) Successful in 1m22s

This commit is contained in:
sajjadtalkhabi
2026-07-02 19:09:13 +03:30
parent e700609236
commit b9ef684b51
51 changed files with 406 additions and 170 deletions
+21 -35
View File
@@ -54,20 +54,8 @@ const pageTitle = computed(() => route.meta?.title || 'پیشخوان')
const menuItems = computed(() => [
{
title: 'پیشـخوان',
icon: 'menu',
to: { name: 'student-dashboard' },
active: route.name === 'student-dashboard',
},
{
title: 'دوره‌های من',
icon: 'book',
to: { name: 'student-courses' },
active: ['student-courses', 'student-course-details'].includes(route.name),
},
{
title: 'دوره‌های آموزشی',
icon: 'book',
title: 'آموزش',
icon: 'graduation-cap',
to: { name: 'student-terms' },
active: [
'student-terms',
@@ -75,44 +63,47 @@ const menuItems = computed(() => [
'student-lesson-details',
'student-session-details',
'student-exam',
'student-courses',
'student-course-details',
'student-dashboard',
].includes(route.name),
},
{
title: 'سامانه اعزام',
icon: 'paper-plane-right',
icon: 'user-sound',
to: { name: 'student-missionary' },
active: route.name === 'student-missionary',
},
{
title: 'خدمات',
icon: 'paper-plane',
icon: 'folder-simple-star',
to: { name: 'student-services' },
active: route.name === 'student-services',
},
{
title: 'مشاوره',
icon: 'chat',
icon: 'chat-teardrop-text',
to: { name: 'student-consultants' },
active: route.name === 'student-consultants',
},
{
title: 'تیکت‌های من',
icon: 'chat-centered-dots',
to: { name: 'student-tickets' },
active: route.name === 'student-tickets',
},
{
title: 'گواهینامه ها',
icon: 'scroll',
title: 'گواهینامه',
icon: 'certificate',
to: { name: 'student-certificates' },
active: route.name === 'student-certificates',
},
{
title: 'ویرایش پروفایل',
icon: 'user',
icon: 'user-circle-check',
to: { name: 'student-profile' },
active: route.name === 'student-profile',
},
{
title: 'تیکت',
icon: 'envelope-open',
to: { name: 'student-tickets' },
active: route.name === 'student-tickets',
},
])
</script>
@@ -177,6 +168,9 @@ const menuItems = computed(() => [
}
&__inner {
display: flex;
flex-direction: column;
min-height: 100dvh;
padding: 1.25rem;
}
@@ -189,16 +183,8 @@ const menuItems = computed(() => [
}
&__footer {
position: fixed;
bottom: 0;
left: 1.25rem;
width: 100%;
margin-top: auto;
padding: 0.5rem 0 1.25rem;
background-color: #f5f5f5;
@media (min-width: 1024px) {
width: fit-content;
}
}
}
</style>