Project

General

Profile

dev #3606

Updated by Nazmul Hossain Shovon 5 months ago

PR Description 
 **Summary of Changes:** 
 * Added vendor-specific dashboard layout and navigation, including a new sidebar menu for vendors with items like "Talent Approval", "Resource Management", and "My Profile". 
 * Implemented the Talent Approval page (/vendor/dashboard/talent-approval) with stats cards, a search bar, and a grid of talent cards displaying profile info, contact details, and completion progress. 
 * Replaced inline SVG search icon with an image component for consistency. 
 * Fixed sidebar to conditionally render vendor menu based on user role (currently hardcoded for testing). 

 **Testing Instructions:** 
 * Log in as a vendor user (ensure userInfo.role === VENDOR_ROLE). 
 * Navigate to /vendor/dashboard/talent-approval in the browser. 
 * Verify the sidebar displays vendor-specific menu items (e.g., "Talent Approval" should be active/highlighted). 
 * Check the page layout: header with title/description, stats cards (Total Resources, Pending Approvals), search bar, and grid of talent cards. 
 * Interact with the search bar (type to filter talents) and review buttons on each card. 
 * Test responsiveness on different screen sizes (mobile, tablet, desktop).

Back