improve(public): ensure to use next/image

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-05-06 22:34:36 +02:00
parent 2d8f6f36f6
commit d4c2f9ca9f
5 changed files with 23 additions and 9 deletions

View File

@@ -46,7 +46,7 @@ export function TwitterCard({
<div className="row gap-4">
<div className="size-12 rounded-full bg-muted overflow-hidden shrink-0">
{avatarUrl && (
<img src={avatarUrl} alt={name} width={48} height={48} />
<Image src={avatarUrl} alt={name} width={48} height={48} />
)}
</div>
<div className="col gap-1">