From a2e854b34aa967e874d7e877636ac86a48820235 Mon Sep 17 00:00:00 2001 From: Bentlybro Date: Wed, 18 Dec 2024 13:04:58 +0000 Subject: [PATCH 1/2] Updates to navbar + add autogpt icon + update navbar button font size --- .../src/components/agptui/CreditsCard.tsx | 2 +- .../frontend/src/components/agptui/Navbar.tsx | 18 ++- .../src/components/agptui/NavbarLink.tsx | 4 +- .../frontend/src/components/ui/icons.tsx | 127 ++++++++++++++++++ 4 files changed, 143 insertions(+), 8 deletions(-) diff --git a/autogpt_platform/frontend/src/components/agptui/CreditsCard.tsx b/autogpt_platform/frontend/src/components/agptui/CreditsCard.tsx index 55cde3a46807..552b2a607115 100644 --- a/autogpt_platform/frontend/src/components/agptui/CreditsCard.tsx +++ b/autogpt_platform/frontend/src/components/agptui/CreditsCard.tsx @@ -23,7 +23,7 @@ const CreditsCard = ({ credits }: CreditsCardProps) => { }; return ( -
+
{currentCredits.toLocaleString()} diff --git a/autogpt_platform/frontend/src/components/agptui/Navbar.tsx b/autogpt_platform/frontend/src/components/agptui/Navbar.tsx index 8217b05fc95c..9a8ca4ced9f6 100644 --- a/autogpt_platform/frontend/src/components/agptui/Navbar.tsx +++ b/autogpt_platform/frontend/src/components/agptui/Navbar.tsx @@ -1,7 +1,7 @@ import * as React from "react"; import Link from "next/link"; import { ProfilePopoutMenu } from "./ProfilePopoutMenu"; -import { IconType, IconLogIn } from "@/components/ui/icons"; +import { IconType, IconLogIn, IconAutoGPTLogo } from "@/components/ui/icons"; import { MobileNavBar } from "./MobileNavBar"; import { Button } from "./Button"; import CreditsCard from "./CreditsCard"; @@ -55,10 +55,18 @@ export const Navbar = async ({ links, menuItemGroups }: NavbarProps) => { return ( <> -