diff --git a/packages/nulp_elite/public/locales/be/translation.json b/packages/nulp_elite/public/locales/be/translation.json
index 281922aa..bdf9cd4f 100644
--- a/packages/nulp_elite/public/locales/be/translation.json
+++ b/packages/nulp_elite/public/locales/be/translation.json
@@ -296,5 +296,7 @@
"ADMIN":"অ্যাডমিন",
"LEARNING_REPORT":"লার্নিং রিপোর্ট",
"POPULAR_COURSES" : "জনপ্রিয় কোর্স",
- "RECENTLY_ADDED":"সম্প্রতি যোগ করা হয়েছে"
+ "RECENTLY_ADDED":"সম্প্রতি যোগ করা হয়েছে",
+ "CONTENT_DERIVED_FROM": "এই বিষয়বস্তু থেকে সংগৃহীত",
+ "PUBLISHED_ON_NULP_BY": "NULP দ্বারা প্রকাশিত"
}
diff --git a/packages/nulp_elite/public/locales/en/translation.json b/packages/nulp_elite/public/locales/en/translation.json
index caa9959c..5e88b564 100644
--- a/packages/nulp_elite/public/locales/en/translation.json
+++ b/packages/nulp_elite/public/locales/en/translation.json
@@ -316,6 +316,7 @@
"ADMIN":"Admin",
"LEARNING_REPORT":"Learning Report",
"POPULAR_COURSES" : "Popular Courses",
- "RECENTLY_ADDED":"Recently Added"
-
+ "RECENTLY_ADDED":"Recently Added",
+ "CONTENT_DERIVED_FROM": "This content is derived from",
+ "PUBLISHED_ON_NULP_BY": "PUBLISHED ON NULP BY"
}
diff --git a/packages/nulp_elite/public/locales/gg/translation.json b/packages/nulp_elite/public/locales/gg/translation.json
index 1789539b..7e0785db 100644
--- a/packages/nulp_elite/public/locales/gg/translation.json
+++ b/packages/nulp_elite/public/locales/gg/translation.json
@@ -306,7 +306,8 @@
"ADMIN":"એડમિન",
"LEARNING_REPORT":"લર્નિંગ રિપોર્ટ",
"POPULAR_COURSES" : "લોકપ્રિય અભ્યાસક્રમો",
- "RECENTLY_ADDED":"તાજેતરમાં ઉમેરાયેલ"
-
+ "RECENTLY_ADDED":"તાજેતરમાં ઉમેરાયેલ",
+ "CONTENT_DERIVED_FROM": "આ સામગ્રીમાંથી ઉત્પન્ન છે",
+ "PUBLISHED_ON_NULP_BY": "NULP દ્વારા પ્રકાશિત"
}
diff --git a/packages/nulp_elite/public/locales/hi/translation.json b/packages/nulp_elite/public/locales/hi/translation.json
index 39945995..78861c9f 100644
--- a/packages/nulp_elite/public/locales/hi/translation.json
+++ b/packages/nulp_elite/public/locales/hi/translation.json
@@ -298,5 +298,7 @@
"ADMIN":"व्यवस्थापक",
"LEARNING_REPORT":"सीखने की रिपोर्ट",
"POPULAR_COURSES" : "लोकप्रिय पाठ्यक्रम",
- "RECENTLY_ADDED":"हाल ही में जोड़ा"
+ "RECENTLY_ADDED":"हाल ही में जोड़ा",
+ "CONTENT_DERIVED_FROM": "यह सामग्री से व्युत्पन्न है",
+ "PUBLISHED_ON_NULP_BY": "एनयूपीएलपी द्वारा प्रकाशित"
}
diff --git a/packages/nulp_elite/public/locales/ma/translation.json b/packages/nulp_elite/public/locales/ma/translation.json
index ab5008b1..7376e7fa 100644
--- a/packages/nulp_elite/public/locales/ma/translation.json
+++ b/packages/nulp_elite/public/locales/ma/translation.json
@@ -298,6 +298,8 @@
"ADMIN":"प्रशासक",
"LEARNING_REPORT":"शिकण्याचा अहवाल",
"POPULAR_COURSES" : "लोकप्रिय अभ्यासक्रम",
- "RECENTLY_ADDED":"अलीकडे जोडले"
+ "RECENTLY_ADDED":"अलीकडे जोडले",
+ "CONTENT_DERIVED_FROM": "ही सामग्री यावरून घेतली आहे",
+ "PUBLISHED_ON_NULP_BY": "एनयूपीएलपीद्वारे प्रकाशित"
}
diff --git a/packages/nulp_elite/public/locales/mal/translation.json b/packages/nulp_elite/public/locales/mal/translation.json
index 1871c15b..229c6003 100644
--- a/packages/nulp_elite/public/locales/mal/translation.json
+++ b/packages/nulp_elite/public/locales/mal/translation.json
@@ -298,5 +298,7 @@
"ADMIN":"അഡ്മിൻ",
"LEARNING_REPORT":"പഠന റിപ്പോർട്ട്",
"POPULAR_COURSES" : "ജനപ്രിയ കോഴ്സുകൾ",
- "RECENTLY_ADDED":"അടുത്തിടെ ചേർത്തത് "
+ "RECENTLY_ADDED":"അടുത്തിടെ ചേർത്തത് ",
+ "CONTENT_DERIVED_FROM": "ഈ ഉള്ളടക്കം നിന്നു പ്രാപ്തമായതാണ്",
+ "PUBLISHED_ON_NULP_BY": "NULP വഴി പ്രസിദ്ധീകരിച്ചത്"
}
diff --git a/packages/nulp_elite/public/locales/ta/translation.json b/packages/nulp_elite/public/locales/ta/translation.json
index 47b20a4e..47d16fe7 100644
--- a/packages/nulp_elite/public/locales/ta/translation.json
+++ b/packages/nulp_elite/public/locales/ta/translation.json
@@ -323,5 +323,7 @@
"ADMIN":"நிர்வாகி",
"LEARNING_REPORT":"கற்றல் அறிக்கை",
"POPULAR_COURSES" : " జనాదరణ పొందిన కోర్సులు",
- "RECENTLY_ADDED":"ఇటీవల జోడించబడింది"
+ "RECENTLY_ADDED":"ఇటీవల జోడించబడింది",
+ "CONTENT_DERIVED_FROM": "இந்த உள்ளடக்கம் இதிலிருந்து பெறப்பட்டுள்ளது",
+ "PUBLISHED_ON_NULP_BY": "NULP மூலம் வெளியிடப்பட்டது"
}
diff --git a/packages/nulp_elite/public/locales/te/translation.json b/packages/nulp_elite/public/locales/te/translation.json
index 3d82c98d..ca64406a 100644
--- a/packages/nulp_elite/public/locales/te/translation.json
+++ b/packages/nulp_elite/public/locales/te/translation.json
@@ -261,5 +261,7 @@
"ADMIN":"నిర్వాహకుడు",
"LEARNING_REPORT":"లెర్నింగ్ రిపోర్ట్",
"POPULAR_COURSES" : "జనాదరణ పొందిన కోర్సులు",
- "RECENTLY_ADDED":"ఇటీవల జోడించబడింది"
+ "RECENTLY_ADDED":"ఇటీవల జోడించబడింది",
+ "CONTENT_DERIVED_FROM": "ఈ సాంఘికత నుండి పొందినది",
+ "PUBLISHED_ON_NULP_BY": "NULP ద్వారా ప్రచురించబడింది"
}
diff --git a/packages/nulp_elite/src/components/domainCarousel.js b/packages/nulp_elite/src/components/domainCarousel.js
index 898a71f4..c07df295 100644
--- a/packages/nulp_elite/src/components/domainCarousel.js
+++ b/packages/nulp_elite/src/components/domainCarousel.js
@@ -4,13 +4,10 @@ import Typography from "@mui/joy/Typography";
import Carousel from "react-multi-carousel";
import "react-multi-carousel/lib/styles.css";
import domainWithImage from "../assets/domainImgForm.json";
-import { Tooltip } from "@mui/material";
-import { MarginOutlined } from "@mui/icons-material";
import Container from "@mui/material/Container";
import { useTranslation } from "react-i18next";
import SkeletonLoader from "components/skeletonLoader";
import KeyboardArrowUpIcon from "@mui/icons-material/KeyboardArrowUp";
-// import { useNavigate } from "react-router-dom";
import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown";
import { Button } from "@mui/material";
const styles = {
@@ -22,25 +19,27 @@ const styles = {
},
};
const responsive = {
- superLargeDesktop: {
- // the naming can be any, depends on you.
- // breakpoint: { max: 4000, min: 3000 },
- breakpoint: { max: 1280, min: 1024 },
-
- items: 8,
- },
desktop: {
- // breakpoint: { max: 3000, min: 1024 },
- breakpoint: { max: 1024, min: 769 },
+ breakpoint: { max: 1920, min: 1240 },
+ items: 10,
+ arrows: false,
+ },
+ mediumDesktop: {
+ breakpoint: { max: 1240, min: 768 },
items: 8,
+ partialVisibilityGutter: 20,
+ arrows: true,
},
tablet: {
- breakpoint: { max: 768, min: 464 },
+ breakpoint: { max: 768, min: 600 },
items: 4,
+ partialVisibilityGutter: 30,
+ arrows: true,
},
mobile: {
- breakpoint: { max: 464, min: 0 },
+ breakpoint: { max: 600, min: 0 },
items: 3,
+ arrows: true,
},
};
@@ -164,179 +163,97 @@ export default function DomainCarousel({
return (
<>
- {isMobile ? (
-
-
- {itemsArray &&
- itemsArray?.slice(0, 10).map((domain, index) => (
-
- handleDomainClick(domain.code, index, domain.name)
- }
- key={index}
- orientation="horizontal"
- size="sm"
- variant="outlined"
- >
-
- {/* {(domain.image != undefined) &&
}
- {(domain.image == undefined)&&
} */}
-
- {/*
*/}
-
-
-
- {domain.name}
-
-
-
- ))}
-
-
- ) : (
+ {isLoading && (
<>
- {isLoading && (
- <>
-
-
-
- >
- )}
-
- {!isLoading && !isBoxVisible && (
-
-
-
- )}
+
+
+
+ >
+ )}
- {isBoxVisible && (
- <>
-
-
-
-
-
- {itemsArray &&
- itemsArray?.slice(0, 10).map((domain, index) => (
-
- handleDomainClick(domain.code, index, domain.name)
- }
- key={index}
- orientation="horizontal"
- size="sm"
- variant="outlined"
- style={{ display: "flex", margin: "0 4px" }}
- onMouseEnter={(event) => handleMouseEnter(index)}
- onMouseLeave={handleMouseLeave}
- >
-
-
-
-
-
- {domain.name}
-
- {/* )} */}
-
-
- ))}
-
-
+ {!isLoading && !isBoxVisible && (
+
+
+
+ )}
+ {isBoxVisible && (
+ <>
+
+
+ {itemsArray &&
+ itemsArray.slice(0, 10).map((domain, index) => (
handleDomainClick(domain.code, index, domain.name)}
+ key={index}
+ orientation="horizontal"
+ size="sm"
+ variant="outlined"
>
-
+
+
+
+
+
+ {domain.name}
+
+
-
-
+ ))}
+
+
+
-
- >
- )}
- >
+
+ >
)}
>
);
diff --git a/packages/nulp_elite/src/components/header.js b/packages/nulp_elite/src/components/header.js
index c17a60af..1397acd4 100644
--- a/packages/nulp_elite/src/components/header.js
+++ b/packages/nulp_elite/src/components/header.js
@@ -2,20 +2,14 @@ import React, { useState, useEffect } from "react";
import AppBar from "@mui/material/AppBar";
import Box from "@mui/material/Box";
import Toolbar from "@mui/material/Toolbar";
-import Typography from "@mui/material/Typography";
import Menu from "@mui/material/Menu";
-import MenuIcon from "@mui/icons-material/Menu";
import Container from "@mui/material/Container";
import Tooltip from "@mui/material/Tooltip";
-import AccountCircleOutlinedIcon from "@mui/icons-material/AccountCircleOutlined";
import TextField from "@mui/material/TextField";
import IconButton from "@mui/material/IconButton";
import { Badge } from "@mui/material";
import SearchIcon from "@mui/icons-material/Search";
import Link from "@mui/material/Link";
-import DevicesIcon from "@mui/icons-material/Devices";
-import WebIcon from "@mui/icons-material/Web";
-import InputLabel from "@mui/material/InputLabel";
import MenuItem from "@mui/material/MenuItem";
import FormControl from "@mui/material/FormControl";
import Select from "@mui/material/Select";
@@ -27,7 +21,6 @@ import LogoutOutlinedIcon from "@mui/icons-material/LogoutOutlined";
import GTranslateIcon from "@mui/icons-material/GTranslate";
import MenuBookOutlinedIcon from "@mui/icons-material/MenuBookOutlined";
import ChatOutlinedIcon from "@mui/icons-material/ChatOutlined";
-import SortOutlinedIcon from "@mui/icons-material/SortOutlined";
import { useNavigate } from "react-router-dom";
import HomeOutlinedIcon from "@mui/icons-material/HomeOutlined";
import * as util from "../services/utilService";
@@ -37,8 +30,6 @@ const routeConfig = require("../configs/routeConfig.json");
import VideocamOutlinedIcon from "@mui/icons-material/VideocamOutlined";
import NotificationsNoneOutlinedIcon from "@mui/icons-material/NotificationsNoneOutlined";
import Groups2OutlinedIcon from "@mui/icons-material/Groups2Outlined";
-import Grid from "@mui/material/Grid";
-import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown";
import { ExpandLess, ExpandMore } from "@mui/icons-material";
import { Collapse, List } from "@mui/material";
import NotificationPopup from "./Notification";
@@ -232,28 +223,15 @@ function Header({ globalSearchQuery }) {
}, []);
const roleNames =
userData?.result?.response?.roles.map((role) => role.role) || [];
+
+ const textFieldStyle = {
+ fontSize: '12px',
+ backgroundColor: searchQuery ? '#065872' : 'transparent',
+ boxShadow: searchQuery ? '0 2px 4px rgba(0, 0, 0, 0.2)' : 'none',
+ color:searchQuery? '#fff' :"#000"
+ };
return (
<>
- {/* Sidebar Navigation */}
-
- {/*
-
-
- {" "}
- +A
- {" "}
-
- A -{" "}
-
-
- A
- {" "}
-
-
- */}
-
+
),
+ style: {
+ color: searchQuery ? '#fff' : '#000',
+ },
}}
/>
@@ -316,49 +297,6 @@ function Header({ globalSearchQuery }) {
alignItems: "space-between",
}}
>
- {/* Navigation Links */}
- {/*
-
-
-
- {t("MAIN_CONTENT")}{" "}
-
- */}
-
- {/*
-
-
- {t("SCREEN_READER")}{" "}
-
- */}
- {/* Language Select */}
-
- {/* */}
- {/*
- ekta */}
-
- {/*
-
-
-
-
- */}
@@ -623,23 +489,13 @@ function Header({ globalSearchQuery }) {
{userData?.result?.response?.firstName[0]}
- {/*
- {userData?.result?.response?.firstName}
-
*/}
>
)}
@@ -784,17 +650,6 @@ function Header({ globalSearchQuery }) {
className="lg-hide lg-mt-10"
>
- {/*
-
- */}
-
+
@@ -905,38 +764,6 @@ function Header({ globalSearchQuery }) {
- {/* */}
{userData?.result?.response?.firstName[0]}
- {/*
- {userData?.result?.response?.firstName}
-
*/}
>
)}
{/* */}
{/* Language Select */}
diff --git a/packages/nulp_elite/src/pages/connections/chat.js b/packages/nulp_elite/src/pages/connections/chat.js
index 4d1ba386..00e7664a 100644
--- a/packages/nulp_elite/src/pages/connections/chat.js
+++ b/packages/nulp_elite/src/pages/connections/chat.js
@@ -124,6 +124,8 @@ const Chat = ({
const [toasterOpen, setToasterOpen] = useState(false);
const [toasterMessage, setToasterMessage] = useState("");
const [receiverData, setReceiverData] = useState([]);
+ const [eneteredtextValue, setEnteredTextValue] = useState("");
+ const charLimit = 700;
const [prefilledMessage, setPrefilledMessage] = useState(
"Hello! I’d like to connect with you."
);
@@ -520,6 +522,10 @@ const Chat = ({
const handleTextareaChange = (event) => {
setPrefilledMessage(event.target.value);
setTextValue(event.target.value);
+ const value = event.target.value;
+ if (value.length <= charLimit) {
+ setEnteredTextValue(value);
+ }
};
const onEmojiClick = (event, emojiObject) => {
const { emoji } = event;
@@ -564,9 +570,11 @@ const Chat = ({
{receiverData[0].designation}
-
-
-
+
+
+
+
+
)}
{!showCloseIcon && (
@@ -847,7 +855,9 @@ const Chat = ({
fullWidth
sx={{ fontSize: "13px" }}
/>
-
+
+ {`${textValue.length}/${charLimit}`}
+