product details implementation

This commit is contained in:
sdarbinyan
2026-07-05 01:43:56 +04:00
parent 0efcfb5225
commit d4a5daeb4c
28 changed files with 1210 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
<article class="product-card" [class.product-card-compact]="appearance === 'compact'" (mouseenter)="preview.emit(item.itemID)">
<a [routerLink]="['/item', item.itemID] | langRoute" class="product-link" (click)="onSelected($event)">
<a [routerLink]="['/product', item.itemID] | langRoute" class="product-link" (click)="onSelected($event)">
<div class="product-image">
<img [src]="getMainImage(item)" [alt]="title || item.name" loading="lazy" decoding="async" width="300" height="300" />
@if (item.discount > 0) {