From 9bc70078c2f6804c9b384de47405ea509750e412 Mon Sep 17 00:00:00 2001 From: pradeepkumar Date: Tue, 24 Feb 2026 03:39:19 +0530 Subject: [PATCH] feat: Replace feature icon path text input with an image upload field. --- src/app/dashboard/cms/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/dashboard/cms/page.tsx b/src/app/dashboard/cms/page.tsx index a7e7123..b1f4633 100644 --- a/src/app/dashboard/cms/page.tsx +++ b/src/app/dashboard/cms/page.tsx @@ -361,7 +361,7 @@ export default function CmsPage() { Feature {idx + 1} - updateFeature(idx, { iconPath: e.target.value })} placeholder="Icon path (e.g. /assets/icons/icon.svg)" /> + {renderImageUploadField('Icon', feat.iconPath, (url) => updateFeature(idx, { iconPath: url }))} updateFeature(idx, { title: e.target.value })} placeholder="Feature title" />