diff --git a/app/scripts/components/common/layout-root/index.tsx b/app/scripts/components/common/layout-root/index.tsx
index 016fad343..241d8fd6a 100644
--- a/app/scripts/components/common/layout-root/index.tsx
+++ b/app/scripts/components/common/layout-root/index.tsx
@@ -1,4 +1,5 @@
import React, { ReactNode, useContext, useCallback, useEffect } from 'react';
+import { Link } from 'react-router-dom';
import { useDeepCompareEffect } from 'use-deep-compare';
import styled from 'styled-components';
import { Outlet } from 'react-router';
@@ -97,7 +98,7 @@ function LayoutRoot(props: { children?: ReactNode }) {
}
+ logo={}
/>
diff --git a/app/scripts/components/common/nav-wrapper.js b/app/scripts/components/common/nav-wrapper.js
index 432d52e8f..9bb162c0f 100644
--- a/app/scripts/components/common/nav-wrapper.js
+++ b/app/scripts/components/common/nav-wrapper.js
@@ -1,7 +1,7 @@
import React from 'react';
import styled, { css } from 'styled-components';
import { themeVal } from '@devseed-ui/theme-provider';
-
+import { NavLink } from 'react-router-dom';
import PageHeader from './page-header';
import { useSlidingStickyHeaderProps } from './layout-root/useSlidingStickyHeaderProps';
@@ -35,7 +35,10 @@ function PageNavWrapper(props) {
shouldSlideHeader={isHeaderHidden}
headerHeight={headerHeight}
>
-
+
);
}
diff --git a/app/scripts/components/common/page-header/index.tsx b/app/scripts/components/common/page-header/index.tsx
index 4c7ec7495..83cf15661 100644
--- a/app/scripts/components/common/page-header/index.tsx
+++ b/app/scripts/components/common/page-header/index.tsx
@@ -15,6 +15,7 @@ import {
} from '@devseed-ui/collecticons';
import UnscrollableBody from '../unscrollable-body';
+import { LinkProperties } from '../card';
import NavMenuItem from './nav-menu-item';
import { NavItem } from './types';
@@ -229,14 +230,13 @@ const GlobalMenu = styled.ul`
interface PageHeaderProps {
mainNavItems: NavItem[];
subNavItems: NavItem[];
- logo: ReactElement
+ logo: ReactElement;
+ linkProperties: LinkProperties;
}
-
function PageHeader(props: PageHeaderProps) {
- const { mainNavItems, subNavItems, logo } = props;
+ const { mainNavItems, subNavItems, logo, linkProperties } = props;
const { isMediumDown } = useMediaQuery();
-
const [globalNavRevealed, setGlobalNavRevealed] = useState(false);
const globalNavBodyRef = useRef(null);
@@ -276,7 +276,6 @@ function PageHeader(props: PageHeaderProps) {
<>
Skip to main content