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
7bf097c2
Commit
7bf097c2
authored
Sep 24, 2025
by
Arjun Jhukal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed the server private and re added the exclusive game content
parent
42536f52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
layout.tsx
src/app/(dashboard)/(user)/(privateUser)/layout.tsx
+5
-2
index.tsx
...es/dashboard/userDashboard/games/exclusiveGames/index.tsx
+2
-2
No files found.
src/app/(dashboard)/(user)/(privateUser)/layout.tsx
View file @
7bf097c2
...
@@ -4,8 +4,11 @@ import React from 'react'
...
@@ -4,8 +4,11 @@ import React from 'react'
export
default
function
PrivateUserLayout
({
children
}:
{
children
:
React
.
ReactNode
})
{
export
default
function
PrivateUserLayout
({
children
}:
{
children
:
React
.
ReactNode
})
{
return
(
return
(
<
ServerPrivate
>
// <ServerPrivate>
<>
{
children
}
{
children
}
</
ServerPrivate
>
</>
// </ServerPrivate>
)
)
}
}
src/components/pages/dashboard/userDashboard/games/exclusiveGames/index.tsx
View file @
7bf097c2
...
@@ -12,7 +12,7 @@ export default async function ExclusiveGamePage() {
...
@@ -12,7 +12,7 @@ export default async function ExclusiveGamePage() {
<
section
className=
"exclusive__game__root"
>
<
section
className=
"exclusive__game__root"
>
<
h2
className=
'mb-4 text-[20px] leading-[140%]'
>
Exclusive Games
</
h2
>
<
h2
className=
'mb-4 text-[20px] leading-[140%]'
>
Exclusive Games
</
h2
>
<
div
className=
"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 xl:grid-cols-5 gap-4"
>
<
div
className=
"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 xl:grid-cols-5 gap-4"
>
{
/* {
{
games
?.
data
?.
data
.
map
((
game
)
=>
(
games
?.
data
?.
data
.
map
((
game
)
=>
(
<
a
href=
{
`exlusive-games/${game.id}`
}
className=
"group block overflow-hidden hover:shadow-md transition rounded-2xl aspect-[208/222] relative"
key=
{
game
.
id
}
>
<
a
href=
{
`exlusive-games/${game.id}`
}
className=
"group block overflow-hidden hover:shadow-md transition rounded-2xl aspect-[208/222] relative"
key=
{
game
.
id
}
>
<
Tooltip
title=
{
game
.
name
}
>
<
Tooltip
title=
{
game
.
name
}
>
...
@@ -25,7 +25,7 @@ export default async function ExclusiveGamePage() {
...
@@ -25,7 +25,7 @@ export default async function ExclusiveGamePage() {
</
Tooltip
>
</
Tooltip
>
</
a
>
</
a
>
))
))
}
*/
}
}
</
div
>
</
div
>
</
section
>
</
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