chang icons of boursemes

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-16 17:01:35 +03:30
co-authored by Cursor
parent 17e4f14e46
commit e174ae28c5
22 changed files with 242 additions and 22 deletions
@@ -1,3 +1,4 @@
import { getBoursecuActionIconSrc } from '@/utils/config'
import type { HomeQuickActionItem } from '../types'
export const boursecuQuickActions: HomeQuickActionItem[] = [
@@ -5,36 +6,42 @@ export const boursecuQuickActions: HomeQuickActionItem[] = [
id: 'buySell',
label: 'خرید و فروش',
icon: 'vuesax-linear:money-receive',
iconSrc: getBoursecuActionIconSrc('buySell'),
route: { name: 'buyProduct' },
},
{
id: 'wallet',
label: 'واریز و برداشت',
icon: 'vuesax-linear:wallet-1',
iconSrc: getBoursecuActionIconSrc('wallet'),
route: { name: 'wallet' },
},
{
id: 'assets',
label: 'دارایی ها',
icon: 'vuesax-linear:cup',
iconSrc: getBoursecuActionIconSrc('assets'),
route: { name: 'fund' },
},
{
id: 'transactions',
label: 'تراکنش ها',
icon: 'vuesax-linear:receipt-item',
iconSrc: getBoursecuActionIconSrc('transactions'),
route: { name: 'transactions' },
},
{
id: 'physicalReceive',
label: 'تحویل فیزیکی',
icon: 'vuesax-linear:direct-inbox',
iconSrc: getBoursecuActionIconSrc('physicalReceive'),
route: { name: 'physicalReceive' },
},
{
id: 'convert',
label: 'تبدیل',
icon: 'vuesax-linear:refresh-circle',
iconSrc: getBoursecuActionIconSrc('convert'),
route: { name: 'buyProduct' },
},
]
]
+1
View File
@@ -18,6 +18,7 @@ export interface HomeQuickActionItem {
id: string
label: string
icon: string
iconSrc?: string
route: { name: string; query?: Record<string, string> }
}