diff options
author | 2025-05-29 20:57:31 +0530 | |
---|---|---|
committer | 2025-05-29 20:57:31 +0530 | |
commit | ca3ae0db6e8e3f2cf99423797c60f5c2cc66a780 (patch) | |
tree | f1d5fa2174283a811a5422cf148a96f435b461a6 /frontend/src/components/product-card.tsx | |
parent | a8fc4438ff1b890a78b7d2ba470011d8f87c6043 (diff) | |
download | blcklst-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.tsx | 2 |
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"> |