[resumes][feat] Display location text in resume browse page

pull/340/head
Tan Su Yin 3 years ago
parent 7f3275b705
commit 510a12bffa

@ -35,8 +35,11 @@ export default function BrowseListItem({ href, resumeInfo }: Props) {
</div> </div>
</div> </div>
<div className="col-span-3 self-center text-sm text-slate-500"> <div className="col-span-3 self-center text-sm text-slate-500">
Uploaded {formatDistanceToNow(resumeInfo.createdAt)} ago by{' '} <div>
{resumeInfo.user} Uploaded {formatDistanceToNow(resumeInfo.createdAt)} ago by{' '}
{resumeInfo.user}
</div>
<div className="mt-2 text-slate-400">{resumeInfo.location}</div>
</div> </div>
<ChevronRightIcon className="col-span-1 w-8 self-center justify-self-center" /> <ChevronRightIcon className="col-span-1 w-8 self-center justify-self-center" />
</div> </div>

Loading…
Cancel
Save