fix:pagination shopw author name

This commit is contained in:
hamid zarghami
2025-10-13 14:22:20 +03:30
parent d3d63a922c
commit f49a8641fc
6 changed files with 94 additions and 24 deletions
+4
View File
@@ -103,6 +103,7 @@ const BlogList: FC = () => {
<thead className='thead'>
<tr>
<Td text={t('blog.picture')} />
<Td text={t('blog.author')} />
<Td text={t('blog.blog_title')} />
<Td text={t('blog.blog_summary')} />
<Td text={t('blog.category')} />
@@ -119,6 +120,9 @@ const BlogList: FC = () => {
<Td text={''}>
<img src={item.imageUrl} alt={item.title} className='w-20 rounded-lg' />
</Td>
<Td text={''}>
<p className='max-w-[150px] truncate'>{item.author.firstName} {item.author.lastName}</p>
</Td>
<Td text={''}>
<p className='max-w-[150px] truncate'>{item.title}</p>
</Td>