[WEB-1319] chore: user default cover image (#4525)

* chore: user default cover image updated

* chore: space app issue sidebar coment section heading updated
This commit is contained in:
Anmol Singh Bhatia 2024-05-20 15:43:48 +05:30 committed by GitHub
parent 3bfa8f5f88
commit 836452f074
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 7 deletions

View File

@ -30,7 +30,7 @@ export const PeekOverviewIssueActivity: React.FC<Props> = observer((props) => {
return ( return (
<div className="pb-10"> <div className="pb-10">
<h4 className="font-medium">Activity</h4> <h4 className="font-medium">Comments</h4>
{workspaceSlug && ( {workspaceSlug && (
<div className="mt-4"> <div className="mt-4">
<div className="space-y-4"> <div className="space-y-4">

View File

@ -97,10 +97,7 @@ export const ProfileSidebar = observer(() => {
</div> </div>
)} )}
<img <img
src={ src={userProjectsData.user_data?.cover_image ?? "/users/user-profile-cover-default-img.png"}
userProjectsData.user_data?.cover_image ??
"https://images.unsplash.com/photo-1506383796573-caf02b4a79ab"
}
alt={userProjectsData.user_data?.display_name} alt={userProjectsData.user_data?.display_name}
className="h-32 w-full object-cover" className="h-32 w-full object-cover"
/> />
@ -166,8 +163,8 @@ export const ProfileSidebar = observer(() => {
completedIssuePercentage <= 35 completedIssuePercentage <= 35
? "bg-red-500/10 text-red-500" ? "bg-red-500/10 text-red-500"
: completedIssuePercentage <= 70 : completedIssuePercentage <= 70
? "bg-yellow-500/10 text-yellow-500" ? "bg-yellow-500/10 text-yellow-500"
: "bg-green-500/10 text-green-500" : "bg-green-500/10 text-green-500"
}`} }`}
> >
{completedIssuePercentage}% {completedIssuePercentage}%

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB