improve: performance

This commit is contained in:
2026-05-14 15:36:37 +02:00
parent 9223fc3a12
commit d8d1528fa9
7 changed files with 115 additions and 95 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
import { RouterLink } from '@angular/router';
import { global } from '../../global';
import { LanguageService } from '../services/language.service';
import { ShellLanguageService } from '../services/shell-language.service';
@Component({
selector: 'app-footer',
@@ -11,9 +11,9 @@ import { LanguageService } from '../services/language.service';
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class FooterComponent {
private readonly languageService = inject(LanguageService);
private readonly shellLanguageService = inject(ShellLanguageService);
protected readonly content = this.languageService.shellContent;
protected readonly content = this.shellLanguageService.content;
protected readonly global = global;
protected readonly currentYear = new Date().getFullYear();
}