l-min-components 1.0.542 → 1.0.548

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.0.542",
3
+ "version": "1.0.548",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -481,6 +481,10 @@ export const Navbar2 = styled.nav`
481
481
  position: fixed;
482
482
  z-index: 99;
483
483
  justify-content: space-between;
484
+
485
+ img{
486
+ cursor: pointer;
487
+ }
484
488
  `;
485
489
 
486
490
  export const Nav2 = styled.ul`
@@ -37,6 +37,10 @@ const HeaderComponentTwo = (props) => {
37
37
 
38
38
  const containerRef = useRef(null);
39
39
 
40
+ const handleLogoClick = () => {
41
+ window.location.href = 'https://learngual.com/';
42
+ };
43
+
40
44
  useEffect(() => {
41
45
  const handleClickOutside = (event) => {
42
46
  if (
@@ -59,7 +63,7 @@ const HeaderComponentTwo = (props) => {
59
63
  setLanguageDropdown();
60
64
  }}
61
65
  >
62
- <img src={logo} alt="Learngual logo" />
66
+ <img src={logo} alt="Learngual logo" onClick={handleLogoClick} />
63
67
  {/* <Nav2>
64
68
  <li>
65
69
  <a href="#" className="active">