AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(frontend): login not visible mobile (#11245)
Ubbe54552248f7ea
diff --git a/autogpt_platform/frontend/src/components/layout/Navbar/components/NavbarView.tsx b/autogpt_platform/frontend/src/components/layout/Navbar/components/NavbarView.tsxindex a0a36edf2d..43e75f3c88 100644--- a/autogpt_platform/frontend/src/components/layout/Navbar/components/NavbarView.tsx+++ b/autogpt_platform/frontend/src/components/layout/Navbar/components/NavbarView.tsx@@ -45,8 +45,8 @@ export const NavbarView = ({ isLoggedIn }: NavbarViewProps) => {</div>{/* Right section */}- <div className="hidden flex-1 items-center justify-end gap-4 md:flex">- {isLoggedIn ? (+ {isLoggedIn ? (+ <div className="hidden flex-1 items-center justify-end gap-4 md:flex"><div className="flex items-center gap-4"><AgentActivityDropdown />{profile && <Wallet />}@@ -57,11 +57,13 @@ export const NavbarView = ({ isLoggedIn }: NavbarViewProps) => {menuItemGroups={dynamicMenuItems}/></div>- ) : (+ </div>+ ) : (+ <div className="flex w-full items-center justify-end"><LoginButton />- )}- {/* <ThemeToggle /> */}- </div>+ </div>+ )}+ {/* <ThemeToggle /> */}</nav>{/* Mobile Navbar - Adjust positioning */}<>