fix(storefront): create missing footer payment-icon assets

bootstrap.json's footer.paymentIcons referenced /assets/images/
mir-logo.svg, visa-logo.svg, mastercard-logo.svg - none of that
directory's files existed until the RC-02 placeholder fix, and these
three were still missing. Site-wide broken-image icons in every page
footer. Added neutral labeled-badge SVGs (not reproductions of the
actual trademarked logo artwork) at the exact referenced paths, plus
an onerror fallback on the footer <img> for defense in depth.
This commit is contained in:
sdarbinyan
2026-07-26 12:01:26 +04:00
parent 53343fa711
commit 59855b0fab
5 changed files with 17 additions and 1 deletions

View File

@@ -29,7 +29,7 @@
<h4>{{ 'footer.payment' | translate }}</h4>
<div class="app-footer__payments">
@for (icon of paymentIcons(); track $index) {
<img [src]="icon.src" [alt]="icon.alt" loading="lazy" [width]="icon.width" [height]="icon.height" />
<img [src]="icon.src" [alt]="icon.alt" loading="lazy" [width]="icon.width" [height]="icon.height" (error)="onImageError($event)" />
}
</div>
</div>