link
This commit is contained in:
@@ -14,10 +14,11 @@ const Blog: FC = () => {
|
||||
|
||||
<div className='flex xl:flex-row flex-col gap-8 xl:mt-16 mt-10 items-center'>
|
||||
{
|
||||
data?.data?.pinnedBlogs?.map((item) => {
|
||||
return (
|
||||
<BlogItem key={item.id} item={item} />
|
||||
)
|
||||
data?.data?.pinnedBlogs?.map((item, index: number) => {
|
||||
if (index < 3)
|
||||
return (
|
||||
<BlogItem key={item.id} item={item} />
|
||||
)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user