Merge remote-tracking branch 'origin/feature/products' into fix/history-issue

# Conflicts:
#	src/app/features/product/components/product-card/product-card.html
#	src/app/features/product/components/product-card/product-card.ts
#	src/app/features/product/services/product-service.ts
This commit is contained in:
kusowl 2026-03-03 17:40:12 +05:30
commit b575b42f22
2 changed files with 4 additions and 4 deletions

View File

@ -5,11 +5,11 @@
<img [src]="product.productImages[0]" alt="" class="object-cover rounded-xl w-full h-full" />
</div>
<p class="text-gray-400 text-sm truncate">{{ product.title }}</p>
<p class="text-gray-400 text-sm truncate">{{product.title}}</p>
<p class="text-gray-400 text-xs">⭐4.5</p>
<p class="text-gray-400 text-xs">
Price:
<span class="line-through italic mr-1">{{ product.actualPrice }}</span>
<span class="font-bold">{{ product.listPrice }}/-</span>
<span class="line-through italic mr-1">{{product.actualPrice}}</span>
<span class="font-bold">{{product.listPrice}}/-</span>
</p>
</div>

View File

@ -15,6 +15,6 @@ export class ProductCard {
@Input() product!: ProductModel;
goToProductDetails() {
this.router.navigate(['/products', this.product.slug]);
this.router.navigate(["/products", this.product.slug]);
}
}