mirror of
https://github.com/Dokploy/website
synced 2025-06-26 18:16:01 +00:00
fix: replace Next.js Image component with standard img tag for author profile
This commit is contained in:
@@ -221,18 +221,16 @@ export default async function BlogPostPage({ params }: Props) {
|
|||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="block cursor-pointer transition-opacity hover:opacity-90"
|
className="block cursor-pointer transition-opacity hover:opacity-90"
|
||||||
>
|
>
|
||||||
<Image
|
<img
|
||||||
src={post.primary_author.profile_image}
|
src={post.primary_author.profile_image}
|
||||||
alt={post.primary_author.name}
|
alt={post.primary_author.name}
|
||||||
fill
|
|
||||||
className="object-cover"
|
className="object-cover"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
) : (
|
) : (
|
||||||
<Image
|
<img
|
||||||
src={post.primary_author.profile_image}
|
src={post.primary_author.profile_image}
|
||||||
alt={post.primary_author.name}
|
alt={post.primary_author.name}
|
||||||
fill
|
|
||||||
className="object-cover"
|
className="object-cover"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user