From 2bf6c62928f774bc99611ede504f0c12368aeb9a Mon Sep 17 00:00:00 2001 From: Tammam Date: Sat, 20 Jul 2024 17:47:02 -0500 Subject: [PATCH] fixed darkMode issues in profile.tsx --- src/pages/Profile.tsx | 104 +++++++++++++++++++++++++++--------------- 1 file changed, 67 insertions(+), 37 deletions(-) diff --git a/src/pages/Profile.tsx b/src/pages/Profile.tsx index 773d632..0f7dfe4 100644 --- a/src/pages/Profile.tsx +++ b/src/pages/Profile.tsx @@ -12,7 +12,6 @@ import Input from "../UI/Input"; import { useDeleteAccountMutation } from "../redux/services/AuthApi"; import LeftSideBar from "../components/shared/LeftSideBar"; import { useTranslation } from "react-i18next"; -import { tab } from "../components/shared/SideBar"; interface Socket { current: any; @@ -176,15 +175,14 @@ const Profile = ({ socket }: { socket: Socket }): JSX.Element => { }; return ( -
+
{/*First column */} -
+
{ className="fixed right-[2rem] -top-16 w-[23%] z-[1] " />
-
+
{image ? ( { className="absolute inset-0 opacity-0 cursor-pointer" onChange={handleUpload} /> - {t("Upload Photo")} + + {t("Upload Photo")} +
- +
+ + +
- +
+ + +
-
+