optimising and making it better

This commit is contained in:
sdarbinyan
2026-02-26 21:54:21 +04:00
parent 7a00a8f1e3
commit 10b4974719
58 changed files with 318 additions and 1804 deletions

View File

@@ -21,7 +21,7 @@ export class ItemsCarouselComponent implements OnInit {
loading = signal(true);
isnovo = environment.theme === 'novo';
responsiveOptions: any[] | undefined;
responsiveOptions: { breakpoint: string; numVisible: number; numScroll: number }[] | undefined;
constructor(
private apiService: ApiService,
@@ -68,7 +68,7 @@ export class ItemsCarouselComponent implements OnInit {
];
}
getSeverity(remainings: string) {
getSeverity(remainings: string): 'success' | 'info' | 'warn' | 'danger' | 'secondary' | 'contrast' {
switch (remainings) {
case 'high':
return 'success';