mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 20:31:13 +00:00
Site again.
This commit is contained in:
parent
3d9f8ed9f9
commit
33088ea760
1 changed files with 17 additions and 15 deletions
|
@ -182,6 +182,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
|
||||||
return (
|
return (
|
||||||
<nav class="navbar navbar-expand-lg navbar-light shadow-sm p-0 px-3">
|
<nav class="navbar navbar-expand-lg navbar-light shadow-sm p-0 px-3">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
{this.props.site.site && (
|
||||||
<Link
|
<Link
|
||||||
title={this.props.site.version}
|
title={this.props.site.version}
|
||||||
className="d-flex align-items-center navbar-brand mr-md-3"
|
className="d-flex align-items-center navbar-brand mr-md-3"
|
||||||
|
@ -197,6 +198,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
|
||||||
)}
|
)}
|
||||||
{this.props.site.site.name}
|
{this.props.site.site.name}
|
||||||
</Link>
|
</Link>
|
||||||
|
)}
|
||||||
{this.state.isLoggedIn && (
|
{this.state.isLoggedIn && (
|
||||||
<Link
|
<Link
|
||||||
className="ml-auto p-0 navbar-toggler nav-link border-0"
|
className="ml-auto p-0 navbar-toggler nav-link border-0"
|
||||||
|
|
Loading…
Reference in a new issue