File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
frontend/src/app/category-view Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ const MAX_LOGOS = 5; // Max logos to display at once
1515const formattedBadge = ( type : string ) => {
1616 switch ( type ) {
1717 case "vm" :
18- return < Badge className = "text-blue-500/75 border-blue-500/75" > VM</ Badge > ;
18+ return < Badge className = "text-blue-500/75 border-blue-500/75 badge " > VM</ Badge > ;
1919 case "ct" :
2020 return (
21- < Badge className = "text-yellow-500/75 border-yellow-500/75" > LXC</ Badge >
21+ < Badge className = "text-yellow-500/75 border-yellow-500/75 badge " > LXC</ Badge >
2222 ) ;
2323 case "misc" :
24- return < Badge className = "text-green-500/75 border-green-500/75" > MISC</ Badge > ;
24+ return < Badge className = "text-green-500/75 border-green-500/75 badge " > MISC</ Badge > ;
2525 }
2626 return null ;
2727} ;
@@ -173,6 +173,11 @@ const CategoryView = () => {
173173 >
174174 { truncateDescription ( script . description || "No description available." ) }
175175 </ p >
176+ < img
177+ src = { script . logo || defaultLogo }
178+ alt = { script . name || "Script logo" }
179+ className = "h-16 w-16 object-contain mx-auto mt-4"
180+ />
176181 { renderResources ( script ) }
177182 </ CardContent >
178183 </ Card >
You can’t perform that action at this time.
0 commit comments