This commit is contained in:
Mike Cao 2020-09-09 16:43:37 -07:00
parent 6bbe7800c2
commit ff9d4f8585

View File

@ -22,20 +22,22 @@ export default function Header() {
</div> </div>
</div> </div>
<div className="col-12 col-md-9"> <div className="col-12 col-md-9">
{user ? ( <div className={styles.nav}>
<div className={styles.nav}> {user ? (
<Link href="/dashboard"> <>
<FormattedMessage id="header.nav.dashboard" defaultMessage="Dashboard" /> <Link href="/dashboard">
</Link> <FormattedMessage id="header.nav.dashboard" defaultMessage="Dashboard" />
<Link href="/settings"> </Link>
<FormattedMessage id="header.nav.settings" defaultMessage="Settings" /> <Link href="/settings">
</Link> <FormattedMessage id="header.nav.settings" defaultMessage="Settings" />
</Link>
<LanguageButton menuAlign="right" />
<UserButton />
</>
) : (
<LanguageButton menuAlign="right" /> <LanguageButton menuAlign="right" />
<UserButton /> )}
</div> </div>
) : (
<LanguageButton menuAlign="right" />
)}
</div> </div>
</div> </div>
</header> </header>