Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | 1x 3x | import { DatePipe } from '@angular/common';
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { RouterLink } from '@angular/router';
/**
* Global footer for both logged in and out views used by Standard & Central layout components.
* Links to the legal pages for the application and displays the copyright notice.
*/
@Component({
selector: 'app-footer',
imports: [ DatePipe, RouterLink ],
templateUrl: './footer.component.html',
styleUrl: './footer.component.scss',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class FooterComponent {
/**
* Used to display the current year for copyright.
*
* Note that if the view remains open across a year change then this will not be updated. However,
* that isn't a real concern.
*/
public readonly today: Date = new Date();
}
|