Skip to content

[fix] Resolve mock freelancer profiles by username (#2849)#6499

Open
xiaofengzii wants to merge 1 commit into
SecureBananaLabs:mainfrom
xiaofengzii:agent/fix-freelancer-profile-2849
Open

[fix] Resolve mock freelancer profiles by username (#2849)#6499
xiaofengzii wants to merge 1 commit into
SecureBananaLabs:mainfrom
xiaofengzii:agent/fix-freelancer-profile-2849

Conversation

@xiaofengzii

Copy link
Copy Markdown

Summary

This PR fixes the /freelancers/[username] route to properly display freelancer profiles from mock data instead of placeholder text.

Changes

  1. Modified �pps/web/app/freelancers/[username]/page.tsx:
    • Import reelancers mock data from @/lib/mock
    • Find matching freelancer by username using Array.find()
    • Display skills and hourly rate for known freelancers
    • Show clear 'not found' message for unknown usernames
    • Added back to search link

Verification

Related Issues

)

- Import freelancers mock data
- Find matching freelancer by username from mock data
- Display skills and hourly rate for known freelancers
- Show clear not-found fallback for unknown usernames
- Add back to search link
- Fixes SecureBananaLabs#2849

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Freelancer profile route should resolve mock profiles by username

1 participant