Commit 7bf097c2 by Arjun Jhukal

removed the server private and re added the exclusive game content

parent 42536f52
...@@ -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>
) )
} }
...@@ -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>
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment