diff --git a/ui/src/components/NavigationBar.tsx b/ui/src/components/NavigationBar.tsx index 4523abd..211e24e 100644 --- a/ui/src/components/NavigationBar.tsx +++ b/ui/src/components/NavigationBar.tsx @@ -12,7 +12,7 @@ import { KanbanIcon, } from "lucide-react"; import { Link as RouterLink } from "react-router-dom"; -import { Separator, Switch } from "react-aria-components"; +import { Separator } from "react-aria-components"; import { Link } from "../ui-library/link"; import { Icon } from "../ui-library/icon"; import { Avatar, AvatarBadge } from "../ui-library/avatar"; @@ -30,7 +30,7 @@ import { useState, useRef } from "react"; import logo from "../assets/icon.jpg"; import { ThemeSwitcher } from "./ThemeSwitcher"; import { useSession } from "../contexts/SessionContext"; - +import { Text } from "../ui-library/text"; type NavLinkItem = { isActive?: boolean; } & LinkProps; @@ -108,14 +108,14 @@ export function UserMenuPopover({ isCollapsed }: { isCollapsed: boolean }) { src={session?.user?.user_metadata?.avatar_url} alt="Avatar" /> - - {session?.user?.user_metadata?.first_name} - + {session?.user?.user_metadata?.full_name} +
} />
- Lisa Wilson - Admin + + {session?.user?.user_metadata?.full_name} + + Admin
- + - -
- Notifications - -
-
- Badges - -
diff --git a/ui/src/components/ThemeSwitcher.tsx b/ui/src/components/ThemeSwitcher.tsx index 241639f..6ae271b 100644 --- a/ui/src/components/ThemeSwitcher.tsx +++ b/ui/src/components/ThemeSwitcher.tsx @@ -13,8 +13,8 @@ export function ThemeSwitcher() { const { theme, setTheme } = useTheme(); return ( -
- Thème: {translation[theme]} +
+ Thème: {translation[theme]} - + - + - +