diff --git a/Frontend/src/app/app.module.ts b/Frontend/src/app/app.module.ts index f1302d9..36cf7c8 100644 --- a/Frontend/src/app/app.module.ts +++ b/Frontend/src/app/app.module.ts @@ -6,12 +6,14 @@ import {AppComponent} from './app.component'; import {AppRouting} from './app.routing'; import {ProductListComponent} from './product-list/product-list.component'; import { LandingpageComponent } from './landingpage/landingpage.component'; +import { ProductDetailPageComponent } from './product-detail-page/product-detail-page.component'; @NgModule({ declarations: [ AppComponent, ProductListComponent, - LandingpageComponent + LandingpageComponent, + ProductDetailPageComponent ], imports: [ BrowserModule, diff --git a/Frontend/src/app/app.routing.ts b/Frontend/src/app/app.routing.ts index 7b4312a..f34925f 100644 --- a/Frontend/src/app/app.routing.ts +++ b/Frontend/src/app/app.routing.ts @@ -4,10 +4,11 @@ import {RouterModule, Routes} from '@angular/router'; import {AppComponent} from './app.component'; import {ProductListComponent} from './product-list/product-list.component'; import {LandingpageComponent} from './landingpage/landingpage.component'; +import {ProductDetailPageComponent} from './product-detail-page/product-detail-page.component'; const routes: Routes = [ {path: '', component: LandingpageComponent}, - {path: 'pdp', component: ProductListComponent} + {path: 'product', component: ProductDetailPageComponent} ]; @NgModule({ diff --git a/Frontend/src/app/product-detail-page/product-detail-page.component.css b/Frontend/src/app/product-detail-page/product-detail-page.component.css new file mode 100644 index 0000000..e69de29 diff --git a/Frontend/src/app/product-detail-page/product-detail-page.component.html b/Frontend/src/app/product-detail-page/product-detail-page.component.html new file mode 100644 index 0000000..b57e35b --- /dev/null +++ b/Frontend/src/app/product-detail-page/product-detail-page.component.html @@ -0,0 +1 @@ +
product-detail-page works!
diff --git a/Frontend/src/app/product-detail-page/product-detail-page.component.spec.ts b/Frontend/src/app/product-detail-page/product-detail-page.component.spec.ts new file mode 100644 index 0000000..b130e49 --- /dev/null +++ b/Frontend/src/app/product-detail-page/product-detail-page.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ProductDetailPageComponent } from './product-detail-page.component'; + +describe('ProductDetailPageComponent', () => { + let component: ProductDetailPageComponent; + let fixture: ComponentFixture