mirror of
https://github.com/He4eT/huge-link.git
synced 2026-05-05 00:47:27 +00:00
Add instructions for the user
This commit is contained in:
parent
300d74d6aa
commit
7472192326
2 changed files with 8 additions and 1 deletions
|
|
@ -5,8 +5,15 @@ import style from './style.css'
|
||||||
|
|
||||||
const Editor = ({markdown, setMarkdown}) => (
|
const Editor = ({markdown, setMarkdown}) => (
|
||||||
<section>
|
<section>
|
||||||
|
<h1>Huge link</h1>
|
||||||
|
<p>
|
||||||
|
A minimalist serverless publishing tool
|
||||||
|
that allows you to create markdown posts and
|
||||||
|
push them to the Web by sharing the link.
|
||||||
|
</p>
|
||||||
<textarea
|
<textarea
|
||||||
class={ style.textarea }
|
class={ style.textarea }
|
||||||
|
placeholder="Write a post using markdown and click Preview"
|
||||||
onInput={ ({target}) => setMarkdown(target.value) }>
|
onInput={ ({target}) => setMarkdown(target.value) }>
|
||||||
{ markdown }
|
{ markdown }
|
||||||
</textarea>
|
</textarea>
|
||||||
|
|
|
||||||
|
|
@ -10,5 +10,5 @@
|
||||||
border: 4px solid hsl(0, 0%, 0%, 0.7);
|
border: 4px solid hsl(0, 0%, 0%, 0.7);
|
||||||
padding: 0.7em 1em;
|
padding: 0.7em 1em;
|
||||||
|
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue