Update src/components/GameCard.tsx
Some checks failed
Release to Staging / build_and_release (push) Failing after 20s
Some checks failed
Release to Staging / build_and_release (push) Failing after 20s
This commit is contained in:
parent
9a192451f6
commit
1b2926ae77
@ -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'>
|
||||||
<img
|
<div className='cardGameMainWrapper'
|
||||||
src={imageUrl}
|
<img
|
||||||
onError={handleGameImageError}
|
src={imageUrl}
|
||||||
className='cardGameMain'
|
onError={handleGameImageError}
|
||||||
/>
|
className='cardGameMain'
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
<div className='cardGameMainTitle'>
|
<div className='cardGameMainTitle'>
|
||||||
<p>{title}</p>
|
<p>{title}</p>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user