diff --git a/web/app.react.js b/web/app.react.js --- a/web/app.react.js +++ b/web/app.react.js @@ -26,6 +26,7 @@ import AppsDirectory from './apps/apps-directory.react'; import Calendar from './calendar/calendar.react'; import Chat from './chat/chat.react'; +import NavigationArrows from './components/navigation-arrows.react'; import InputStateContainer from './input/input-state-container.react'; import LoadingIndicator from './loading-indicator.react'; import { MenuProvider } from './menu-provider.react'; @@ -165,6 +166,12 @@ } } + const shouldShowNavigationArrows = false; + let navigationArrows = null; + if (shouldShowNavigationArrows) { + navigationArrows = ; + } + return (
@@ -180,6 +187,7 @@ Comm + {navigationArrows}
history.getHistoryObject().goBack(), + [], + ); + const goForward = React.useCallback( + () => history.getHistoryObject().goForward(), + [], + ); + + return ( + + ); +} + +export default NavigationArrows; diff --git a/web/style.css b/web/style.css --- a/web/style.css +++ b/web/style.css @@ -80,6 +80,7 @@ line-height: var(--line-height-text); font-weight: var(--semi-bold); font-size: var(--logo-font-22); + margin-right: 40px; } .wordmark > a { color: inherit;