diff --git a/frontend/src/components/layout/Sidebar.tsx b/frontend/src/components/layout/Sidebar.tsx
index f2f96260..89ffc135 100644
--- a/frontend/src/components/layout/Sidebar.tsx
+++ b/frontend/src/components/layout/Sidebar.tsx
@@ -1,6 +1,7 @@
import { cn } from "@/lib/utils";
import { Link, useRouterState } from "@tanstack/react-router";
import { APP_LOGO } from "@/lib/logo";
+import { Avatar } from "@/components/shared/primitives";
import {
LayoutDashboard,
FolderKanban,
@@ -64,9 +65,7 @@ const groups: Group[] = [
},
{
label: "Account",
- items: [
- { label: "Settings", to: "/settings", icon:
@@ -147,10 +147,7 @@ function SidebarGroup({ group, onNav }: { group: Group; onNav: () => void }) {
className="flex w-full items-center justify-between px-2 py-1 text-[11px] font-semibold uppercase tracking-wider text-muted-foreground hover:text-foreground"
>
{group.label}
-
{currentUser.name}
diff --git a/frontend/src/components/shared/primitives.tsx b/frontend/src/components/shared/primitives.tsx
index 85a28fa2..d3bb415a 100644
--- a/frontend/src/components/shared/primitives.tsx
+++ b/frontend/src/components/shared/primitives.tsx
@@ -1,6 +1,6 @@
-import { cn } from "@/lib/utils";
+import { cn, getInitials } from "@/lib/utils";
import { Link } from "@tanstack/react-router";
-import type { ReactNode } from "react";
+import { useEffect, useState, type ReactNode } from "react";
export function SectionHeader({
title,
@@ -18,16 +18,11 @@ export function SectionHeader({
+
{title}
{action &&
(actionTo ? (
-
+
{action}
) : (
-
+
))}
+ {shouldRenderImage ? (
+
setHasError(true)}
+ className="h-full w-full rounded-full border border-border bg-muted object-cover"
+ />
+ ) : (
+