Files
kmtnflower/src/app/footer/footer.component.ts
T
2026-06-21 02:56:49 +00:00

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());
}