From ed7c9378eb4976aba2b2e727ffb79cfc3d90c9ff Mon Sep 17 00:00:00 2001 From: Swifty Date: Thu, 19 Dec 2024 11:20:02 +0100 Subject: [PATCH] fix(store): Marketplace - Navbar should say "Marketplace" rather than "Agent Store" (#9069) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #9067 ### Changes 🏗️ - Renamed elements from Agent Store to Marketplace --- autogpt_platform/frontend/src/app/layout.tsx | 2 +- autogpt_platform/frontend/src/app/store/page.tsx | 6 +++--- .../frontend/src/components/agptui/FilterChips.tsx | 2 +- autogpt_platform/frontend/src/components/agptui/Navbar.tsx | 2 +- .../frontend/src/components/nav/NavBarButtons.tsx | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/autogpt_platform/frontend/src/app/layout.tsx b/autogpt_platform/frontend/src/app/layout.tsx index 5d1f399b3..596707003 100644 --- a/autogpt_platform/frontend/src/app/layout.tsx +++ b/autogpt_platform/frontend/src/app/layout.tsx @@ -37,7 +37,7 @@ export default async function RootLayout({ void; multiSelect?: boolean; } -/** FilterChips is a component that allows the user to select filters from a list of badges. It is used on the Agent Store home page */ +/** FilterChips is a component that allows the user to select filters from a list of badges. It is used on the Marketplace home page */ export const FilterChips: React.FC = ({ badges, onFilterChange, diff --git a/autogpt_platform/frontend/src/components/agptui/Navbar.tsx b/autogpt_platform/frontend/src/components/agptui/Navbar.tsx index bb95f5967..45a17dec3 100644 --- a/autogpt_platform/frontend/src/components/agptui/Navbar.tsx +++ b/autogpt_platform/frontend/src/components/agptui/Navbar.tsx @@ -109,7 +109,7 @@ export const Navbar = async ({ links, menuItemGroups }: NavbarProps) => { groupName: "Navigation", items: links.map((link) => ({ icon: - link.name === "Agent Store" + link.name === "Marketplace" ? IconType.Marketplace : link.name === "Library" ? IconType.Library diff --git a/autogpt_platform/frontend/src/components/nav/NavBarButtons.tsx b/autogpt_platform/frontend/src/components/nav/NavBarButtons.tsx index ec1edd8f2..5e81f17bd 100644 --- a/autogpt_platform/frontend/src/components/nav/NavBarButtons.tsx +++ b/autogpt_platform/frontend/src/components/nav/NavBarButtons.tsx @@ -25,7 +25,7 @@ export function NavBarButtons({ className }: { className?: string }) { }, { href: "/store", - text: "Agent Store", + text: "Marketplace", icon: , }, ];