2026-02-19 01:23:25 +04:00
|
|
|
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2026-01-18 18:57:06 +04:00
|
|
|
import { RouterLink } from '@angular/router';
|
2026-02-26 22:23:08 +04:00
|
|
|
import { LangRoutePipe } from '../../pipes/lang-route.pipe';
|
2026-02-26 23:09:20 +04:00
|
|
|
import { TranslatePipe } from '../../i18n/translate.pipe';
|
2026-07-02 02:22:00 +04:00
|
|
|
import { LogoComponent } from '../logo/logo.component';
|
2026-07-03 01:58:08 +04:00
|
|
|
import { UiRuntimeFacade } from '../../facades/runtime/ui-runtime.facade';
|
2026-01-18 18:57:06 +04:00
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
|
selector: 'app-footer',
|
2026-07-02 02:22:00 +04:00
|
|
|
imports: [RouterLink, LangRoutePipe, TranslatePipe, LogoComponent],
|
2026-01-18 18:57:06 +04:00
|
|
|
templateUrl: './footer.component.html',
|
2026-02-19 01:23:25 +04:00
|
|
|
styleUrls: ['./footer.component.scss'],
|
|
|
|
|
changeDetection: ChangeDetectionStrategy.OnPush
|
2026-01-18 18:57:06 +04:00
|
|
|
})
|
|
|
|
|
export class FooterComponent {
|
2026-07-03 01:58:08 +04:00
|
|
|
constructor(private readonly uiRuntime: UiRuntimeFacade) {}
|
|
|
|
|
|
2026-01-18 18:57:06 +04:00
|
|
|
currentYear = new Date().getFullYear();
|
2026-07-03 01:58:08 +04:00
|
|
|
|
|
|
|
|
get brandName(): string {
|
|
|
|
|
return this.uiRuntime.brandName();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
get contactEmail(): string {
|
|
|
|
|
return this.uiRuntime.contactEmail();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
get isnovo(): boolean {
|
|
|
|
|
return this.uiRuntime.isNovo();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
get islavero(): boolean {
|
|
|
|
|
return this.uiRuntime.isLavero();
|
|
|
|
|
}
|
2026-01-18 18:57:06 +04:00
|
|
|
}
|