feat: update news detail page to display author's avatar and name

This commit is contained in:
fredy.siswanto 2025-03-08 15:01:52 +07:00
parent fc67298a85
commit 46e009f888

View File

@ -31,8 +31,8 @@ export const NewsDetailPage = () => {
<div className="my-5 w-full items-center justify-between gap-2 align-middle sm:flex">
<div className="mb-2 flex items-center gap-2 align-middle">
<img
src={'https://placehold.co/50x50.png'}
alt={title}
src={author.avatar}
alt={author.name}
className="h-12 w-12 rounded-full"
/>
<div>