This commit is contained in:
2025-06-16 14:16:24 +07:00
parent e07a30b204
commit 08542471d0
171 changed files with 5042 additions and 19 deletions
@@ -0,0 +1,101 @@
import type { paymentGateway, recentTrans } from '~/types/components/dashboard/ecommerceDashboard';
import icon1 from '~/assets/images/svgs/icon-paypal.svg';
import icon2 from '~/assets/images/svgs/icon-office-bag.svg';
import icon3 from '~/assets/images/svgs/icon-master-card.svg';
import icon4 from '~/assets/images/svgs/icon-pie.svg';
/*--Payment gateways--*/
const paymentGateways: paymentGateway[] = [
{
img: icon1,
title: 'Paypal',
subtitle: 'Big Brands',
rank: '+$6,235',
disable: '',
bgcolor: 'primary'
},
{
img: icon2,
title: 'Wallet',
subtitle: 'Bill payment',
rank: '-$345',
disable: 'emphasis',
bgcolor: 'success'
},
{
img: icon3,
title: 'Credit Card',
subtitle: 'Money reversed',
rank: '+$2,235',
disable: '',
bgcolor: 'warning'
},
{
img: icon4,
title: 'Refund',
subtitle: 'Bill Payment',
rank: '-$32',
disable: 'emphasis',
bgcolor: 'error'
}
];
/*--Recent Transaction--*/
const recentTransaction: recentTrans[] = [
{
title: '09:30 am',
subtitle: 'Payment received from John Doe of $385.90',
textcolor: 'primary',
boldtext: false,
line: true,
link: '',
url: ''
},
{
title: '10:00 am',
subtitle: 'New sale recorded',
textcolor: 'secondary',
boldtext: true,
line: true,
link: '#ML-3467',
url: ''
},
{
title: '12:00 am',
subtitle: 'Payment was made of $64.95 to Michael',
textcolor: 'success',
boldtext: false,
line: true,
link: '',
url: ''
},
{
title: '09:30 am',
subtitle: 'New sale recorded',
textcolor: 'warning',
boldtext: true,
line: true,
link: '#ML-3467',
url: ''
},
{
title: '09:30 am',
subtitle: 'New arrival recorded',
textcolor: 'error',
boldtext: true,
line: true,
link: '#ML-3467',
url: ''
},
{
title: '12:00 am',
subtitle: 'Payment Done',
textcolor: 'success',
boldtext: false,
line: false,
link: '',
url: ''
}
];
export { paymentGateways, recentTransaction };
@@ -0,0 +1,139 @@
import type { userCard, weeklyStats,topProjects,topCards } from '@/types/components/dashboard/modernDashboard';
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";
/*--Top cards--*/
import card_icon1 from "@/assets/images/svgs/icon-user-male.svg"
import card_icon2 from "@/assets/images/svgs/icon-briefcase.svg"
import card_icon3 from "@/assets/images/svgs/icon-mailbox.svg"
import card_icon4 from "@/assets/images/svgs/icon-favorites.svg"
import card_icon5 from "@/assets/images/svgs/icon-speech-bubble.svg"
import card_icon6 from "@/assets/images/svgs/icon-connect.svg"
/*--Blog Cards--*/
const userCardData: userCard[] = [
{ img: user4 },
{ img: user3 },
{ img: user2 },
{ img: user1 },
];
/*--Weeekly Stas--*/
const weeklyStatsData: weeklyStats[] = [
{
title: "Top Sales",
subtitle: "Johnathan Doe",
rank: "+68",
bgcolor: "primary",
textcolor: "primary",
},
{
title: "Best Seller",
subtitle: "Footware",
rank: "+45",
bgcolor: "success",
textcolor: "success",
},
{
title: "Most Commented",
subtitle: "Fashionware",
rank: "+14",
bgcolor: "error",
textcolor: "error",
},
];
/*--Top Projects --*/
const topProjectsData: topProjects[] = [
{
img: user1,
activestate: "",
leadname: "Sunil Joshi",
designation: "Web Designer",
projectname: "Elite Admin",
statuscolor: "success",
statustext: "Low",
money: "$3.9K",
},
{
img: user2,
activestate: "",
leadname: "John Deo",
designation: "Web Developer",
projectname: "Flexy Admin",
statuscolor: "warning",
statustext: "Medium",
money: "$24.5K",
},
{
img: user3,
activestate: "",
leadname: "Nirav Joshi",
designation: "Web Manager",
projectname: "Material Pro",
statuscolor: "error",
statustext: "High",
money: "$12.8K",
},
{
img: user4,
activestate: "",
leadname: "Yuvraj Sheth",
designation: "Project Manager",
projectname: "Xtreme Admin",
statuscolor: "secondary",
statustext: "Very High",
money: "$2.4K",
},
];
/*--Top Cards --*/
const topCardsData: topCards[] = [
{
img: card_icon1,
title: "Employees",
number: "96",
bgcolor: "lightprimary",
textcolor: "primary"
},
{
img: card_icon2,
title: "Clients",
number: "3,650",
bgcolor: "lightwarning",
textcolor: "warning"
},
{
img: card_icon3,
title: "Projects",
number: "356",
bgcolor: "lightsecondary",
textcolor: "secondary"
},
{
img: card_icon4,
title: "Events",
number: "696",
bgcolor: "lighterror",
textcolor: "error"
},
{
img: card_icon5,
title: "Payroll",
number: "$96k",
bgcolor: "lightsuccess",
textcolor: "success"
},
{
img: card_icon6,
title: "Reports",
number: "59",
bgcolor: "lightprimary",
textcolor: "primary"
}
]
export { userCardData, weeklyStatsData, topProjectsData,topCardsData}