keycloak fix

This commit is contained in:
2025-07-01 13:45:20 +07:00
parent 1532ef6db8
commit 78b75999ea
13 changed files with 235 additions and 71 deletions

No files matched your search

+33 -33
View File
@@ -1,52 +1,52 @@
// project imports
import mock from './mockAdapter';
import type { notificationType, profileType, languageType, appsLinkType,searchType } from '@/types/HeaderTypes'
import type { notificationType, profileType, languageType, appsLinkType, searchType } from '@/types/HeaderTypes'
//
// Notification
//
const notifications:notificationType[] = [
const notifications: notificationType[] = [
{
avatar: 'widget-3-line-duotone',
color:'error',
color: 'error',
title: 'Launch Admin',
subtitle: 'Just see the my new admin!',
time:'9:30 AM'
time: '9:30 AM'
},
{
avatar: 'calendar-line-duotone',
color:'primary',
color: 'primary',
title: 'Event Today',
subtitle: 'Just a reminder that you have event',
time:'9:15 AM'
time: '9:15 AM'
},
{
avatar: 'settings-line-duotone',
color:'secondary',
color: 'secondary',
title: 'Settings',
subtitle: 'You can customize this template as you want',
time:'4:36 PM'
time: '4:36 PM'
},
{
avatar: 'widget-4-line-duotone',
color:'warning',
color: 'warning',
title: 'Launch Admin',
subtitle: 'Just see the my new admin!',
time:'9:30 AM'
time: '9:30 AM'
},
{
avatar: 'calendar-line-duotone',
color:'primary',
color: 'primary',
title: 'Event Today',
subtitle: 'Just a reminder that you have event',
time:'9:15 AM'
time: '9:15 AM'
},
{
avatar: 'settings-line-duotone',
color:'secondary',
color: 'secondary',
title: 'Settings',
subtitle: 'You can customize this template as you want',
time:'4:36 PM'
time: '4:36 PM'
},
];
@@ -57,29 +57,29 @@ const profileDD: profileType[] = [
{
title: 'My Profile',
href: '/apps/user/profile',
badge:false
badge: false
},
{
title: 'My Subscription',
href: '/pages/pricing',
badge:false
badge: false
},
{
title: 'My Notes',
href: '/apps/notes',
badge:true
badge: true
},
{
title: 'Account Settings',
href: '/pages/account-settings',
badge:false
badge: false
},
{
title: 'Sign Out',
href: '/auth/login2',
badge:false
},
// {
// title: 'Sign Out',
// href: '/auth/login2',
// badge:false
// },
];
//
@@ -102,57 +102,57 @@ const languageDD: languageType[] = [
const appsLink: appsLinkType[] = [
{
avatar: 'chat-line-bold-duotone',
color:'primary',
color: 'primary',
title: 'Chat Application',
subtext: 'New messages arrived',
href: '/apps/chats'
},
{
avatar: 'user-bold-duotone',
color:'success',
color: 'success',
title: 'User Profile App',
subtext: 'Get profile details',
href: '/apps/user/profile'
},
{
avatar: 'bill-list-bold-duotone',
color:'secondary',
color: 'secondary',
title: 'eCommerce App',
subtext: 'learn more information',
href: '/ecommerce/products'
},
{
avatar: 'calendar-minimalistic-bold-duotone',
color:'primary',
color: 'primary',
title: 'Calendar App',
subtext: 'Get dates',
href: '/apps/calendar'
},
{
avatar: 'phone-calling-rounded-bold-duotone',
color:'warning',
color: 'warning',
title: 'Contact Application',
subtext: '2 Unsaved Contacts',
href: '/apps/contacts'
},
{
avatar: 'settings-bold-duotone',
color:'info',
color: 'info',
title: 'Account Setting App',
subtext: 'Account settings',
href: '/pages/account-settings'
},
{
avatar: 'checklist-minimalistic-bold',
color:'error',
color: 'error',
title: 'Kanban App',
subtext: 'Get new Task',
href: '/apps/kanban'
},
{
avatar: 'notes-bold-duotone',
color:'warning',
color: 'warning',
title: 'Notes Application',
subtext: 'To-do and Daily tasks',
href: '/apps/notes'