blog + sidebar

This commit is contained in:
hamid zarghami
2025-04-20 16:30:55 +03:30
parent 3aaea96c2a
commit 486bf6a0a7
5 changed files with 23 additions and 9 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ interface Props {
const BlogItem: FC<Props> = ({ item }) => {
return (
<Link href={`/blogs/${item.id}`} className='flex-1 w-full min-h-[390px] rounded-4xl overflow-hidden relative'>
<Link href={`/blogs/${item.slug}`} className='flex-1 w-full min-h-[390px] rounded-4xl overflow-hidden relative'>
<Image
src={item.imageUrl}
layout='fill'