wallet page

This commit is contained in:
hamid zarghami
2025-02-02 15:52:37 +03:30
parent a83b6a3927
commit 9f351fe9fd
3 changed files with 20 additions and 19 deletions
+6 -6
View File
@@ -22,12 +22,12 @@ export const StatusBox = () => {
icon: <DollarCircle color="#292D32" variant="Bold" className="size-[40px]" />, icon: <DollarCircle color="#292D32" variant="Bold" className="size-[40px]" />,
value: data?.data?.user?.walletBalance value: data?.data?.user?.walletBalance
}, },
{ // {
name: "coin", // name: "coin",
title: "دارایی از تمدید اشتراک", // title: "دارایی از تمدید اشتراک",
icon: <Coin1 color="#292D32" variant="Bold" className="size-[40px]" />, // icon: <Coin1 color="#292D32" variant="Bold" className="size-[40px]" />,
value: data?.data?.user?.walletBalance // value: data?.data?.user?.walletBalance
}, // },
{ {
name: "star", name: "star",
title: "امتیاز شرکت در قرعه کشی", title: "امتیاز شرکت در قرعه کشی",
+7 -6
View File
@@ -22,12 +22,13 @@ export const WalletPage = () => {
value: data?.data?.user?.walletBalance, value: data?.data?.user?.walletBalance,
detail: true detail: true
}, },
{ // {
name: "coin", // name: "coin",
title: "دارایی از تمدید اشتراک", // title: "دارایی از تمدید اشتراک",
icon: <Coin1 color="#292D32" variant="Bold" className="size-[40px]" />, // icon: <Coin1 color="#292D32" variant="Bold" className="size-[40px]" />,
value: data?.data?.user?.walletBalance, // value: data?.data?.user?.walletBalance,
}]) // }
])
}, [data]) }, [data])
useEffect(() => { useEffect(() => {
+7 -7
View File
@@ -59,11 +59,11 @@ export const sidebarItems: SidebarInterface[] | [] = [
icon: <Cup color="#777577" className="size-5" variant="Bold" />, icon: <Cup color="#777577" className="size-5" variant="Bold" />,
activeIcon: <Cup color="#11212D" className="size-5" variant="Bold" /> activeIcon: <Cup color="#11212D" className="size-5" variant="Bold" />
}, },
{ // {
name: "subscription-report", // name: "subscription-report",
title: "گزارش تمدید اشتراک اینترنتی", // title: "گزارش تمدید اشتراک اینترنتی",
route: "/subscription-report", // route: "/subscription-report",
icon: <DocumentText color="#777577" className="size-5" variant="Bold" />, // icon: <DocumentText color="#777577" className="size-5" variant="Bold" />,
activeIcon: <DocumentText color="#11212D" className="size-5" variant="Bold" /> // activeIcon: <DocumentText color="#11212D" className="size-5" variant="Bold" />
}, // },
] ]