Skip to content

Add Role-based Navigation, Freelancer Profiles, and Talent Discovery#56

Merged
johneliud merged 22 commits into
mainfrom
feat/role-based-navigation
Jun 7, 2026
Merged

Add Role-based Navigation, Freelancer Profiles, and Talent Discovery#56
johneliud merged 22 commits into
mainfrom
feat/role-based-navigation

Conversation

@johneliud

Copy link
Copy Markdown
Owner

Description

Implements role-based UX across the platform: after connecting their wallet, users choose a role (client or freelancer), which adapts the navbar, landing CTAs, and available pages. Also adds freelancer profile management and a talent discovery page for clients.

Type of Change

  • New feature

Changes Made

  • RoleContext + RoleSelector modal — role persists in localStorage, re-opens on chip click
  • Role-adaptive Navbar — clients see "Find Talent", freelancers see "My Profile"
  • Role-adaptive landing page CTAs (LandingHeroCta, LandingBottomCta)
  • app/freelancer/profile — freelancer profile editor (name, bio, tag skills, GitHub, portfolio URL); two-column layout; sticky save sidebar
  • app/freelancers — talent browse with live search + skill-chip filters
  • app/freelancers/[address] — public profile view; two-column layout; "Hire Now" CTA for clients pre-fills freelancer address
  • app/projects — search input + skill filter chips added to listing page
  • Applications page — freelancer address is a clickable link to their profile
  • app/client/projects/new — pre-fills freelancer address from ?freelancer= query param
  • Supabase migration: freelancer_profiles table with RLS
  • lib/profiles.tsgetProfile, upsertProfile, getAllProfiles

Related Issue

Closes #56

Testing

  • Tested locally
  • All existing pages still load correctly
  • No errors in the server log
  • TypeScript build passes clean (tsc --noEmit)

Checklist

  • Code follows the existing style
  • No hardcoded secrets or credentials
  • .env.example updated if new env vars were added
  • README updated if setup steps changed

johneliud added 21 commits June 7, 2026 14:30
@vercel

vercel Bot commented Jun 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mile-stack Error Error Jun 7, 2026 12:47pm

@johneliud johneliud changed the title feat: add role-based navigation, freelancer profiles, and talent discovery Add Role-based Navigation, Freelancer Profiles, and Talent Discovery Jun 7, 2026
@johneliud johneliud merged commit f0c7431 into main Jun 7, 2026
4 of 5 checks passed
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.

1 participant