Skip to content

Commit

Permalink
empty feed pages #3610
Browse files Browse the repository at this point in the history
  • Loading branch information
roadscape committed Nov 20, 2019
1 parent fbe9fce commit 8d1b4e3
Showing 1 changed file with 21 additions and 16 deletions.
37 changes: 21 additions & 16 deletions src/app/components/pages/PostsIndex.jsx
Expand Up @@ -22,21 +22,25 @@ const noFriendsText = (
<div>
You haven't followed anyone yet!<br />
<br />
<Link to="/">Explore Trending Articles</Link>
<span style={{ fontSize: '1.25rem' }}>
<Link to="/">Explore Trending</Link>
</span>
<br />
<Link to="/welcome">Read the Welcome Guide</Link>
<br />
<Link to="/welcome">New users guide</Link>
</div>
);

const noCommunitiesText = (
<div>
You haven't subscribed to any communities yet!<br />
<br />
<Link to="/communities">Explore Communities</Link>
<br />
<Link to="/welcome">Read the Welcome Guide</Link>
You haven't joined any communities yet!<br />
<br />
<span style={{ fontSize: '1.25rem' }}>
<Link to="/communities">Explore Communities</Link>
</span>
{/*
<br /><br />
<Link to="/welcome">New users guide</Link>*/}
</div>
);

Expand Down Expand Up @@ -184,15 +188,16 @@ class PostsIndex extends React.Component {
/>
</span>
</div>
{order != 'feed' && (
<div className="small-4 medium-4 large-3 column articles__header-select">
<SortOrder
sortOrder={order}
topic={category}
horizontal={false}
/>
</div>
)}
{order != 'feed' &&
!(category === 'my' && !posts.size) && (
<div className="small-4 medium-4 large-3 column articles__header-select">
<SortOrder
sortOrder={order}
topic={category}
horizontal={false}
/>
</div>
)}
<div className="medium-1 show-for-mq-medium column">
<ArticleLayoutSelector />
</div>
Expand Down

0 comments on commit 8d1b4e3

Please sign in to comment.