perf(storefront): optimize LCP image delivery, lazy-load scripts, improve WCAG contrast and accessibility
Deploy Canina / deploy (push) Successful in 2m1s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 8s

This commit is contained in:
parsa aghaei committed 2026-09-02 14:16:07 +03:30
1 parent b766b01713
commit 98e20269a3
8 files changed
+77 -57

No files matched your search

@@ -103,8 +103,8 @@ export default function SafeImage({
quality={quality}
unoptimized={
isBlobOrData ||
!isAllowedHost ||
(typeof src === 'string' && (src.startsWith('/api/uploads/') || src.startsWith('/api/media/') || src.startsWith('/uploads/')))
!isAllowedHost ||
(typeof src === 'string' && src.toLowerCase().endsWith('.svg'))
}
className={cn(
"transition-all duration-500 w-full h-full object-contain",