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

@@ -6,6 +6,7 @@ import { UiRuntimeFacade } from '../../facades/runtime/ui-runtime.facade';
import { LangRoutePipe } from '../../pipes/lang-route.pipe';
import { FooterPaymentIcon, FooterResolvedGroup, FooterResolverService } from '../../core/config/footer-resolver.service';
import { ConfigService } from '../../core/config/config.service';
import { onImageError } from '../../utils/item.utils';
@Component({
selector: 'app-footer',
@@ -15,6 +16,8 @@ import { ConfigService } from '../../core/config/config.service';
changeDetection: ChangeDetectionStrategy.OnPush
})
export class FooterComponent {
readonly onImageError = onImageError;
readonly footerGroups = signal<FooterResolvedGroup[]>([]);
readonly paymentIcons = signal<FooterPaymentIcon[]>([]);
readonly copyrightText = signal('');