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) => { export const GameCard = ({ title, imageUrl }: GameCardProps) => {
return ( return (
<a className='cardGameMainWrapperLink' href='search.html'> <a className='cardGameMainWrapperLink' href='search.html'>
<div className='cardGameMainWrapper'
<img <img
src={imageUrl} src={imageUrl}
onError={handleGameImageError} onError={handleGameImageError}
className='cardGameMain' className='cardGameMain'
/> />
</div>
<div className='cardGameMainTitle'> <div className='cardGameMainTitle'>
<p>{title}</p> <p>{title}</p>
</div> </div>