mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-25 07:36:37 +00:00
Site again.
This commit is contained in:
parent
3d9f8ed9f9
commit
33088ea760
|
@ -182,21 +182,23 @@ 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">
|
||||||
<Link
|
{this.props.site.site && (
|
||||||
title={this.props.site.version}
|
<Link
|
||||||
className="d-flex align-items-center navbar-brand mr-md-3"
|
title={this.props.site.version}
|
||||||
to="/"
|
className="d-flex align-items-center navbar-brand mr-md-3"
|
||||||
>
|
to="/"
|
||||||
{this.props.site.site.icon && showAvatars() && (
|
>
|
||||||
<img
|
{this.props.site.site.icon && showAvatars() && (
|
||||||
src={pictrsAvatarThumbnail(this.props.site.site.icon)}
|
<img
|
||||||
height="32"
|
src={pictrsAvatarThumbnail(this.props.site.site.icon)}
|
||||||
width="32"
|
height="32"
|
||||||
class="rounded-circle mr-2"
|
width="32"
|
||||||
/>
|
class="rounded-circle mr-2"
|
||||||
)}
|
/>
|
||||||
{this.props.site.site.name}
|
)}
|
||||||
</Link>
|
{this.props.site.site.name}
|
||||||
|
</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