refactor: add product image zoom container

This commit is contained in:
2025-05-18 11:38:08 +05:30
parent 8834c88421
commit 344b03b048
2 changed files with 56 additions and 7 deletions

View File

@@ -221,6 +221,13 @@ function ProductDetails({ productId }) {
className="text-sm prose prose-sm max-w-none"
/>
</div>
<div className="mt-8 border-t pt-6">
<h2 className="text-xl font-semibold mb-4">Beej Mantra</h2>
<div
dangerouslySetInnerHTML={{ __html: product.beej_mantra }}
className="text-sm prose prose-sm max-w-none"
/>
</div>
</div>
{showCertificate && !product.certificate.toLowerCase().endsWith('.pdf') && (