Files
cobaKeuangan/_mockApis/headerData.ts
2025-06-16 14:16:24 +07:00

231 lines
5.1 KiB
TypeScript

// project imports
import mock from './mockAdapter';
import type { notificationType, profileType, languageType, appsLinkType, quickLinksType, searchType } from '~/types/HeaderTypes';
//
// Notification
//
import user1 from '~/assets/images/profile/user-1.jpg';
import user2 from '~/assets/images/profile/user-2.jpg';
import user3 from '~/assets/images/profile/user-3.jpg';
import user4 from '~/assets/images/profile/user-4.jpg';
import user5 from '~/assets/images/profile/user-5.jpg';
const notifications: notificationType[] = [
{
avatar: user1,
title: 'Roman Joined the Team!',
subtitle: 'Congratulate him'
},
{
avatar: user2,
title: 'New message received',
subtitle: 'Salma sent you new message'
},
{
avatar: user3,
title: 'New Payment received',
subtitle: 'Check your earnings'
},
{
avatar: user4,
title: 'Jolly completed tasks',
subtitle: 'Assign her new tasks'
},
{
avatar: user5,
title: 'New Payment received',
subtitle: 'Check your earnings'
},
{
avatar: user1,
title: 'Roman Joined the Team!',
subtitle: 'Congratulate him'
}
];
//
// Profile
//
import proUser1 from '~/assets/images/svgs/icon-account.svg';
import proUser2 from '~/assets/images/svgs/icon-inbox.svg';
import proUser3 from '~/assets/images/svgs/icon-tasks.svg';
const profileDD: profileType[] = [
{
avatar: proUser1,
title: 'My Profile',
subtitle: 'Account settings',
href: ''
},
{
avatar: proUser2,
title: 'My Notes',
subtitle: 'My Daily Notes',
href: ''
},
{
avatar: proUser3,
title: 'My Tasks',
subtitle: 'To-do and Daily tasks',
href: ''
}
];
//
// Language
//
import flag1 from '~/assets/images/flag/icon-flag-en.svg';
import flag2 from '~/assets/images/flag/icon-flag-fr.svg';
import flag3 from '~/assets/images/flag/icon-flag-ro.svg';
import flag4 from '~/assets/images/flag/icon-flag-zh.svg';
const languageDD: languageType[] = [
{ title: 'English', subtext: 'UK', value: 'en', avatar: flag1 },
{ title: 'français', subtext: 'French', value: 'fr', avatar: flag2 },
{ title: 'عربي', subtext: 'Arbic', value: 'ro', avatar: flag3 },
{ title: '中国人', subtext: 'Chinese', value: 'zh', avatar: flag4 }
];
//
// AppsLink
//
import img1 from '~/assets/images/svgs/icon-dd-chat.svg';
import img2 from '~/assets/images/svgs/icon-dd-cart.svg';
import img3 from '~/assets/images/svgs/icon-dd-invoice.svg';
import img4 from '~/assets/images/svgs/icon-dd-date.svg';
import img5 from '~/assets/images/svgs/icon-dd-mobile.svg';
import img6 from '~/assets/images/svgs/icon-dd-lifebuoy.svg';
import img7 from '~/assets/images/svgs/icon-dd-message-box.svg';
import img8 from '~/assets/images/svgs/icon-dd-application.svg';
const appsLink: appsLinkType[] = [
{
avatar: img1,
title: 'Chat Application',
subtext: 'New messages arrived',
href: ''
},
{
avatar: img2,
title: 'eCommerce App',
subtext: 'learn more information',
href: ''
},
{
avatar: img3,
title: 'User Profile App',
subtext: 'Get profile details',
href: ''
},
{
avatar: img4,
title: 'Calendar App',
subtext: 'Get dates',
href: ''
},
{
avatar: img5,
title: 'Contact Application',
subtext: '2 Unsaved Contacts',
href: ''
},
{
avatar: img6,
title: 'Account Setting App',
subtext: 'Account settings',
href: ''
},
{
avatar: img7,
title: 'Email App',
subtext: 'Get new emails',
href: ''
},
{
avatar: img8,
title: 'Notes Application',
subtext: 'To-do and Daily tasks',
href: ''
}
];
//
// Quick Links
//
const quickLink: quickLinksType[] = [
{
title: 'Pricing Page',
href: ''
},
{
title: 'Authentication Design',
href: ''
},
{
title: 'Register Now',
href: ''
},
{
title: '404 Error Page',
href: ''
},
{
title: 'Notes App',
href: ''
},
{
title: 'User Application',
href: ''
},
{
title: 'Blog Design',
href: ''
},
{
title: 'Shopping Cart',
href: ''
}
];
//
// Search Data
//
const searchSugg: searchType[] = [
{
title: 'Modern',
href: ''
},
{
title: 'eCommerce',
href: ''
},
{
title: 'Contacts',
href: ''
},
{
title: 'Shop',
href: ''
},
{
title: 'Checkout',
href: ''
},
{
title: 'Chats',
href: ''
},
{
title: 'Notes',
href: ''
},
{
title: 'Pricing',
href: ''
},
{
title: 'Account Setting',
href: ''
}
];
export { notifications, profileDD, languageDD, appsLink, quickLink, searchSugg };