diff --git a/src/shared/components/community.tsx b/src/shared/components/community.tsx index b76a2165..e994d0bb 100644 --- a/src/shared/components/community.tsx +++ b/src/shared/components/community.tsx @@ -243,7 +243,7 @@ export class Community extends Component { {this.communityInfo()} diff --git a/src/shared/components/iframely-card.tsx b/src/shared/components/iframely-card.tsx index 6a604f7c..c62bf3d0 100644 --- a/src/shared/components/iframely-card.tsx +++ b/src/shared/components/iframely-card.tsx @@ -29,7 +29,7 @@ export class IFramelyCard extends Component< return ( <> {post.embed_title && !this.state.expanded && ( -
+
diff --git a/src/shared/components/main.tsx b/src/shared/components/main.tsx index 54bb66b9..7a5f8144 100644 --- a/src/shared/components/main.tsx +++ b/src/shared/components/main.tsx @@ -274,28 +274,25 @@ export class Main extends Component {
{!this.state.loading && (
-
-
-
- {this.siteName()} - {this.adminButtons()} -
- -
+
{this.trendingCommunities()} {this.createCommunityButton()} - {/* TODO - {this.subscribedCommunities()} - */}
-
+ {UserService.Instance.user && + this.state.subscribedCommunities.length > 0 && ( +
+
{this.subscribedCommunities()}
+
+ )} + +
{this.sidebar()}
-
+
{this.landing()}
@@ -336,34 +333,31 @@ export class Main extends Component { subscribedCommunities() { return ( - UserService.Instance.user && - this.state.subscribedCommunities.length > 0 && ( -
-
- +
+
+ + # + # - - # - - -
-
    - {this.state.subscribedCommunities.map(community => ( -
  • - -
  • - ))} -
-
- ) + +
+
+
    + {this.state.subscribedCommunities.map(community => ( +
  • + +
  • + ))} +
+
); } @@ -371,7 +365,14 @@ export class Main extends Component { return (
{!this.state.showEditSite ? ( - this.siteInfo() +
+
+ {this.siteName()} + {this.adminButtons()} +
+ + {this.siteInfo()} +
) : ( { badges() { return (