perf(images): serve optimized portfolio media

This commit is contained in:
poyrazavsever
2026-08-31 10:20:02 +03:00
parent 5c48b029ca
commit 87e6279dec
127 changed files with 367 additions and 73 deletions
+2 -4
View File
@@ -45,15 +45,13 @@ function MarkdownImage({ src, alt }: { src?: string; alt?: string }) {
className="h-auto w-full object-cover"
/>
) : (
<img
<Image
src={src}
alt={caption}
width={1200}
height={675}
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 80vw, 900px"
loading="lazy"
decoding="async"
fetchPriority="low"
referrerPolicy="strict-origin-when-cross-origin"
className="h-auto w-full object-cover"
/>
)}