18 lines
565 B
TypeScript
18 lines
565 B
TypeScript
import { Component, inject, computed } from '@angular/core';
|
|
import { SlicePipe } from '@angular/common';
|
|
import { RouterLink } from '@angular/router';
|
|
|
|
import { StationConfigService } from '../services/station-config.service';
|
|
|
|
@Component({
|
|
selector: 'app-footer',
|
|
standalone: true,
|
|
imports: [RouterLink, SlicePipe],
|
|
templateUrl: './footer.component.html',
|
|
styleUrl: './footer.component.scss',
|
|
})
|
|
export class FooterComponent {
|
|
readonly config = inject(StationConfigService).config;
|
|
readonly currentYear = computed(() => new Date().getFullYear());
|
|
}
|