Skip to content

Commit 692fc13

Browse files
committed
Add links
1 parent e092f40 commit 692fc13

File tree

5 files changed

+26
-13
lines changed

5 files changed

+26
-13
lines changed

index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,24 @@
66
<link href='https://fonts.googleapis.com/css?family=Roboto:300,300italic,100' rel='stylesheet' type='text/css'>
77
</head>
88
<body>
9+
<div class="padding-2x">
10+
<h1>img2css.</h1>
11+
<div>This is a tool that can convert any image into a <i>pure css</i> image.</div>
12+
<div>Try it! (It's cpu heavy, please try with a small image first).</div>
13+
<br />
14+
<iframe src="https://ghbtns.com/github-btn.html?user=javierbyte&repo=img2css&type=star&count=true" frameborder="0" scrolling="0" width="170px" height="20px"></iframe>
15+
16+
</div>
17+
918
<div id='root'></div>
1019

20+
<div class="padding-2x">
21+
Created by <a href='http://github.com/javierbyte/'>javierbyte</a>.
22+
<br /><br />
23+
<a href="https://twitter.com/javierbyte" class="twitter-follow-button" data-show-count="true">Follow @javierbyte</a>
24+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
25+
</div>
26+
1127
<script src="static/bundle.js"></script>
1228

1329
<a target='_blank' style="position: fixed; top: 0; right: 0" href="https://github.com/javierbyte/img2css"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_left_red_aa0000.png"></a>

src/App.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,7 @@ export const App = React.createClass({
4747
}).join(',')
4848

4949
return (
50-
<div className='padding-2x'>
51-
<h1>img2css.</h1>
52-
<div>This is a tool that can convert any image into a <i>pure css</i> image.</div>
53-
<div>Try it! (It's cpu heavy, please try with a small image first).</div>
50+
<div className='padding-horizontal-2x'>
5451

5552
<Dropzone onDrop={this.onDrop} className='dropZone'>
5653
{loadingImage ? 'Processing...' : 'Drop an image here, or click to upload.'}
@@ -77,10 +74,6 @@ export const App = React.createClass({
7774
</div>
7875
)}
7976

80-
<div className='tutorial'>
81-
Created by <a href='http://github.com/javierbyte/'>javierbyte</a>.
82-
</div>
83-
8477
</div>
8578
)
8679
}

static/bundle.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

style/main.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ h1 {
2323
padding: 2em;
2424
}
2525

26+
.padding-horizontal-2x {
27+
padding: 0 2em;
28+
}
29+
2630
.pixel {
2731
height: 1px;
2832
width: 1px;

0 commit comments

Comments
 (0)