From 1df9aef1998a5854c70aea3a93ec44aa8de615cd Mon Sep 17 00:00:00 2001 From: Abhimanyu Yadav <122007096+Abhi1992002@users.noreply.github.com> Date: Thu, 3 Apr 2025 21:25:20 +0530 Subject: [PATCH] fix(marketplace): Fix store card typography (#9739) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fix #8965 ### Changes Made: - **Title**: Increased line height from 20px to 32px. - **Creator Name:** - Changed font to Geist Sans. - Updated font size to 20px and leading to 28px. - **Description**: Applied Geist Sans font. - **Stats Line:** Applied Geist Sans font. - Font Configuration Fix: > Previously, we were using font-gist, which is not defined in the tailwind config file, hence Updated to use font-sans instead. I have also fixed the height and width of the profile picture in the creator card in this PR. The issue is linked below: - #9314 ![Screenshot 2025-04-02 at 6 32 10 PM](https://github.com/user-attachments/assets/1c2d9779-0a5e-4269-b3d2-37526a0949d3) The margin is perfectly set to 24px; only the height and width of the image need to be changed. --------- Co-authored-by: Bently --- .../frontend/src/components/agptui/CreatorInfoCard.tsx | 7 ++++++- .../frontend/src/components/agptui/StoreCard.tsx | 8 ++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/autogpt_platform/frontend/src/components/agptui/CreatorInfoCard.tsx b/autogpt_platform/frontend/src/components/agptui/CreatorInfoCard.tsx index db88d4f2f3..9c5b1db739 100644 --- a/autogpt_platform/frontend/src/components/agptui/CreatorInfoCard.tsx +++ b/autogpt_platform/frontend/src/components/agptui/CreatorInfoCard.tsx @@ -27,11 +27,16 @@ export const CreatorInfoCard: React.FC = ({ >
- + {username.charAt(0)} diff --git a/autogpt_platform/frontend/src/components/agptui/StoreCard.tsx b/autogpt_platform/frontend/src/components/agptui/StoreCard.tsx index 28c29794aa..48274cb217 100644 --- a/autogpt_platform/frontend/src/components/agptui/StoreCard.tsx +++ b/autogpt_platform/frontend/src/components/agptui/StoreCard.tsx @@ -75,22 +75,22 @@ export const StoreCard: React.FC = ({ {/* Content Section */}
{/* Title and Creator */} -

+

{agentName}

{!hideAvatar && creatorName && ( -

+

by {creatorName}

)} {/* Description */} -

+

{description}

{/* Stats Row */}
-
+
{runs.toLocaleString()} runs