Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

[WEB-3375] fix: project cover image (#6602)

Anmol Singh Bhatia39ecfbe7e147
diff --git a/web/core/components/project/form.tsx b/web/core/components/project/form.tsx
index ed2878996a..f87f8ba843 100644
--- a/web/core/components/project/form.tsx
+++ b/web/core/components/project/form.tsx
@@ -160,7 +160,10 @@ export const ProjectDetailsForm: FC<IProjectDetailsForm> = (props) => {
<div className="relative h-44 w-full">
<div className="absolute inset-0 bg-gradient-to-t from-black/50 to-transparent" />
<img
- src={getFileURL(coverImage ?? "")}
+ src={getFileURL(
+ coverImage ??
+ "https://images.unsplash.com/photo-1672243775941-10d763d9adef?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80"
+ )}
alt="Project cover image"
className="h-44 w-full rounded-md object-cover"
/>