chore: resolve graphify merge conflicts from develop
Deploy Canina / deploy (push) Successful in 1m31s

This commit is contained in:
parsa committed 2026-08-24 01:21:46 +03:30
commit 0f50d6bed1
16 files changed
+5878 -5761

No files matched your search

+10 -10
View File
@@ -325,10 +325,11 @@ export default function ProductPage({ productSlug }: { productSlug: string }) {
: 'border-medical-gray-200 hover:border-canina-blue/50 opacity-70 hover:opacity-100'
}`}
>
<img
<SafeImage
src={imgUrl}
alt={`${product.name} - ${idx + 1}`}
className="w-full h-full object-contain"
className="w-full h-full"
imgClassName="w-full h-full object-contain"
/>
</button>
);
@@ -707,13 +708,11 @@ export default function ProductPage({ productSlug }: { productSlug: string }) {
onClick={() => setIsVideoModalOpen(true)}
className="relative w-full md:w-80 aspect-video rounded-2xl overflow-hidden cursor-pointer bg-neutral-800 border border-white/10 group-hover:border-canina-blue/50 transition-all flex items-center justify-center shrink-0"
>
<img
<SafeImage
src={product.videoCover || product.image}
alt={product.videoTitle || product.name}
className="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"
onError={(e) => {
(e.target as HTMLImageElement).src = product.image;
}}
className="w-full h-full"
imgClassName="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"
/>
<div className="absolute inset-0 bg-black/40 group-hover:bg-black/20 transition-colors flex items-center justify-center">
<div className="w-12 h-12 rounded-full bg-canina-blue text-white flex items-center justify-center shadow-xl shadow-canina-blue/50 group-hover:scale-110 transition-transform">
@@ -1137,10 +1136,11 @@ export default function ProductPage({ productSlug }: { productSlug: string }) {
{/* Main Zoomed Image Container */}
<div className="bg-white rounded-3xl p-6 sm:p-10 shadow-2xl border border-white/20 max-h-[75vh] flex items-center justify-center overflow-hidden w-full">
<img
<SafeImage
src={activeImage || product.image}
alt={product.name}
className="max-h-[60vh] max-w-full w-auto object-contain drop-shadow-2xl"
className="max-h-[60vh] max-w-full w-full"
imgClassName="max-h-[60vh] max-w-full w-auto object-contain drop-shadow-2xl mx-auto"
/>
</div>
@@ -1165,7 +1165,7 @@ export default function ProductPage({ productSlug }: { productSlug: string }) {
: 'border-transparent opacity-60 hover:opacity-100'
}`}
>
<img src={img} alt="Thumbnail" className="w-full h-full object-contain" />
<SafeImage src={img} alt="Thumbnail" className="w-full h-full" imgClassName="w-full h-full object-contain" />
</button>
))}
</div>