Implement a public profile page based on the provided Figma design. Users should be able to view any profile by ID, and control whether their own profile is visible or hidden.
Requirements
Public Profile Page
- Create a public profile page matching the Figma design
- Anyone can view a profile at
/profile/{id}
- Display profile information including name, avatar, bio, and other relevant fields
Profile Visibility Control
- Allow users to switch their profile between visible and hidden modes
- When a profile is hidden, others should not be able to view it
- Add a visibility toggle on the user's own profile page
API Endpoints
GET /api/v1/identities/profiles/{id} - Fetch profile data for viewing
PUT /api/v1/identities/profiles - Update profile visibility setting
Acceptance Criteria
Implement a public profile page based on the provided Figma design. Users should be able to view any profile by ID, and control whether their own profile is visible or hidden.
Requirements
Public Profile Page
/profile/{id}Profile Visibility Control
API Endpoints
GET /api/v1/identities/profiles/{id}- Fetch profile data for viewingPUT /api/v1/identities/profiles- Update profile visibility settingAcceptance Criteria
/profile/{id}URL