diff --git a/src/assets/images/logout.svg b/src/assets/images/logout.svg
new file mode 100644
index 00000000..8546b939
--- /dev/null
+++ b/src/assets/images/logout.svg
@@ -0,0 +1,4 @@
+
+
\ No newline at end of file
diff --git a/src/components/Assesment/Assesment.jsx b/src/components/Assesment/Assesment.jsx
index 070a276d..01ffc63b 100644
--- a/src/components/Assesment/Assesment.jsx
+++ b/src/components/Assesment/Assesment.jsx
@@ -4,8 +4,11 @@ import {
Box,
Grid,
IconButton,
+ Tooltip,
Typography,
} from "../../../node_modules/@mui/material/index";
+import LogoutImg from "../../assets/images/logout.svg";
+import { styled } from "@mui/material/styles";
import {
RoundTick,
SelectLanguageButton,
@@ -41,6 +44,7 @@ import panda from "../../assets/images/panda.svg";
import cryPanda from "../../assets/images/cryPanda.svg";
import { uniqueId } from "../../services/utilService";
import CircularProgressOverlay from "../CommonComponent/CircularProgressOverlay";
+import { end } from "../../services/telementryService";
export const LanguageModal = ({
lang,
@@ -513,6 +517,38 @@ export const ProfileHeader = ({
const displayLanguage = selectedLanguage?.name || "Select Language";
+ const handleLogout = () => {
+ localStorage.clear();
+ end({});
+ navigate("/Login");
+ };
+
+ const CustomIconButton = styled(IconButton)({
+ padding: "6px 20px",
+ color: "white",
+ fontSize: "20px",
+ fontWeight: 500,
+ borderRadius: "8px",
+ marginRight: "10px",
+ fontFamily: '"Lato", "sans-serif"',
+ position: "relative",
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ "& .logout-img": {
+ display: "block",
+ filter: "invert(1)",
+ },
+ });
+
+ const CustomTooltip = styled(({ className, ...props }) => (
+
+ ))({
+ [`& .MuiTooltip-tooltip`]: {
+ fontSize: "1.2rem", // Adjust the font size as needed
+ },
+ });
+
return (
<>
{!!openMessageDialog && (
@@ -645,6 +681,20 @@ export const ProfileHeader = ({
+ {process.env.REACT_APP_IS_IN_APP_AUTHORISATION === "true" && (
+
+
+
+
+
+
+
+ )}
>
diff --git a/src/services/telementryService.js b/src/services/telementryService.js
index 2f1157e6..cd51adbe 100644
--- a/src/services/telementryService.js
+++ b/src/services/telementryService.js
@@ -72,6 +72,7 @@ export const start = (duration) => {
mode: 'play',
stageid: url,
duration: Number((duration / 1e3).toFixed(2)),
+ dspec: window.navigator.userAgent
},
});
} catch (error) {