From 1c454f8cd750f56a69e62af51d2542907a4daf24 Mon Sep 17 00:00:00 2001 From: ddowy <92402470+ddowy@users.noreply.github.com> Date: Sat, 16 Sep 2023 21:58:26 -0500 Subject: [PATCH 1/3] Replaced trashcan icon with a gear icon to represent post options. Also added basic hover animation. --- .../components/Posts/components/Post/Post.js | 11 ++++++++--- .../components/Posts/components/Post/post.css | 17 +++++++++++++---- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/forum-project/frontend/src/components/Main/components/Posts/components/Post/Post.js b/forum-project/frontend/src/components/Main/components/Posts/components/Post/Post.js index 2266a50..9f6bc48 100644 --- a/forum-project/frontend/src/components/Main/components/Posts/components/Post/Post.js +++ b/forum-project/frontend/src/components/Main/components/Posts/components/Post/Post.js @@ -2,7 +2,8 @@ import './post.css' import { useState, useEffect } from 'react' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faHeart, faComment } from '@fortawesome/free-regular-svg-icons' -import { faTrashCan, faHeartCrack } from '@fortawesome/free-solid-svg-icons' +import { faHeartCrack } from '@fortawesome/free-solid-svg-icons' +import { faGear } from '@fortawesome/free-solid-svg-icons' import Comment from './Comment/Comment' import MakeComment from './MakeComment/MakeComment' import axios from 'axios' @@ -78,7 +79,9 @@ function Post ({postID, postAuthorID, postAuthor, atRenderLikes, atRenderDislike {postAuthor}
{postContent}
{postContent}
-{postContent}
+{postContent}