aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/components/product-card.tsx
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswa Kalyan Bhuyan <[email protected]> 2025-05-29 20:57:31 +0530
committerLibravatarLibravatar Biswa Kalyan Bhuyan <[email protected]> 2025-05-29 20:57:31 +0530
commitca3ae0db6e8e3f2cf99423797c60f5c2cc66a780 (patch)
treef1d5fa2174283a811a5422cf148a96f435b461a6 /frontend/src/components/product-card.tsx
parenta8fc4438ff1b890a78b7d2ba470011d8f87c6043 (diff)
downloadblcklst-ca3ae0db6e8e3f2cf99423797c60f5c2cc66a780.tar.gz
blcklst-ca3ae0db6e8e3f2cf99423797c60f5c2cc66a780.tar.bz2
blcklst-ca3ae0db6e8e3f2cf99423797c60f5c2cc66a780.zip
feat: added the product page and enhanced the UI
- added the product page where the product details is shown - enhanced the nav bar to handle the rendering - added the loading screen to the page - fixed the rendering method to the navigation-menu
Diffstat (limited to 'frontend/src/components/product-card.tsx')
-rw-r--r--frontend/src/components/product-card.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/product-card.tsx b/frontend/src/components/product-card.tsx
index 25717f4..e953e83 100644
--- a/frontend/src/components/product-card.tsx
+++ b/frontend/src/components/product-card.tsx
@@ -75,7 +75,7 @@ export function ProductCard({
onMouseEnter={() => setIsHovered(true)}
onMouseLeave={() => setIsHovered(false)}
>
- <Link href={`/product/${id}`}>
+ <Link href={`/products/${id}`}>
<div className="relative overflow-hidden">
{/* Product Image */}
<div className="aspect-[3/4] bg-neutral-100 dark:bg-neutral-800 relative overflow-hidden">