From f63fe4b4e0012eeb512dbee08158aba1d4ded89b Mon Sep 17 00:00:00 2001
From: Marco Beretta <81851188+Berry-13@users.noreply.github.com>
Date: Wed, 11 Oct 2023 03:11:02 +0200
Subject: [PATCH] style(Sidebar) added ToolTip (#1038)
* added open and close sidebard ToolTip
* fix position
* fix(Nav) removed empty brackets
---
client/src/components/Nav/Nav.tsx | 152 ++++++++++++----------
client/src/localization/languages/Eng.tsx | 2 +
client/src/localization/languages/It.tsx | 2 +
3 files changed, 88 insertions(+), 68 deletions(-)
diff --git a/client/src/components/Nav/Nav.tsx b/client/src/components/Nav/Nav.tsx
index c51273d89b..4bf54b583f 100644
--- a/client/src/components/Nav/Nav.tsx
+++ b/client/src/components/Nav/Nav.tsx
@@ -22,6 +22,8 @@ import {
import { cn } from '~/utils/';
import store from '~/store';
+import { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent } from '~/components/ui/';
+
export default function Nav({ navVisible, setNavVisible }) {
const [isHovering, setIsHovering] = useState(false);
const [navWidth, setNavWidth] = useState('260px');
@@ -161,78 +163,92 @@ export default function Nav({ navVisible, setNavVisible }) {
: 'flex flex-col gap-2 text-gray-100 text-sm';
return (
- <>
-
-
-
-
-