Update src/components/GameCard.tsx
Some checks failed
Release to Staging / build_and_release (push) Failing after 20s

This commit is contained in:
freakoverse 2024-09-02 09:48:51 +00:00
parent 9a192451f6
commit 1b2926ae77

View File

@ -9,11 +9,13 @@ type GameCardProps = {
export const GameCard = ({ title, imageUrl }: GameCardProps) => {
return (
<a className='cardGameMainWrapperLink' href='search.html'>
<img
src={imageUrl}
onError={handleGameImageError}
className='cardGameMain'
/>
<div className='cardGameMainWrapper'
<img
src={imageUrl}
onError={handleGameImageError}
className='cardGameMain'
/>
</div>
<div className='cardGameMainTitle'>
<p>{title}</p>
</div>