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"
|
||||
className="block cursor-pointer transition-opacity hover:opacity-90"
|
||||
>
|
||||
<Image
|
||||
<img
|
||||
src={post.primary_author.profile_image}
|
||||
alt={post.primary_author.name}
|
||||
fill
|
||||
className="object-cover"
|
||||
/>
|
||||
</a>
|
||||
) : (
|
||||
<Image
|
||||
<img
|
||||
src={post.primary_author.profile_image}
|
||||
alt={post.primary_author.name}
|
||||
fill
|
||||
className="object-cover"
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user