update user page and logo to be link also update profile page
This commit is contained in:
@@ -16,5 +16,5 @@ export default function ConditionalNavbar() {
|
||||
const isDashboardRoute = pathname?.startsWith("/dashboard");
|
||||
if (user || isDashboardRoute) return null;
|
||||
|
||||
return <Navbar />;
|
||||
return "";
|
||||
}
|
||||
@@ -325,7 +325,7 @@ function SidebarContent({
|
||||
justifyContent: compact ? "center" : "flex-start",
|
||||
}}
|
||||
>
|
||||
{compact ? <BrandIcon size={36} /> : <Logo white />}
|
||||
{compact ? <BrandIcon size={36} /> : <Logo white href="/dashboard" />}
|
||||
</div>
|
||||
|
||||
<nav
|
||||
|
||||
Reference in New Issue
Block a user