[Profile] Show applicant avatar + resume to employers; profile-completeness nudge
Employer Listings: each applicant row now shows their avatar (or initials) and a «مشاهده رزومه» link when they uploaded one (served via /resume/{id}, already access-controlled to the receiving employer). Applicant projection avoids loading avatar/resume blobs. Me panel: a nudge banner prompts users to complete their profile (name/photo/resume) when any is missing, linking to /Me/Profile.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -111,6 +111,20 @@ a { color: inherit; text-decoration: none; }
|
||||
.pd-sep { height: 1px; background: var(--line); margin: 4px 0; }
|
||||
.pd-logout { color: var(--danger); }
|
||||
|
||||
/* Applicant rows (employer listings) */
|
||||
.applicant-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; list-style: none; }
|
||||
.avatar-sm { flex: 0 0 auto; }
|
||||
.avatar-sm img, .avatar-sm .avatar-fallback { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; }
|
||||
.avatar-sm .avatar-fallback { background: var(--primary); color: #fff; font-weight: 800; font-size: 13px; }
|
||||
.applicant-info { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
|
||||
.resume-link { font-size: 12px; color: var(--primary); font-weight: 600; }
|
||||
.applicant-actions { display: inline-flex; gap: 6px; align-items: center; flex: 0 0 auto; }
|
||||
|
||||
/* Profile-completeness nudge */
|
||||
.profile-nudge { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
|
||||
background: #fff7ed; border: 1px solid var(--accent); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
|
||||
.profile-nudge .pn-text { font-weight: 600; font-size: 14px; }
|
||||
|
||||
/* Large avatar on the profile editor page */
|
||||
.avatar-lg { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
|
||||
background: var(--primary-soft); display: grid; place-items: center; }
|
||||
|
||||
Reference in New Issue
Block a user