component refactoring

This commit is contained in:
2026-06-26 08:00:18 +00:00
parent bce9f8663d
commit a7cccbf170
10 changed files with 498 additions and 446 deletions
@@ -0,0 +1,20 @@
import { Component, inject } from '@angular/core';
import { CommonModule } from '@angular/common';
import { StationConfigService } from '../services/station-config.service';
import { resolveImageUrl } from '../services/app-config.service';
@Component({
selector: 'app-download-cta',
standalone: true,
imports: [CommonModule],
templateUrl: './download-cta.component.html',
styleUrl: './download-cta.component.scss',
})
export class DownloadCtaComponent {
readonly config = inject(StationConfigService).config;
resolveImageUrl(url: string): string {
return resolveImageUrl(url);
}
}