mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 12:24:18 +00:00
refactor: CardBlog wrap title, img with Link
This commit is contained in:
@@ -13,8 +13,6 @@ const CardBlog = ({ imageSrc, title, description, link }: BlogCardProps) => {
|
||||
<div className={s.image}>
|
||||
<img src={imageSrc} alt="image cardblog" />
|
||||
</div>
|
||||
</Link>
|
||||
<Link href={link}>
|
||||
<div className={s.title}>{title}</div>
|
||||
</Link>
|
||||
<div className={s.description}>{description}</div>
|
||||
|
Reference in New Issue
Block a user