Added Amazon link to description for products.

This commit is contained in:
David Ball 2024-07-11 06:09:12 -04:00
parent bcaeea3e1e
commit f6e2812aaf

View File

@ -51,7 +51,7 @@ const category = categories.find(c => c.id == product.categoryId)!;
</div> </div>
<div class="col-8"> <div class="col-8">
<h5 class="card-title"> <h5 class="card-title">
{product?.productDetails?.title} <a href={product?.amazonLink}>{product?.productDetails?.title}</a>
</h5> </h5>
<p> <p>
<StarRating value={product?.productDetails?.reviewRating||0} max={5} overlayColor="#13151a" /> {product?.productDetails?.reviewCount} Reviews <StarRating value={product?.productDetails?.reviewRating||0} max={5} overlayColor="#13151a" /> {product?.productDetails?.reviewCount} Reviews
@ -151,6 +151,6 @@ const category = categories.find(c => c.id == product.categoryId)!;
gap: 2rem; gap: 2rem;
padding: 0; padding: 0;
} }
a, a:link, a:visited { text-decoration: none; } a, a:link, a:visited { text-decoration: none; color: #fff }
a:hover, a:active { text-decoration: underline; color: #fff } a:hover, a:active { text-decoration: underline; color: #fff }
</style> </style>