diff --git a/autogpt_platform/frontend/src/components/agptui/FeaturedAgentCard.tsx b/autogpt_platform/frontend/src/components/agptui/FeaturedAgentCard.tsx index 630743d3b7..b1a6571138 100644 --- a/autogpt_platform/frontend/src/components/agptui/FeaturedAgentCard.tsx +++ b/autogpt_platform/frontend/src/components/agptui/FeaturedAgentCard.tsx @@ -27,33 +27,35 @@ export const FeaturedAgentCard: React.FC = ({ data-testid="featured-store-card" onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} - className={backgroundColor} + className={`flex h-full flex-col ${backgroundColor}`} > - {agent.agent_name} - {agent.description} + + {agent.agent_name} + + + By {agent.creator} + - -
+ +
+ {`${agent.agent_name}
- {`${agent.agent_name} -
-
-

+ {agent.description} -

+
@@ -63,13 +65,7 @@ export const FeaturedAgentCard: React.FC = ({

{agent.rating.toFixed(1) ?? "0.0"}

-
- {StarRatingIcons(agent.rating)} -
+ {StarRatingIcons(agent.rating)}
diff --git a/autogpt_platform/frontend/src/components/agptui/composite/FeaturedSection.tsx b/autogpt_platform/frontend/src/components/agptui/composite/FeaturedSection.tsx index c559fdf678..3cf0646fbc 100644 --- a/autogpt_platform/frontend/src/components/agptui/composite/FeaturedSection.tsx +++ b/autogpt_platform/frontend/src/components/agptui/composite/FeaturedSection.tsx @@ -46,45 +46,41 @@ export const FeaturedSection: React.FC = ({ }; return ( -
-
-

- Featured agents -

+
+

+ Featured agents +

-
- - - {featuredAgents.map((agent, index) => ( - - - - - - ))} - -
- - - -
-
+ + + {featuredAgents.map((agent, index) => ( + + + + + + ))} + +
+ + +
-
-
+ + ); };