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
ad6399c0
Commit
ad6399c0
authored
Oct 13, 2025
by
Arjun Jhukal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated the responsive of game detail
parent
a15dd87f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
27 deletions
+25
-27
globals.css
src/app/globals.css
+1
-1
Profile.tsx
src/components/organism/Header/Profile.tsx
+10
-3
UserCoin.tsx
...ard/games/exclusiveGames/exclusiveGameDetail/UserCoin.tsx
+1
-1
index.tsx
...hboard/games/exclusiveGames/exclusiveGameDetail/index.tsx
+13
-22
No files found.
src/app/globals.css
View file @
ad6399c0
...
...
@@ -207,7 +207,7 @@
.lg-backdrop
,
.lg-outer
{
z-index
:
999
9
;
z-index
:
999
0
;
}
.banner-desc
span
{
...
...
src/components/organism/Header/Profile.tsx
View file @
ad6399c0
...
...
@@ -138,15 +138,22 @@ export default function ProfileBlock() {
<
List
>
{
menuItems
.
map
((
item
,
idx
)
=>
(
<
ListItem
key=
{
idx
}
disablePadding
>
<
Link
{
!
item
?.
onClick
?
<
Link
// component=
{
item
.
href
?
Link
:
"
button
"}
href=
{
item
.
href
||
""
}
// onClick=
{
item
.
onClick
}
className=
{
`flex items-center py-3 px-4 hover:bg-[#FBF4FB] group`
}
>
<
ListItemIcon
className=
"min-w-[30px] mr-1 group-hover:text-primary"
>
{
item
.
icon
}
</
ListItemIcon
>
<
ListItemText
primary=
{
item
.
label
}
className=
'group-hover:text-primary'
/>
</
Link
>
</
Link
>
:
<
ListItemButton
href=
{
item
.
href
||
""
}
onClick=
{
item
.
onClick
}
className=
{
`flex items-center py-3 px-4 !hover:bg-[#FBF4FB] group`
}
>
<
ListItemIcon
className=
"min-w-[30px] mr-1 group-hover:text-primary"
>
{
item
.
icon
}
</
ListItemIcon
>
<
ListItemText
primary=
{
item
.
label
}
className=
'group-hover:text-primary'
/>
</
ListItemButton
>
}
</
ListItem
>
))
}
</
List
>
...
...
src/components/pages/dashboard/userDashboard/games/exclusiveGames/exclusiveGameDetail/UserCoin.tsx
View file @
ad6399c0
...
...
@@ -11,7 +11,7 @@ export default function UserCoin({ slug }: { slug: string }) {
<
Box
sx=
{
{
background
:
"linear-gradient(0deg, rgba(234, 47, 231, 0.10) 0%, rgba(234, 47, 231, 0.10) 100%)"
,
borderRadius
:
"16px"
}
}
className=
"flex justify-center items-center gap-2 py-4 px-6
min-w-[30%]
"
>
}
}
className=
"flex justify-center items-center gap-2 py-4 px-6 "
>
<
SilverCoinIcon
/>
<
div
className=
"coins"
>
<
strong
className=
"text-[16px] leading-4 font-[600] block mb-1"
>
{
data
?.
balance
||
0
}
</
strong
>
...
...
src/components/pages/dashboard/userDashboard/games/exclusiveGames/exclusiveGameDetail/index.tsx
View file @
ad6399c0
...
...
@@ -14,11 +14,11 @@ export default function ExclusiveGameDetail({ game }: { game: SingleGameResponse
return
(
<>
<
section
className=
"detail__banner mb-8"
>
<
div
className=
"
grid grid-cols-12
gap-8 lg:gap-20"
>
<
div
className=
"
md:grid md:grid-cols-12 flex flex-col
gap-8 lg:gap-20"
>
<
div
className=
"col-span-12 md:col-span-4"
>
<
div
className=
"aspect-[420/433] relative rounded-xl overflow-hidden"
>
<
Image
src=
{
game
.
data
.
thumbnail
||
"/assets/images/fallback.png"
}
fill
className=
"object-cover"
alt=
{
game
.
data
.
name
}
/>
<
div
className=
"aspect-[420/433]
max-w-[420px]
relative rounded-xl overflow-hidden"
>
<
Image
src=
{
game
?.
data
?.
thumbnail
||
"/assets/images/fallback.png"
}
fill
className=
"object-cover"
alt=
{
game
?.
data
?
.
name
}
/>
</
div
>
</
div
>
<
div
className=
"col-span-12 md:col-span-8"
>
...
...
@@ -31,37 +31,28 @@ export default function ExclusiveGameDetail({ game }: { game: SingleGameResponse
<
h1
className=
"text-[2rem]"
>
{
game
?.
data
?.
name
}
</
h1
>
{
renderHTML
(
game
?.
data
?.
description
)
}
</
div
>
<
div
className=
"action__group flex flex-wrap gap-2"
>
{
/* <Box sx={{
background: "linear-gradient(0deg, rgba(234, 47, 231, 0.10) 0%, rgba(234, 47, 231, 0.10) 100%)",
borderRadius: "16px"
}} className="flex justify-center items-center gap-2 py-4 px-6 min-w-[30%] ">
<SilverCoinIcon />
<div className="coins">
<strong className="text-[16px] leading-4 font-[600] block mb-1">20,000</strong>
<span className="text-[12px] block">Current Sweep Coins</span>
</div>
</Box> */
}
<
div
className=
"action__group flex flex-col lg:flex-row flex-wrap gap-2"
>
<
UserCoin
slug=
{
game
?.
data
?.
provider
}
/>
<
Box
sx=
{
{
borderRadius
:
"16px"
}
}
className=
"flex justify-center items-center gap-2 py-4 px-6 bg-secondary-grad text-title
min-w-[30%]
"
>
}
}
className=
"flex justify-center items-center gap-2 py-4 px-6 bg-secondary-grad text-title"
>
<
div
className=
"coins"
>
<
Link
href=
{
"/buy-coins"
}
>
<
Link
href=
{
`/buy-coins/${game?.data?.id}`
}
>
<
strong
className=
"text-[16px] leading-4 font-[600] block mb-1"
>
+ Deposit Coins
</
strong
>
</
Link
>
</
div
>
</
Box
>
<
Box
sx=
{
{
{
game
?.
data
?.
provider
==
"goldcoincity"
?
""
:
<
Box
sx=
{
{
borderRadius
:
"16px"
}
}
className=
"flex justify-center items-center gap-2 py-4 px-6 border border-secondary
min-w-[30%]
"
>
}
}
className=
"flex justify-center items-center gap-2 py-4 px-6 border border-secondary"
>
<
div
className=
"coins"
>
<
Link
href=
{
"/withdrawl"
}
>
<
Link
href=
{
`/withdrawl/${game?.data?.id}`
}
>
<
strong
className=
"text-[16px] leading-4 font-[600] block mb-1 text-secondary"
>
Withdraw Coins
</
strong
>
</
Link
>
</
div
>
</
Box
>
</
Box
>
}
</
div
>
{
game
?.
data
?.
game_url
?
<
Link
className=
"ss-btn bg-primary-grad"
href=
{
game
?.
data
?.
game_url
}
>
Play Now
</
Link
>
:
""
}
...
...
@@ -74,9 +65,9 @@ export default function ExclusiveGameDetail({ game }: { game: SingleGameResponse
{
game
?.
data
?.
subgames
?
<
section
className=
"exclusive__game__gallery"
>
<
div
className=
"section__title"
>
<
h2
className=
"text-[14px] lg:text-[16px] mb-4"
>
Panda Master Games
</
h2
>
<
h2
className=
"text-[14px] lg:text-[16px] mb-4"
>
{
game
?.
data
?.
name
}
</
h2
>
</
div
>
<
CustomLightGallery
images=
{
game
.
data
.
subgames
}
column=
{
7
}
aspectRatio=
"aspect-[212/120]"
/>
<
CustomLightGallery
images=
{
game
?.
data
?
.
subgames
}
column=
{
7
}
aspectRatio=
"aspect-[212/120]"
/>
</
section
>
:
""
}
</>
);
...
...
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