diff --git a/src/app/app.config.ts b/src/app/app.config.ts index 5003afb..4e43668 100644 --- a/src/app/app.config.ts +++ b/src/app/app.config.ts @@ -1,9 +1,9 @@ -import { ApplicationConfig, provideBrowserGlobalErrorListeners } from '@angular/core'; -import { provideRouter, withComponentInputBinding } from '@angular/router'; +import { ApplicationConfig, provideBrowserGlobalErrorListeners } from "@angular/core"; +import { provideRouter, withComponentInputBinding } from "@angular/router"; -import { routes } from './app.routes'; -import { provideHttpClient, withFetch, withInterceptors } from '@angular/common/http'; -import { csrfInterceptor } from './core/interceptors/csrf-interceptor'; +import { routes } from "./app.routes"; +import { provideHttpClient, withFetch, withInterceptors } from "@angular/common/http"; +import { csrfInterceptor } from "./core/interceptors/csrf-interceptor"; export const appConfig: ApplicationConfig = { providers: [ diff --git a/src/app/features/product/show-product/show-product.html b/src/app/features/product/show-product/show-product.html index cd333a5..8ccf6be 100644 --- a/src/app/features/product/show-product/show-product.html +++ b/src/app/features/product/show-product/show-product.html @@ -16,11 +16,11 @@ alt="Product Image" class="w-full h-full object-cover object-center rounded-lg" /> - +
diff --git a/src/app/features/product/show-product/show-product.ts b/src/app/features/product/show-product/show-product.ts index 3581d38..dd02023 100644 --- a/src/app/features/product/show-product/show-product.ts +++ b/src/app/features/product/show-product/show-product.ts @@ -2,10 +2,11 @@ import { Component, inject, Input, signal, WritableSignal } from "@angular/core" import { ProductModel } from "../../../core/models/product.model"; import { ProductService } from "../services/product-service"; import { LucideAngularModule, Heart, ArrowRight, ArrowLeft } from "lucide-angular"; +import { FavoriteButton } from "../../../src/app/shared/components/favorite-button/favorite-button"; @Component({ selector: "app-show-product", - imports: [LucideAngularModule], + imports: [LucideAngularModule, FavoriteButton], templateUrl: "./show-product.html", styleUrl: "./show-product.css", })