diff --git a/src/components/header.jsx b/src/components/header.jsx index aa973737..33a04f0d 100644 --- a/src/components/header.jsx +++ b/src/components/header.jsx @@ -2,62 +2,113 @@ import React, { useEffect, useState } from 'react'; import SearchInputBox from './SearchInputBox'; const Header = () => { + const [isHomepage, setIsHomepage] = useState(false); - const [isHomepage, setIsHomepage] = useState(false); + useEffect(() => { + setIsHomepage(window.location.pathname === '/docs/'); + }, []); - useEffect(() => { - setIsHomepage(window.location.pathname === '/docs/'); - }, []); - - return ( -
-
- - - - - - - - -
-
-
- -
- GET STARTED FREE - BOOK A DEMO -
- -
+ return ( +
+
+ + + + + + + + +
+
+
+
-
- ); + + GET STARTED FREE + + + BOOK A DEMO + +
+ + + +
+ ); }; export default Header;