diff --git a/autogpt_platform/frontend/src/app/marketplace/agent/[creator]/[slug]/page.tsx b/autogpt_platform/frontend/src/app/marketplace/agent/[creator]/[slug]/page.tsx index cd6b444396..8e6ab45c40 100644 --- a/autogpt_platform/frontend/src/app/marketplace/agent/[creator]/[slug]/page.tsx +++ b/autogpt_platform/frontend/src/app/marketplace/agent/[creator]/[slug]/page.tsx @@ -81,16 +81,17 @@ export default async function Page({ } /> - + - + + - + - + - + = ({ return (
{/* Title */} -

+

{title}

diff --git a/autogpt_platform/frontend/src/components/agptui/CreatorInfoCard.tsx b/autogpt_platform/frontend/src/components/agptui/CreatorInfoCard.tsx index ad8e614158..db88d4f2f3 100644 --- a/autogpt_platform/frontend/src/components/agptui/CreatorInfoCard.tsx +++ b/autogpt_platform/frontend/src/components/agptui/CreatorInfoCard.tsx @@ -28,7 +28,10 @@ export const CreatorInfoCard: React.FC = ({
- + {username.charAt(0)} @@ -77,7 +80,7 @@ export const CreatorInfoCard: React.FC = ({ Average rating
-
+
{averageRating.toFixed(1)}
= ({
Number of runs
-
+
{new Intl.NumberFormat().format(totalRuns)} runs
diff --git a/autogpt_platform/frontend/src/components/agptui/composite/AgentsSection.tsx b/autogpt_platform/frontend/src/components/agptui/composite/AgentsSection.tsx index e3a9c7885b..20ac5b5bcc 100644 --- a/autogpt_platform/frontend/src/components/agptui/composite/AgentsSection.tsx +++ b/autogpt_platform/frontend/src/components/agptui/composite/AgentsSection.tsx @@ -45,9 +45,9 @@ export const AgentsSection: React.FC = ({ }; return ( -
+
-
+
{sectionTitle}
{!displayedAgents || displayedAgents.length === 0 ? ( diff --git a/autogpt_platform/frontend/src/components/agptui/composite/FeaturedCreators.tsx b/autogpt_platform/frontend/src/components/agptui/composite/FeaturedCreators.tsx index 4c32843aed..cca8495650 100644 --- a/autogpt_platform/frontend/src/components/agptui/composite/FeaturedCreators.tsx +++ b/autogpt_platform/frontend/src/components/agptui/composite/FeaturedCreators.tsx @@ -31,7 +31,7 @@ export const FeaturedCreators: React.FC = ({ const displayedCreators = featuredCreators.slice(0, 4); return ( -
+

{title} diff --git a/autogpt_platform/frontend/src/components/agptui/composite/FeaturedSection.tsx b/autogpt_platform/frontend/src/components/agptui/composite/FeaturedSection.tsx index 3cf0646fbc..758730f873 100644 --- a/autogpt_platform/frontend/src/components/agptui/composite/FeaturedSection.tsx +++ b/autogpt_platform/frontend/src/components/agptui/composite/FeaturedSection.tsx @@ -46,7 +46,7 @@ export const FeaturedSection: React.FC = ({ }; return ( -
+

Featured agents

diff --git a/autogpt_platform/frontend/src/components/ui/avatar.tsx b/autogpt_platform/frontend/src/components/ui/avatar.tsx index ca2a26e095..681068b73b 100644 --- a/autogpt_platform/frontend/src/components/ui/avatar.tsx +++ b/autogpt_platform/frontend/src/components/ui/avatar.tsx @@ -58,8 +58,10 @@ const getAvatarSize = (className: string | undefined): number => { const AvatarFallback = React.forwardRef< React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( + React.ComponentPropsWithoutRef & { + size?: number; + } +>(({ className, size, ...props }, ref) => (