diff --git a/frontend/playwright-report/index.html b/frontend/playwright-report/index.html index dc2b8dc..8018e0f 100644 --- a/frontend/playwright-report/index.html +++ b/frontend/playwright-report/index.html @@ -87,4 +87,4 @@
- \ No newline at end of file + diff --git a/frontend/src/pages/clients/clients.component.html b/frontend/src/pages/clients/clients.component.html index 2a5d3ef..82cf342 100644 --- a/frontend/src/pages/clients/clients.component.html +++ b/frontend/src/pages/clients/clients.component.html @@ -89,7 +89,7 @@

@if (client.avatarType === 'image') { - + } @else if (client.avatarType === 'icon') {
person diff --git a/frontend/src/pages/clients/clients.component.ts b/frontend/src/pages/clients/clients.component.ts index 8dcfe53..ac8cf45 100644 --- a/frontend/src/pages/clients/clients.component.ts +++ b/frontend/src/pages/clients/clients.component.ts @@ -1,3 +1,4 @@ +import { NgOptimizedImage } from "@angular/common"; import { Component, ChangeDetectionStrategy, signal, computed } from '@angular/core'; import { CommonModule } from '@angular/common'; @@ -17,7 +18,7 @@ export interface Client { @Component({ selector: 'app-admin-clients', standalone: true, - imports: [CommonModule], + imports: [CommonModule, NgOptimizedImage], templateUrl: './clients.component.html', styleUrls: ['./clients.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush, diff --git a/frontend/src/pages/gallery/ui/gallery-form/gallery-form.component.html b/frontend/src/pages/gallery/ui/gallery-form/gallery-form.component.html index 18cd3ab..2546a58 100644 --- a/frontend/src/pages/gallery/ui/gallery-form/gallery-form.component.html +++ b/frontend/src/pages/gallery/ui/gallery-form/gallery-form.component.html @@ -19,7 +19,7 @@

@if (previewImage()) { - Image preview + Image preview
edit diff --git a/frontend/src/pages/gallery/ui/gallery-form/gallery-form.component.ts b/frontend/src/pages/gallery/ui/gallery-form/gallery-form.component.ts index bd65e41..c56d4d5 100644 --- a/frontend/src/pages/gallery/ui/gallery-form/gallery-form.component.ts +++ b/frontend/src/pages/gallery/ui/gallery-form/gallery-form.component.ts @@ -1,3 +1,4 @@ +import { NgOptimizedImage } from "@angular/common"; import { CommonModule } from "@angular/common"; import { ChangeDetectionStrategy, @@ -18,7 +19,7 @@ import { environment } from "@environments/environment"; @Component({ selector: "app-gallery-form", standalone: true, - imports: [CommonModule, FormField, ImagePopupComponent], + imports: [CommonModule, FormField, ImagePopupComponent, NgOptimizedImage], changeDetection: ChangeDetectionStrategy.OnPush, templateUrl: "./gallery-form.component.html", }) diff --git a/frontend/src/pages/user-profile/user-profile.component.html b/frontend/src/pages/user-profile/user-profile.component.html index c0b8c98..98103e9 100644 --- a/frontend/src/pages/user-profile/user-profile.component.html +++ b/frontend/src/pages/user-profile/user-profile.component.html @@ -13,7 +13,7 @@
- +
verified
diff --git a/frontend/src/pages/user-profile/user-profile.component.ts b/frontend/src/pages/user-profile/user-profile.component.ts index 59da269..d77a267 100644 --- a/frontend/src/pages/user-profile/user-profile.component.ts +++ b/frontend/src/pages/user-profile/user-profile.component.ts @@ -1,3 +1,4 @@ +import { NgOptimizedImage } from "@angular/common"; import { Component, ChangeDetectionStrategy, @@ -10,7 +11,7 @@ import { AuthService } from "@entities/user"; @Component({ selector: "app-user-profile", standalone: true, - imports: [CommonModule], + imports: [CommonModule, NgOptimizedImage], changeDetection: ChangeDetectionStrategy.OnPush, templateUrl: "./user-profile.component.html", styleUrls: ["./user-profile.component.scss"], diff --git a/frontend/src/pages/veil/ui/veil-item/veil-item.component.html b/frontend/src/pages/veil/ui/veil-item/veil-item.component.html index b933da4..05f3123 100644 --- a/frontend/src/pages/veil/ui/veil-item/veil-item.component.html +++ b/frontend/src/pages/veil/ui/veil-item/veil-item.component.html @@ -3,7 +3,7 @@
- +
{{ veil().price }} TJS diff --git a/frontend/src/pages/veil/ui/veil-item/veil-item.component.ts b/frontend/src/pages/veil/ui/veil-item/veil-item.component.ts index 1a354f9..c622a7a 100644 --- a/frontend/src/pages/veil/ui/veil-item/veil-item.component.ts +++ b/frontend/src/pages/veil/ui/veil-item/veil-item.component.ts @@ -1,3 +1,4 @@ +import { NgOptimizedImage } from "@angular/common"; import { Component, input, output, computed } from "@angular/core"; import { CommonModule } from "@angular/common"; import { Veil } from "@features/veil"; @@ -5,7 +6,7 @@ import { Veil } from "@features/veil"; @Component({ selector: "app-veil-item", standalone: true, - imports: [CommonModule], + imports: [CommonModule, NgOptimizedImage], templateUrl: "./veil-item.component.html", }) export class VeilItemComponent { diff --git a/frontend/src/pages/veil/ui/veil-modal/veil-modal.component.html b/frontend/src/pages/veil/ui/veil-modal/veil-modal.component.html index 41e9171..1ad16b9 100644 --- a/frontend/src/pages/veil/ui/veil-modal/veil-modal.component.html +++ b/frontend/src/pages/veil/ui/veil-modal/veil-modal.component.html @@ -20,7 +20,7 @@

@if (previewImage()) { - Gown preview + Gown preview
edit diff --git a/frontend/src/pages/veil/ui/veil-modal/veil-modal.component.ts b/frontend/src/pages/veil/ui/veil-modal/veil-modal.component.ts index e5e736e..be308f0 100644 --- a/frontend/src/pages/veil/ui/veil-modal/veil-modal.component.ts +++ b/frontend/src/pages/veil/ui/veil-modal/veil-modal.component.ts @@ -1,3 +1,4 @@ +import { NgOptimizedImage } from "@angular/common"; import { Component, input, @@ -13,7 +14,7 @@ import { Veil } from "@features/veil"; @Component({ selector: "app-veil-modal", standalone: true, - imports: [CommonModule, FormsModule], + imports: [CommonModule, FormsModule, NgOptimizedImage], templateUrl: "./veil-modal.component.html", }) export class VeilModalComponent { diff --git a/frontend/src/pages/veil/veil.component.html b/frontend/src/pages/veil/veil.component.html index be6a6a8..d2b3d95 100644 --- a/frontend/src/pages/veil/veil.component.html +++ b/frontend/src/pages/veil/veil.component.html @@ -83,7 +83,7 @@ class="w-12 h-12 rounded-full overflow-hidden border-2 border-white shadow-sm cursor-pointer hover:scale-105 transition-transform" (click)="openImageModal(item.image)" > - +
} @else if (column.key === 'price') { {{ item.price }} TJS diff --git a/frontend/src/pages/veil/veil.component.ts b/frontend/src/pages/veil/veil.component.ts index 08bef31..655c2fe 100644 --- a/frontend/src/pages/veil/veil.component.ts +++ b/frontend/src/pages/veil/veil.component.ts @@ -1,3 +1,4 @@ +import { NgOptimizedImage } from "@angular/common"; import { CommonModule } from "@angular/common"; import { ChangeDetectionStrategy, @@ -18,7 +19,7 @@ import { linkServerConvert } from "@shared/lib"; @Component({ selector: "app-veil-page", standalone: true, - imports: [CommonModule, CardViewComponent, VeilFormComponent, ImagePopupComponent, ListViewComponent], + imports: [CommonModule, CardViewComponent, VeilFormComponent, ImagePopupComponent, ListViewComponent, NgOptimizedImage], changeDetection: ChangeDetectionStrategy.OnPush, templateUrl: "./veil.component.html", styleUrls: ["./veil.component.scss"], diff --git a/frontend/src/shared/ui/image-popup/image-popup.component.html b/frontend/src/shared/ui/image-popup/image-popup.component.html index 29084b7..91b776e 100644 --- a/frontend/src/shared/ui/image-popup/image-popup.component.html +++ b/frontend/src/shared/ui/image-popup/image-popup.component.html @@ -21,7 +21,7 @@
} - Full screen view{{ item[col.key] }}
} @case ('image') { - + } @case ('badge') { diff --git a/frontend/src/shared/ui/list-view/list-view.component.ts b/frontend/src/shared/ui/list-view/list-view.component.ts index 56ce952..58c53c1 100644 --- a/frontend/src/shared/ui/list-view/list-view.component.ts +++ b/frontend/src/shared/ui/list-view/list-view.component.ts @@ -1,3 +1,4 @@ +import { NgOptimizedImage } from "@angular/common"; import { Component, ChangeDetectionStrategy, input, output, TemplateRef, contentChild, computed } from "@angular/core"; import { CommonModule } from "@angular/common"; import { linkServerConvert } from "@shared/lib"; @@ -12,7 +13,7 @@ export interface ListViewColumn { @Component({ selector: "app-list-view", standalone: true, - imports: [CommonModule], + imports: [CommonModule, NgOptimizedImage], templateUrl: "./list-view.component.html", styleUrls: ["./list-view.component.scss"], changeDetection: ChangeDetectionStrategy.OnPush,