21 lines
604 B
TypeScript
21 lines
604 B
TypeScript
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);
|
|
}
|
|
}
|