diff --git a/src/ignitus-Shared/ignitus-DesignSystem/ignitus-Organisms/ignitus-Navigation/Components/Navigation.jsx b/src/ignitus-Shared/ignitus-DesignSystem/ignitus-Organisms/ignitus-Navigation/Components/Navigation.jsx index a47506ee..2b22e057 100644 --- a/src/ignitus-Shared/ignitus-DesignSystem/ignitus-Organisms/ignitus-Navigation/Components/Navigation.jsx +++ b/src/ignitus-Shared/ignitus-DesignSystem/ignitus-Organisms/ignitus-Navigation/Components/Navigation.jsx @@ -1,3 +1,5 @@ +/* eslint-disable jsx-a11y/click-events-have-key-events */ +/* eslint-disable jsx-a11y/no-static-element-interactions */ /* eslint-disable react/prop-types */ import React, { useEffect, useState } from 'react'; import { Link } from 'react-router-dom'; @@ -6,81 +8,62 @@ import logo from '../../../ignitus-Assets/ignitus-Logos/logo-Svg/ignitusBlueLogo import blackLogo from '../../../ignitus-Assets/ignitus-Logos/logo-Svg/ignitusBlackLogo.svg'; import '../Styles/style.scss'; +const handleSmallerScreen = () => { + const navlinks = document.querySelector('.navlinks'); + const lines = document.querySelectorAll('.line'); + lines.forEach((line) => { + line.classList.toggle('mobile'); + }); + navlinks.classList.toggle('mobile'); +}; const PureNavigation = ({ displayClass, dynamicLogo }) => ( -