remove unused codes and update

This commit is contained in:
2026-05-10 09:44:30 +03:30
parent a138034c06
commit 048e292bdd
107 changed files with 317 additions and 17930 deletions
@@ -0,0 +1,34 @@
import {
Component,
EventEmitter,
HostListener,
Input,
OnInit,
Output,
signal,
} from '@angular/core';
@Component({
selector: 'abstract-isMobile',
template: '',
})
export class AbstractIsMobileComponent implements OnInit {
@Input() mobileBreakpoint = 768;
@Output() onHide = new EventEmitter<any>();
isMobile = signal(false);
ngOnInit() {
this.updateViewportMode();
}
@HostListener('window:resize')
onResize() {
this.updateViewportMode();
}
private updateViewportMode() {
this.isMobile.set(typeof window !== 'undefined' && window.innerWidth <= this.mobileBreakpoint);
}
}