{!authHeader && backout ? (
{backTitle &&
{isMobile ? simpleBackTitle || backTitle : backTitle} }
{
e.stopPropagation();
}}
// @endif
/>
) : (
<>
{!authHeader && (
setSidebarOpen(!sidebarOpen)}
>
{isAbsoluteSideNavHidden && isMobile && }
)}
{
if (history.location.pathname === '/') window.location.reload();
}}
// @if TARGET='app'
onDoubleClick={e => {
e.stopPropagation();
}}
// @endif
{...homeButtonNavigationProps}
/>
{!authHeader && (
{/* @if TARGET='app' */}
{!authHeader && (
)}
{/* @endif */}
{!authHeader &&
}
{
e.stopPropagation();
}}
// @endif
>
history.push(`/$/${PAGES.UPLOAD}`)}>
{__('Upload')}
history.push(`/$/${PAGES.CHANNEL_NEW}`)}>
{__('New Channel')}
{
e.stopPropagation();
}}
// @endif
>
history.push(`/$/${PAGES.UPLOADS}`)}>
{__('Uploads')}
history.push(`/$/${PAGES.CHANNELS}`)}>
{__('Channels')}
history.push(`/$/${PAGES.CREATOR_DASHBOARD}`)}>
{__('Creator Analytics')}
history.push(`/$/${PAGES.REWARDS}`)}>
{__('Rewards')}
history.push(`/$/${PAGES.INVITE}`)}>
{__('Invites')}
{authenticated ? (
{__('Sign Out')}
{email}
) : !IS_WEB ? (
<>
history.push(`/$/${PAGES.AUTH}`)}>
{__('Sign Up')}
history.push(`/$/${PAGES.AUTH_SIGNIN}`)}>
{__('Sign In')}
>
) : null}
{
e.stopPropagation();
}}
// @endif
>
history.push(`/$/${PAGES.SETTINGS}`)}>
{__('Settings')}
history.push(`/$/${PAGES.HELP}`)}>
{__('Help')}
{currentTheme === 'light' ? __('Dark') : __('Light')}
)}
{!authHeader && !backout ? (
{(!IS_WEB || authenticated) && (
{
e.stopPropagation();
}}
// @endif
/>
)}
{IS_WEB && !authenticated && (
)}
) : (
!isVerifyPage && (
{/* Add an empty span here so we can use the same style as above */}
{/* This pushes the close button to the right side */}
{
e.stopPropagation();
}}
// @endif
/>
)
)}
>
)}