feat: update news detail page to display author's avatar and name
This commit is contained in:
parent
fc67298a85
commit
46e009f888
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user