Skip to content

Commit 1e0f9c5

Browse files
committed
fix: Add text to footer; rename project
1 parent eb4e6bc commit 1e0f9c5

File tree

4 files changed

+36
-13
lines changed

4 files changed

+36
-13
lines changed

ecosystem.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ module.exports = {
33
{
44
name: 'validatejavascript.com',
55
script: 'packages/backend/index.js',
6-
error_file: '/var/web/eslint.io/logs/err.log',
7-
out_file: '/var/web/eslint.io/logs/out.log',
6+
error_file: '/var/web/validatejavascript.com/logs/err.log',
7+
out_file: '/var/web/validatejavascript.com/logs/out.log',
88
env: {
99
NODE_ENV: 'production',
1010
PORT: '5004'
@@ -19,8 +19,8 @@ module.exports = {
1919
user: 'deployer',
2020
host: '192.241.157.86',
2121
ref: 'origin/master',
22-
repo: '[email protected]:circlecell/eslint.io.git',
23-
path: '/var/web/eslint.io',
22+
repo: '[email protected]:circlecell/validatejavascript.com.git',
23+
path: '/var/web/validatejavascript.com',
2424
ssh_options: ['StrictHostKeyChecking=no', 'PasswordAuthentication=no'],
2525
'post-deploy': 'npm run install-all && npm run build && npm start'
2626
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "eslint.io",
2+
"name": "validatejavascript.com",
33
"version": "0.0.0-auto",
44
"private": true,
55
"description": "A browser version of ESLint",
@@ -43,7 +43,7 @@
4343
},
4444
"repository": {
4545
"type": "git",
46-
"url": "https://github.com/circlecell/eslint.io.git"
46+
"url": "https://github.com/circlecell/validatejavascript.com.git"
4747
},
4848
"keywords": [
4949
"eslint",
@@ -53,9 +53,9 @@
5353
"author": "Circlecell",
5454
"license": "MIT",
5555
"bugs": {
56-
"url": "https://github.com/circlecell/eslint.io/issues"
56+
"url": "https://github.com/circlecell/validatejavascript.com/issues"
5757
},
58-
"homepage": "https://github.com/circlecell/eslint.io#readme",
58+
"homepage": "https://github.com/circlecell/validatejavascript.com#readme",
5959
"devDependencies": {
6060
"babel-core": "^6.25.0",
6161
"babel-eslint": "^7.2.3",

packages/frontend/css/style.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,6 +1117,8 @@ input:checked + label {
11171117
width: 100%;
11181118
padding: 20px 30px 0;
11191119
clear: both;
1120+
height: 300px;
1121+
overflow: auto;
11201122
}
11211123

11221124
@media screen and (max-width: 1000px) {

packages/frontend/index.html

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,33 @@ <h1>ValidateJavaScript <span class="sub-title">- Find &amp; Fix JavaScript Error
9191
</fieldset>
9292
</div>
9393
<div class="info">
94-
<p class="heading">About ValdateJavaScript</p>
95-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
96-
<p class="heading">Tips &amp; Tricks</p>
97-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
94+
<p class="heading">About ValidateJavaScript</p>
95+
96+
<p>
97+
ValidateJavaScript is an online validating (or linting) tool that will automatically find basic errors and help prevent potentially destructive bugs in JavaScript code.
98+
Copy and paste or directly input your JavaScript code into the editor above, click the 'Find &amp; Fix Errors' button, and the tool will parse your code and list all errors allowing you to fix them systematically.
99+
</p>
100+
101+
<p class="heading">Benefits of Linting JavaScript</p>
102+
103+
<p>The longer you work on a project, the larger your codebase will become, so by validating your JavaScript code regularly you will be able to:</p>
104+
105+
<ul>
106+
<li>Catch fundamental errors (we all make them!)</li>
107+
<li>Prevents potentially disastrous bugs</li>
108+
<li>Have cleaner, safer and maintainable code</li>
109+
<li>Speed up the code writing process</li>
110+
<li>Save many hours of debugging</li>
111+
</ul>
112+
98113
<p class="heading">Credits</p>
99-
<p>Maintained by Andrey Gubanov. You can download the ValidateJavaScript source code on <a href="" target="_blank" data-ga="sourceLink">GitHub</a>.</p>
114+
115+
<p>
116+
ValidateJavaScript has been built using <a href="https://github.com/eslint/eslint" target="_blank">ESLint</a>, the open-source JavaScript linting utility created by Nicholas C. Zakas, and is being maintained by
117+
<a href="https://github.com/finom/" target="_blank">Andrey Gubanov</a>.
118+
You can download the
119+
<a href="https://github.com/circlecell/validatejavascript.com" target="_blank">ValidateJavaScript source code on GitHub</a>.
120+
</p>
100121
</div>
101122
<div class="ad bottom">
102123
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

0 commit comments

Comments
 (0)