From aac50084f137d52954086a08f24ca5f4d59e7d21 Mon Sep 17 00:00:00 2001 From: Vxrcel Date: Mon, 29 Jul 2024 14:02:08 +0100 Subject: [PATCH 1/5] init product edit page --- .../_components/layout/navbar/index.tsx | 2 +- .../[productId]/form-images/project-logo.tsx | 125 ++++++++ .../products/[productId]/page.tsx | 16 + .../[productId]/product-details-component.tsx | 302 ++++++++++++++++++ .../[productId]/product-details-content.tsx | 36 +++ .../_components/product-body-shadcn.tsx | 7 + .../(user-dashboard)/products/layout.tsx | 27 ++ .../(user-dashboard)/products/page.tsx | 14 +- 8 files changed, 515 insertions(+), 14 deletions(-) create mode 100644 src/app/dashboard/(user-dashboard)/products/[productId]/form-images/project-logo.tsx create mode 100644 src/app/dashboard/(user-dashboard)/products/[productId]/page.tsx create mode 100644 src/app/dashboard/(user-dashboard)/products/[productId]/product-details-component.tsx create mode 100644 src/app/dashboard/(user-dashboard)/products/[productId]/product-details-content.tsx create mode 100644 src/app/dashboard/(user-dashboard)/products/layout.tsx diff --git a/src/app/dashboard/(user-dashboard)/_components/layout/navbar/index.tsx b/src/app/dashboard/(user-dashboard)/_components/layout/navbar/index.tsx index 935806e9c..0c74fc194 100644 --- a/src/app/dashboard/(user-dashboard)/_components/layout/navbar/index.tsx +++ b/src/app/dashboard/(user-dashboard)/_components/layout/navbar/index.tsx @@ -47,7 +47,7 @@ const UserNavbar = () => { const currentPath = pathname?.split("/")[2]; return (