Add games page

This commit is contained in:
2024-05-12 10:05:49 +04:00
parent a2ea5fc409
commit 275d99bd85
7 changed files with 101 additions and 39 deletions

View File

@@ -4,9 +4,9 @@ import Image from "next/image";
export const GameCard = ({ card }: { card: GameCardType }) => {
return (
<div className="group/gamecard cursor-pointer">
{!!card.cover && (
{!!card.cover_preview && (
<Image
src={card.cover}
src={card.cover_preview}
className="rounded-lg"
alt=""
width={700}