feat: batch announcements

This commit is contained in:
Jannat Patel
2024-01-12 21:48:42 +05:30
parent 1a6a119f35
commit bcee74ce77
16 changed files with 489 additions and 124 deletions

View File

@@ -1,5 +1,6 @@
import { toast } from 'frappe-ui'
import { useDateFormat, useTimeAgo } from '@vueuse/core'
import { BookOpen, Users, TrendingUp, Briefcase } from 'lucide-vue-next'
export function createToast(options) {
toast({
@@ -179,3 +180,28 @@ export function getTimezones() {
'Pacific/Apia',
]
}
export function getSidebarLinks() {
return [
{
label: 'Courses',
icon: BookOpen,
to: 'Courses',
},
{
label: 'Batches',
icon: Users,
to: 'Batches',
},
{
label: 'Statistics',
icon: TrendingUp,
to: 'Statistics',
},
{
label: 'Jobs',
icon: Briefcase,
to: 'Jobs',
},
]
}