Comments section#51
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/saadpasta/react-blog-github/g2ehcma6m |
|
@xzebra Look's awesome. I'll have a look |
saadpasta
left a comment
There was a problem hiding this comment.
Look's great for now. Can you add a button for add a comment that redirect to that issue comment input that would be great
|
Sure! I will work on it |
|
@allcontributors please add @xzebra for code and idea |
|
We had trouble processing your request. Please try again later. |
|
@allcontributors please add @xzebra for code |
|
I've put up a pull request to add @xzebra! 🎉 |
|
I've updated the pull request to add @xzebra! 🎉 |
As a temporary addition, I implemented the comments section. I haven't come up with a great solution to posting comments in an elegant way, as a Markdown editor would be required.
I included another Markdown element to display the comments. This made me reuse the
HyperLinkandCodeBlockoverrides for the Markdown component so I made an include for those. In addition, theCommentcomponent reuses theAuthorDetails,AuthorAvatar... components, you could create new ones if desired.To end, I changed a few styles to make the comments look OK and set
position: staticinPostReactionas now you can't use bottom as reference (I'm sure this could've been done better).