{children} diff --git a/client/src/components/Nav/Nav.tsx b/client/src/components/Nav/Nav.tsx index 3313cc59f5fb..a16c0edcb1be 100644 --- a/client/src/components/Nav/Nav.tsx +++ b/client/src/components/Nav/Nav.tsx @@ -185,7 +185,7 @@ const Nav = memo( transition={{ duration: 0.2 }} key="nav" > -
+
); diff --git a/client/src/components/Nav/SidebarEdgeTabs.tsx b/client/src/components/Nav/SidebarEdgeTabs.tsx index 5a7dadc1b0ae..3eb20526f4a7 100644 --- a/client/src/components/Nav/SidebarEdgeTabs.tsx +++ b/client/src/components/Nav/SidebarEdgeTabs.tsx @@ -36,19 +36,19 @@ export default function SidebarEdgeTabs({ 'group absolute z-50 box-border flex h-6 w-2 shrink-0 -translate-y-1/2 cursor-pointer items-center justify-center p-0 transition-[width,height] duration-200 ease-out hover:h-8 hover:w-3 !border-0', 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2', navVisible - ? 'left-0 top-1/2 !rounded-br-[8px] !rounded-tr-[8px] hover:!rounded-br-[8px] hover:!rounded-tr-[8px] bg-[#111111] text-white hover:bg-[#1a1a1a] dark:bg-[#ffffff] dark:text-black dark:hover:bg-neutral-100' - : 'left-0 top-[calc(50%+4px)] !rounded-bl-[8px] !rounded-tl-[8px] hover:!rounded-bl-[8px] hover:!rounded-tl-[8px] bg-[#2434E7] text-white hover:bg-[#1c2ac9]', + ? 'left-0 top-1/2 !rounded-br-[8px] !rounded-tr-[8px] hover:!rounded-br-[8px] hover:!rounded-tr-[8px] bg-fig-Surface-inverse text-fig-Subject-inverse hover:bg-fig-Subject-standard dark:!bg-fig-Surface-inverse dark:text-[var(--Colour-Secondary-100)] dark:hover:bg-fig-Surface-one-neutral' + : 'left-0 top-[calc(50%+4px)] !rounded-bl-[8px] !rounded-tl-[8px] hover:!rounded-bl-[8px] hover:!rounded-tl-[8px] bg-[var(--Colour-Primary-40)] text-fig-Subject-inverse hover:bg-[var(--Colour-Primary-50)]', )} > {navVisible ? ( ) : ( diff --git a/client/src/components/Nav/TopNavBar.tsx b/client/src/components/Nav/TopNavBar.tsx index 678fd6754299..43944c344ba4 100644 --- a/client/src/components/Nav/TopNavBar.tsx +++ b/client/src/components/Nav/TopNavBar.tsx @@ -5,6 +5,7 @@ import { PermissionManager, type Permission } from '~/utils/permissions'; import { saasApi } from '~/services/saasApi'; import Settings from './Settings'; import { asset } from '~/utils/assetPath'; +import { absoluteUrl } from '~/utils/remoteApiOrigin'; // interface NiftyData { // symbol: string; @@ -253,7 +254,7 @@ export default function TopNavBar() { if (token && refreshToken) { // Call logout endpoint if available try { - await fetch('/api/v1/auth/logout', { + await fetch(absoluteUrl('/api/v1/auth/logout'), { method: 'POST', headers: { 'Authorization': `Bearer ${token}`, @@ -409,7 +410,7 @@ export default function TopNavBar() { // }; return ( -