File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed
frontend/src/app/category-view Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -164,24 +164,21 @@ const CategoryView = () => {
164164 onClick = { ( ) => handleScriptClick ( script . slug ) }
165165 >
166166 < CardContent className = "flex flex-col gap-4" >
167- < div className = "flex justify-between" >
168- < h3 className = "text-lg font-bold script-text" > { script . name } </ h3 >
169- { formattedBadge ( script . type || "misc" ) }
170- </ div >
171- < p className = "text-sm text-gray-500" >
167+ < h3 className = "text-lg font-bold script-text text-center" > { script . name } </ h3 >
168+ < img
169+ src = { script . logo || defaultLogo }
170+ alt = { script . name || "Script logo" }
171+ className = "h-12 w-12 object-contain mx-auto"
172+ />
173+ < p className = "text-sm text-gray-500 text-center" >
172174 < b > Created at:</ b > { script . date_created || "No date available" }
173175 </ p >
174176 < p
175- className = "text-sm text-gray-700 hover:text-gray-900"
177+ className = "text-sm text-gray-700 hover:text-gray-900 text-center "
176178 title = { script . description || "No description available." }
177179 >
178180 { truncateDescription ( script . description || "No description available." ) }
179181 </ p >
180- < img
181- src = { script . logo || defaultLogo }
182- alt = { script . name || "Script logo" }
183- className = "h-16 w-16 object-contain mx-auto mt-4"
184- />
185182 { renderResources ( script ) }
186183 </ CardContent >
187184 </ Card >
You can’t perform that action at this time.
0 commit comments