Add instructions for the user

This commit is contained in:
He4eT 2020-12-18 13:47:09 +05:00
commit 7472192326
2 changed files with 8 additions and 1 deletions

View file

@ -5,8 +5,15 @@ import style from './style.css'
const Editor = ({markdown, setMarkdown}) => (
<section>
<h1>Huge link</h1>
<p>
A&nbsp;minimalist serverless publishing tool
that allows you to&nbsp;create markdown posts and
push them to&nbsp;the Web by&nbsp;sharing the link.
</p>
<textarea
class={ style.textarea }
placeholder="Write a post using markdown and click Preview"
onInput={ ({target}) => setMarkdown(target.value) }>
{ markdown }
</textarea>

View file

@ -10,5 +10,5 @@
border: 4px solid hsl(0, 0%, 0%, 0.7);
padding: 0.7em 1em;
margin-bottom: 1em;
margin-bottom: 1.5em;
}