Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sweepstake
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Arjun Jhukal
sweepstake
Commits
8f80e0d8
Commit
8f80e0d8
authored
Sep 25, 2025
by
Arjun Jhukal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated the minor changes
parent
3676a95a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
layout.tsx
...rd)/(user)/(privateUser)/account/@page/profile/layout.tsx
+1
-0
UserProfileCard.tsx
src/components/organism/Cards/UserProfileCard.tsx
+3
-3
No files found.
src/app/(dashboard)/(user)/(privateUser)/account/@page/profile/layout.tsx
View file @
8f80e0d8
...
...
@@ -7,6 +7,7 @@ import { getUserGameBalance } from "@/serverApi/game";
export
default
async
function
ProfileTabs
({
section
}:
{
section
:
React
.
ReactNode
})
{
const
balance
=
await
getUserGameBalance
();
const
links
=
[
{
href
:
"/account/profile/account"
,
label
:
"Account Details"
},
{
href
:
"/account/profile/wallet"
,
label
:
"Wallet Information"
},
...
...
src/components/organism/Cards/UserProfileCard.tsx
View file @
8f80e0d8
...
...
@@ -35,21 +35,21 @@ export default function UserProfileCard({ balance }: { balance: any }) {
<
div
className=
"w-full rounded-[14px] p-4 lg:py-6"
style=
{
{
background
:
"rgba(191, 26, 198, 0.10)"
}
}
>
<
Image
src=
{
"/assets/images/deposit.svg"
}
alt=
''
width=
{
48
}
height=
{
48
}
className=
'mx-auto'
/>
<
div
className=
"content mt-3 "
>
<
strong
className=
"text-[12px] leading-[120%] font-[700] text-white block "
>
$
{
balance
?.
data
?.
total_deposit
}
</
strong
>
<
strong
className=
"text-[12px] leading-[120%] font-[700] text-white block "
>
$
{
balance
?.
data
?.
total_deposit
ed
}
</
strong
>
<
span
className=
"text-white text-[9px]"
>
Total Deposited
</
span
>
</
div
>
</
div
>
<
div
className=
"w-full rounded-[14px] p-4 lg:py-6"
style=
{
{
background
:
"rgba(191, 26, 198, 0.10)"
}
}
>
<
Image
src=
{
"/assets/images/withdrawn.svg"
}
alt=
''
width=
{
48
}
height=
{
48
}
className=
'mx-auto'
/>
<
div
className=
"content mt-3"
>
<
strong
className=
"text-[12px] leading-[120%] font-[700] text-white block "
>
$3
{
balance
?.
data
?.
total_withdraw
l
}
</
strong
>
<
strong
className=
"text-[12px] leading-[120%] font-[700] text-white block "
>
$3
{
balance
?.
data
?.
total_withdraw
n
}
</
strong
>
<
span
className=
"text-white text-[9px]"
>
Total Withdrawl
</
span
>
</
div
>
</
div
>
<
div
className=
"w-full rounded-[14px] p-4 lg:py-6"
style=
{
{
background
:
"rgba(191, 26, 198, 0.10)"
}
}
>
<
Image
src=
{
"/assets/images/withdrawn.svg"
}
alt=
''
width=
{
48
}
height=
{
48
}
className=
'mx-auto'
/>
<
div
className=
"content mt-3"
>
<
strong
className=
"text-[12px] leading-[120%] font-[700] text-white block "
>
$
{
balance
?.
data
?.
total_win
ing
||
0
}
</
strong
>
<
strong
className=
"text-[12px] leading-[120%] font-[700] text-white block "
>
$
{
balance
?.
data
?.
total_win
nings
||
0
}
</
strong
>
<
span
className=
"text-white text-[9px]"
>
Total Winnings
</
span
>
</
div
>
</
div
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment