Change "Drag a file" copy

main
Jake Dexheimer 7 years ago
parent 7db2e8ff4f
commit 45bb7efbfb

@ -17,7 +17,7 @@ Visit [dawnlabs.io/carbon](http://dawnlabs.io/carbon) or read [our post](TODO) t
#### Import
There are a few different ways to import code into Carbon:
- Drag a file onto the editor
- Drop a file onto the editor
- Append a GitHub gist id to the url (e.g. `www.dawnlabs.io/carbon/GIST_ID_HERE`)
- Paste your code directly

@ -5,7 +5,7 @@ const Header = ({ enableHeroText }) => (
<div className="header mb4">
<div className="header-content">
<a href="/"><Logo /></a>
{ enableHeroText ? (<h2 className="mt3">Create and share beautiful images of your source code.<br/> Start typing, or drag a file into the text area to get started.</h2>) : null }
{ enableHeroText ? (<h2 className="mt3">Create and share beautiful images of your source code.<br/> Start typing, or drop a file into the text area to get started.</h2>) : null }
</div>
<style jsx>{`
.header {

@ -16,7 +16,7 @@ export default () => (
<h4 className="mb0">Import</h4>
<p className="mb1 mt2">There are a few different ways to import code into Carbon:</p>
<ul className="mt0 mb3">
<li>Drag a file into the editor</li>
<li>Drop a file into the editor</li>
<li>Append a GitHub gist id to the url (<a className="link" href="/0db00e81d5416c339181e59481c74b59">example</a>)</li>
<li>Paste your code directly</li>
</ul>

Loading…
Cancel
Save