Skip to content

Commit f9ae613

Browse files
committed
Adjust title
1 parent 8f26955 commit f9ae613

File tree

2 files changed

+42
-28
lines changed

2 files changed

+42
-28
lines changed

App/styles/main.less

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,19 @@
22
@import (inline) "~codemirror/lib/codemirror.css";
33
@import url('~semantic-ui-less/themes/default/globals/site.variables');
44

5+
.title {
6+
display: flex;
7+
flex-wrap: wrap;
8+
align-items: center;
9+
10+
& > h1 {
11+
margin-right: 1rem;
12+
}
13+
}
14+
515
#GithubBadges, #DonateBadges {
616
display: flex;
17+
margin-bottom: 1rem;
718

819
& #donate {
920
position: relative;

templates/index.html

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -82,40 +82,43 @@
8282
<div class="row">
8383
<div class="column twelve wide">
8484
<div class="ui basic segment">
85-
<h1>JavaScript Obfuscator Tool</h1>
85+
<div class="title">
86+
<h1>JavaScript Obfuscator Tool</h1>
87+
88+
<div id="GithubBadges">
89+
<iframe
90+
src="https://ghbtns.com/github-btn.html?user=javascript-obfuscator&repo=javascript-obfuscator&type=star&size=large&count=true"
91+
frameborder="0"
92+
scrolling="0"
93+
width="90px"
94+
height="30px"
95+
></iframe>
96+
<iframe
97+
src="https://ghbtns.com/github-btn.html?user=javascript-obfuscator&repo=javascript-obfuscator&type=watch&v=2&size=large"
98+
frameborder="0"
99+
scrolling="0"
100+
width="90px"
101+
height="30px"
102+
></iframe>
103+
<div
104+
id="donate"
105+
title="Sponsor javascript-obfuscator/javascript-obfuscator"
106+
role="button"
107+
onclick="window.scrollTo(0, document.body.scrollHeight)"
108+
>
109+
<svg id="donate-heart" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true">
110+
<path fill-rule="evenodd" d="M8.727 3C7.091 3 6.001 4.65 6.001 4.65S4.909 3 3.273 3C1.636 3 0 4.1 0 6.3 0 9.6 6 14 6 14s6-4.4 6-7.7C12 4.1 10.364 3 8.727 3z"></path>
111+
</svg>
112+
Sponsor
113+
</div>
114+
</div>
115+
</div>
86116
<p>
87117
A free and efficient obfuscator for JavaScript (including support of ES2022). Make your code harder to copy and
88118
prevent people from stealing your work. This tool is a Web UI to the excellent (and open source)
89119
<code><a href="https://github.com/javascript-obfuscator/javascript-obfuscator" target="_new">javascript-obfuscator</a>@4.0.0</code>
90120
created by Timofey Kachalov.
91121
</p>
92-
<div id="GithubBadges">
93-
<iframe
94-
src="https://ghbtns.com/github-btn.html?user=javascript-obfuscator&repo=javascript-obfuscator&type=star&size=large&count=true"
95-
frameborder="0"
96-
scrolling="0"
97-
width="150px"
98-
height="30px"
99-
></iframe>
100-
<iframe
101-
src="https://ghbtns.com/github-btn.html?user=javascript-obfuscator&repo=javascript-obfuscator&type=watch&v=2&size=large"
102-
frameborder="0"
103-
scrolling="0"
104-
width="90px"
105-
height="30px"
106-
></iframe>
107-
<div
108-
id="donate"
109-
title="Sponsor javascript-obfuscator/javascript-obfuscator"
110-
role="button"
111-
onclick="window.scrollTo(0, document.body.scrollHeight)"
112-
>
113-
<svg id="donate-heart" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true">
114-
<path fill-rule="evenodd" d="M8.727 3C7.091 3 6.001 4.65 6.001 4.65S4.909 3 3.273 3C1.636 3 0 4.1 0 6.3 0 9.6 6 14 6 14s6-4.4 6-7.7C12 4.1 10.364 3 8.727 3z"></path>
115-
</svg>
116-
Sponsor
117-
</div>
118-
</div>
119122
</div>
120123
</div>
121124

0 commit comments

Comments
 (0)