diff --git a/src/App.scss b/src/App.scss index 4f52109..a39b327 100644 --- a/src/App.scss +++ b/src/App.scss @@ -21,6 +21,10 @@ h1 { margin-bottom: 20px; } +h3 { + color: #ff9908; +} + .new-post-form { display: flex; flex-direction: column; diff --git a/src/components/Post.js b/src/components/Post.js index 43b73e0..70fd3f9 100644 --- a/src/components/Post.js +++ b/src/components/Post.js @@ -5,14 +5,22 @@ import { faCaretUp, faCaretDown } from '@fortawesome/free-solid-svg-icons'; const Post = ({ post, upvotePost, downvotePost }) => { return (
-
-

{post.text}

+
+
+

{post.title}

+
+
+

{post.content}

+
- - {post.upvotes - post.downvotes} + {post.reactions.positive - post.reactions.negative}