Commit 4b61220d by Arjun Jhukal

updated the notification icon

parent 02310fd9
import ExlusiveGameDetail from "@/components/pages/dashboard/userDashboard/games/exclusiveGames/exclusiveGameDetail"; import ExclusiveGameDetail from "@/components/pages/dashboard/userDashboard/games/exclusiveGames/exclusiveGameDetail";
import { getSingleGame } from "@/serverApi/game"; import { getSingleGame } from "@/serverApi/game";
import { cookies } from "next/headers"; import { cookies } from "next/headers";
...@@ -7,6 +7,6 @@ export default async function UserGameDetail(props: { params: Promise<{ id: stri ...@@ -7,6 +7,6 @@ export default async function UserGameDetail(props: { params: Promise<{ id: stri
const game = await getSingleGame(id); const game = await getSingleGame(id);
return <ExlusiveGameDetail game={game} /> return <ExclusiveGameDetail game={game} />
} }
...@@ -9,7 +9,7 @@ import ScreenShotSlider from "@/components/molecules/Sliders/ScreenShotSlider"; ...@@ -9,7 +9,7 @@ import ScreenShotSlider from "@/components/molecules/Sliders/ScreenShotSlider";
import CustomLightGallery from "@/components/organism/LightGallery"; import CustomLightGallery from "@/components/organism/LightGallery";
import Link from "next/link"; import Link from "next/link";
export default function ExlusiveGameDetail({ game }: { game: SingleGameResponse }) { export default function ExclusiveGameDetail({ game }: { game: SingleGameResponse }) {
return ( return (
<> <>
<section className="detail__banner mb-8"> <section className="detail__banner mb-8">
......
...@@ -25,7 +25,7 @@ export default async function ExclusiveGamePage() { ...@@ -25,7 +25,7 @@ export default async function ExclusiveGamePage() {
<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={`exclusive-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}>
<Image <Image
src={game.thumbnail || "/assets/images/fallback.png"} src={game.thumbnail || "/assets/images/fallback.png"}
......
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