File tree Expand file tree Collapse file tree 1 file changed +7
-16
lines changed
apps/web/src/routes/_view Expand file tree Collapse file tree 1 file changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -110,22 +110,13 @@ function FriendsSection() {
110110 ] ) }
111111 >
112112 < div className = "aspect-40/21 bg-neutral-100 overflow-hidden" >
113- { friend . image ? (
114- < Image
115- src = { friend . image }
116- alt = { friend . name }
117- className = "w-full h-full group-hover:scale-105 transition-transform duration-300"
118- objectFit = "cover"
119- layout = "fullWidth"
120- />
121- ) : (
122- < div className = "w-full h-full flex items-center justify-center" >
123- < Icon
124- icon = "mdi:open-source-initiative"
125- className = "text-4xl text-neutral-300"
126- />
127- </ div >
128- ) }
113+ < Image
114+ src = { friend . image || "/api/images/hyprnote/default-cover.jpg" }
115+ alt = { friend . name }
116+ className = "w-full h-full group-hover:scale-105 transition-transform duration-300"
117+ objectFit = "cover"
118+ layout = "fullWidth"
119+ />
129120 </ div >
130121 < div className = "p-4 flex-1 flex flex-col" >
131122 < div className = "flex items-start justify-between gap-2 mb-2" >
You can’t perform that action at this time.
0 commit comments