userline frontend shows quoted posts

This commit is contained in:
Aditya Sankaran 2019-11-30 18:23:46 -05:00
parent 54cd1c44a7
commit 07a8f0b7bb
2 changed files with 5 additions and 2 deletions

View File

@ -54,6 +54,8 @@ class Home extends Component {
<Typography variant="body2" color={"textSecondary"}>{post.createdAt}</Typography> <Typography variant="body2" color={"textSecondary"}>{post.createdAt}</Typography>
<br /> <br />
<Typography variant="body1"><b>{post.microBlogTitle}</b></Typography> <Typography variant="body1"><b>{post.microBlogTitle}</b></Typography>
<Typography variant="body2">{post.quoteBody}</Typography>
<br />
<Typography variant="body2">{post.body}</Typography> <Typography variant="body2">{post.body}</Typography>
<br /> <br />
<Typography variant="body2"><b>Topics:</b> {post.microBlogTopics}</Typography> <Typography variant="body2"><b>Topics:</b> {post.microBlogTopics}</Typography>

View File

@ -201,12 +201,13 @@ class user extends Component {
{post.createdAt} {post.createdAt}
</Typography> </Typography>
<Typography variant="h7"><b>{post.userHandle}</b></Typography>
<Typography variant="body2" color={"textSecondary"}>{post.createdAt}</Typography>
<br /> <br />
<Typography variant="body1"> <Typography variant="body1">
<b>{post.microBlogTitle}</b> <b>{post.microBlogTitle}</b>
</Typography> </Typography>
<Typography variant="body2">{post.quoteBody}</Typography>
<br />
<Typography variant="body2">{post.body}</Typography> <Typography variant="body2">{post.body}</Typography>
<br /> <br />
<Typography variant="body2"><b>Topics:</b> {post.microBlogTopics}</Typography> <Typography variant="body2"><b>Topics:</b> {post.microBlogTopics}</Typography>