Skip to content

Commit

Permalink
fix: Add icons and ads
Browse files Browse the repository at this point in the history
  • Loading branch information
finom committed Jun 23, 2017
1 parent 3916c72 commit 976053a
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 5 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/frontend/icons/apple-touch-icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/frontend/icons/favicon-16x16.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/frontend/icons/favicon-32x32.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/frontend/icons/favicon.ico
Binary file not shown.
Binary file added packages/frontend/icons/icon-hires.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 35 additions & 3 deletions packages/frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,22 @@
<html>
<head>
<meta charset="utf-8">
<title>ECMAScript Lint</title>
<title>ValidateJavaScript - Online Tool to Find &amp; Fix JavaScript Errors</title>
<meta name="description" content="ValidateJavaScript is an online validating (or linting) tool that will automatically find basic errors and help prevent potentially destructive bugs in JavaScript code.">
<meta name="robots" content="index">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="twitter:card" value="summary">
<meta property="og:title" content="ValidateJavaScript - Online Tool to Find & Fix JavaScript Errors">
<meta property="og:type" content="website">
<meta property="og:url" content="https://validatejavascript.com">
<meta property="og:description" content="ValidateJavaScript is an online validating (or linting) tool that will automatically find basic errors and help prevent potentially destructive bugs in JavaScript code.">
<link rel="shortcut icon" href="icons/favicon.ico">
<link href="icons/apple-touch-icon.png" rel="apple-touch-icon" />
<link href="icons/apple-touch-icon-152x152.png" rel="apple-touch-icon" sizes="152x152" />
<link href="icons/apple-touch-icon-167x167.png" rel="apple-touch-icon" sizes="167x167" />
<link href="icons/apple-touch-icon-180x180.png" rel="apple-touch-icon" sizes="180x180" />
<link href="icons/icon-hires.png" rel="icon" sizes="192x192" />
<link href="icons/apple-touch-icon-128x128.png" rel="icon" sizes="128x128" />
</head>
<body>
<header>
Expand All @@ -29,7 +44,15 @@ <h1>ValidateJavaScript <span class="sub-title">- Find &amp; Fix JavaScript Error
</header>
<div class="container">
<div class="ad top">
<a href="#"><img src="https://1stwebdesigner.com/wp-content/uploads/2017/04/adobe-ad.jpg" width="728" height="90"></a>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- ValidateJavaScript Header -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-8400268452481648"
data-ad-slot="8482992595"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<form id="main">
<textarea id="code" name="code"></textarea>
Expand Down Expand Up @@ -76,7 +99,16 @@ <h1>ValidateJavaScript <span class="sub-title">- Find &amp; Fix JavaScript Error
<p>Maintained by Andrey Gubanov. You can download the ValidateJavaScript source code on <a href="" target="_blank" data-ga="sourceLink">GitHub</a>.</p>
</div>
<div class="ad bottom">
<a href="#"><img src="https://1stwebdesigner.com/wp-content/uploads/2017/04/adobe-ad.jpg" width="728" height="90"></a>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- ValidateJavaScript Responsive Footer -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-8400268452481648"
data-ad-slot="9959725792"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
<footer> © 2017 ValidateJavaScript.com</footer>
Expand Down
1 change: 0 additions & 1 deletion webpack/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ if (isDevelopment) {

entry.app.push(
'./packages/frontend/css/style.css',
// 'babel-polyfill',
'./packages/frontend/index'
);

Expand Down
5 changes: 4 additions & 1 deletion webpack/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ if (isDevelopment) {
}

plugins.push(
new CopyWebpackPlugin([])
new CopyWebpackPlugin([{
from: './packages/frontend/icons',
to: './icons'
}])
);

module.exports = plugins;

0 comments on commit 976053a

Please sign in to comment.