diff --git a/src/components/HeaderHome.jsx b/src/components/HeaderHome.jsx index 2ad511fa..d52f08e9 100644 --- a/src/components/HeaderHome.jsx +++ b/src/components/HeaderHome.jsx @@ -3,6 +3,7 @@ import { StaticQuery, graphql } from 'gatsby' import { ReactComponent as Logo } from '@oceanprotocol/art/logo/logo.svg' import Content from '../components/Content' import styles from './HeaderHome.module.scss' +import SearchButton from '../components/Search/SearchButton' const HeaderHome = () => ( (

{siteTitle}

-

{siteDescription}

+

+

+ {siteDescription} +
+ +
+
+

) diff --git a/src/components/Search/SearchClient.jsx b/src/components/Search/SearchClient.jsx index 3a8f2646..f3244e5b 100644 --- a/src/components/Search/SearchClient.jsx +++ b/src/components/Search/SearchClient.jsx @@ -108,22 +108,11 @@ const SearchClient = ({ searchableData }) => {
{searchState.touched ? (
- {/* - {searchState.searchResults.map((element) => ( - - {element.title} - - ))} - - */}
) : null} @@ -137,8 +126,6 @@ SearchClient.propTypes = { } const ResultList = ({ searchResults }) => { - const url = typeof window !== 'undefined' ? window.location.host : '' - console.log('url', url) return (
Total results found: {searchResults.length}
diff --git a/src/components/Search/SearchComponent.jsx b/src/components/Search/SearchComponent.jsx index cf1676f1..2ba9531e 100644 --- a/src/components/Search/SearchComponent.jsx +++ b/src/components/Search/SearchComponent.jsx @@ -46,10 +46,15 @@ const SearchComponent = ({ location }) => {
-
+
diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 2e3e9ffc..d3129e20 100755 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -9,7 +9,6 @@ import HeaderHome from '../components/HeaderHome' import Repositories from '../components/Repositories' import { ReactComponent as Arrow } from '../images/arrow.svg' import styles from './index.module.scss' -import SearchButton from '../components/Search/SearchButton' const SectionBox = ({ to, children, ...props }) => to ? ( @@ -67,9 +66,6 @@ const IndexPage = ({ data, location }) => ( ))} -
- -