diff --git a/Frontend/src/app/product-list/product-list.component.css b/Frontend/src/app/product-list/product-list.component.css index 6ac9a30..da2e3cb 100644 --- a/Frontend/src/app/product-list/product-list.component.css +++ b/Frontend/src/app/product-list/product-list.component.css @@ -3,4 +3,7 @@ border-color: dimgrey; border-radius: .5em; padding: .25em; + margin: auto; + margin-bottom: .5em; + max-width: 50em; } diff --git a/Frontend/src/app/product-list/product-list.component.html b/Frontend/src/app/product-list/product-list.component.html index 13fef09..122c424 100644 --- a/Frontend/src/app/product-list/product-list.component.html +++ b/Frontend/src/app/product-list/product-list.component.html @@ -1,7 +1,12 @@ -

- {{product.name}} -

-
- Test +
+
+ {{product.image_guid}} +
+
+ {{product.name}} +
+
+ 567 +
diff --git a/Frontend/src/app/product-list/product-list.component.ts b/Frontend/src/app/product-list/product-list.component.ts index 58e9100..0a0d91c 100644 --- a/Frontend/src/app/product-list/product-list.component.ts +++ b/Frontend/src/app/product-list/product-list.component.ts @@ -35,7 +35,7 @@ export class ProductListComponent implements OnInit { } clickedProduct(product: Product): void { - this.router.navigate([('/helloworld/' + product.product_id)]); + this.router.navigate([('/product/' + product.product_id)]); } }