mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
[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:
parent
3bfa8f5f88
commit
836452f074
@ -30,7 +30,7 @@ export const PeekOverviewIssueActivity: React.FC<Props> = observer((props) => {
|
||||
|
||||
return (
|
||||
<div className="pb-10">
|
||||
<h4 className="font-medium">Activity</h4>
|
||||
<h4 className="font-medium">Comments</h4>
|
||||
{workspaceSlug && (
|
||||
<div className="mt-4">
|
||||
<div className="space-y-4">
|
||||
|
@ -97,10 +97,7 @@ export const ProfileSidebar = observer(() => {
|
||||
</div>
|
||||
)}
|
||||
<img
|
||||
src={
|
||||
userProjectsData.user_data?.cover_image ??
|
||||
"https://images.unsplash.com/photo-1506383796573-caf02b4a79ab"
|
||||
}
|
||||
src={userProjectsData.user_data?.cover_image ?? "/users/user-profile-cover-default-img.png"}
|
||||
alt={userProjectsData.user_data?.display_name}
|
||||
className="h-32 w-full object-cover"
|
||||
/>
|
||||
@ -166,8 +163,8 @@ export const ProfileSidebar = observer(() => {
|
||||
completedIssuePercentage <= 35
|
||||
? "bg-red-500/10 text-red-500"
|
||||
: completedIssuePercentage <= 70
|
||||
? "bg-yellow-500/10 text-yellow-500"
|
||||
: "bg-green-500/10 text-green-500"
|
||||
? "bg-yellow-500/10 text-yellow-500"
|
||||
: "bg-green-500/10 text-green-500"
|
||||
}`}
|
||||
>
|
||||
{completedIssuePercentage}%
|
||||
|
BIN
web/public/users/user-profile-cover-default-img.png
Normal file
BIN
web/public/users/user-profile-cover-default-img.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 75 KiB |
Loading…
Reference in New Issue
Block a user