Skip to content

Commit 5cf7f80

Browse files
committed
Added github buttons
1 parent ddf58bc commit 5cf7f80

File tree

4 files changed

+35
-17
lines changed

4 files changed

+35
-17
lines changed

App/styles/main.less

+11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
@import "semantic.less";
22
@import (inline) "~codemirror/lib/codemirror.css";
3+
@import url('~semantic-ui-less/themes/default/globals/site.variables');
4+
5+
#Github {
6+
display: flex;
7+
8+
@media only screen and (max-width: @largestMobileScreen) {
9+
& {
10+
justify-content: center;
11+
}
12+
}
13+
}
314

415
.CodeMirror {
516
height: 200px;

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
This project is a web interface to the [javascript obufscator](https://github.com/javascript-obfuscator/javascript-obfuscator) project.
1010

11-
You can see it running here: https://javascriptobfuscator.herokuapp.com
11+
You can see it running here: [obfuscator.io](https://obfuscator.io)
1212

1313
## Running it
1414

@@ -27,7 +27,7 @@ The server runs on http://localhost:3000/
2727

2828
## License
2929

30-
Copyright (C) 2016 Tiago Serafim
30+
Copyright (C) 2016-2018 Tiago Serafim
3131

3232
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
3333

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"name": "javascript-obfuscator-web",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"description": "",
55
"main": "server.js",
66
"engines": {
77
"node": ">=6.3.1"
88
},
99
"scripts": {
10-
"test": "echo \"Error: no test specified\" && exit 1",
1110
"start": "node server.js",
1211
"webpack:dev": "webpack --mode development --config webpack.conf.js --watch --color --progress",
1312
"webpack:prod": "NODE_ENV=production webpack --mode production --config webpack.conf.js --progress --optimize-minimize",
@@ -24,7 +23,7 @@
2423
"graceful-fs": "4.1.9",
2524
"inert": "5.1.0",
2625
"javascript-obfuscator": "0.15.0",
27-
"prop-types": "^15.6.1",
26+
"prop-types": "15.6.1",
2827
"react": "16.3.0",
2928
"react-codemirror": "1.0.0",
3029
"react-dom": "16.3.0",

templates/index.html

+20-12
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,28 @@
3232
<div class="column twelve wide">
3333
<div class="ui basic segment">
3434
<h1>JavaScript Obfuscator Tool</h1>
35-
<p>A free and efficient obfuscator for JavaScript (including ES6). Make your code harder to copy and
35+
<p>
36+
A free and efficient obfuscator for JavaScript (including ES6). Make your code harder to copy and
3637
prevent people from stealing your work. This tool is a Web UI to the excellent (and open source)
3738
<code><a href="https://github.com/javascript-obfuscator/javascript-obfuscator" target="_new">javascript-obfuscator</a>@0.15.0</code>
38-
created by Timofey Kachalov.</p>
39+
created by Timofey Kachalov.
40+
</p>
41+
<div id="Github">
42+
<iframe
43+
src="https://ghbtns.com/github-btn.html?user=javascript-obfuscator&repo=javascript-obfuscator&type=star&size=large"
44+
frameborder="0"
45+
scrolling="0"
46+
width="80px"
47+
height="30px"
48+
></iframe>
49+
<iframe
50+
src="https://ghbtns.com/github-btn.html?user=javascript-obfuscator&repo=javascript-obfuscator&type=watch&v=2&size=large"
51+
frameborder="0"
52+
scrolling="0"
53+
width="90px"
54+
height="30px"
55+
></iframe>
56+
</div>
3957
</div>
4058
</div>
4159

@@ -44,16 +62,6 @@ <h1>JavaScript Obfuscator Tool</h1>
4462
<a href="https://github.com/javascript-obfuscator/javascript-obfuscator">
4563
<img id="Logo" class="ui image centered" src="/static/images/logo.png" alt="obfuscator.io">
4664
</a>
47-
<div class="ui container grid">
48-
<div class="row">
49-
<div class="column eight wide">
50-
<iframe src="https://ghbtns.com/github-btn.html?user=javascript-obfuscator&repo=javascript-obfuscator&type=star&count=true" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
51-
</div>
52-
<div class="column eight wide">
53-
<iframe src="https://ghbtns.com/github-btn.html?user=javascript-obfuscator&repo=javascript-obfuscator&type=watch&count=true&v=2" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
54-
</div>
55-
</div>
56-
</div>
5765
</div>
5866
</div>
5967
</div>

0 commit comments

Comments
 (0)