RC-10: create shared components for history and favorites pages
This commit is contained in:
@@ -4,10 +4,10 @@ import { Link } from 'react-router-dom';
|
||||
|
||||
function ArticleCard({ t, id, title, description, image, updated }) {
|
||||
return (
|
||||
<article className="flex flex-col justify-between max-w-[460px] w-full h-[526px] bg-primary-light rounded-[20px] shadow-light">
|
||||
<article className="flex flex-col justify-between max-w-[460px] w-full h-[526px] bg-primary-light rounded-20 shadow-light">
|
||||
<div>
|
||||
<img
|
||||
className="w-full h-[230px] mb-20 rounded-[20px] object-cover"
|
||||
className="w-full h-[230px] mb-20 rounded-20 object-cover"
|
||||
src={image}
|
||||
alt={title}
|
||||
width="460"
|
||||
|
||||
Reference in New Issue
Block a user