[WEB-3375] fix: project cover image (#6602)
* fix: project cover image * chore: code refactor
This commit is contained in:
parent
a95864ba11
commit
39ecfbe7e1
1 changed files with 4 additions and 1 deletions
|
|
@ -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"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue