diff --git a/src/components/header.jsx b/src/components/header.jsx index f083018..e82519d 100644 --- a/src/components/header.jsx +++ b/src/components/header.jsx @@ -2,61 +2,112 @@ 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 === '/tutorials/'); - }, []); - return ( -
-
- - - - - - - - - -
-
- ); + useEffect(() => { + setIsHomepage(window.location.pathname === '/tutorials/'); + }, []); + return ( +
+
+ + + + + + + + + +
+
+ ); }; -export default Header; \ No newline at end of file +export default Header;