AltitudeWeb/frontend/src/app/footer/footer.component.ts
Teriuihi c2c81de9d0 Convert components to standalone and implement route-based loading
Refactored Angular components to standalone modules, enhancing modularity and reducing dependency on `AppModule`. Updated routes to facilitate lazy loading for improved performance and maintainability. Replaced `platformBrowserDynamic` with `bootstrapApplication` for modern bootstrapping.
2025-04-08 21:45:44 +02:00

24 lines
572 B
TypeScript

import {Component} from '@angular/core';
import {ALTITUDE_VERSION} from '../constant';
import {CommonModule, NgOptimizedImage} from '@angular/common';
import {RouterLink} from '@angular/router';
@Component({
selector: 'app-footer',
standalone: true,
imports: [
CommonModule,
RouterLink,
NgOptimizedImage
],
templateUrl: './footer.component.html',
styleUrl: './footer.component.scss'
})
export class FooterComponent {
public getCurrentYear() {
return new Date().getFullYear();
}
protected readonly ALTITUDE_VERSION = ALTITUDE_VERSION;
}