cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nikhi...@apache.org
Subject cordova-registry-web git commit: CB-9229 Add basic SEO and Google analytics to plugin search. This closes #21
Date Wed, 24 Jun 2015 23:48:43 GMT
Repository: cordova-registry-web
Updated Branches:
  refs/heads/master 786d638cc -> 4ac9bf68c


CB-9229 Add basic SEO and Google analytics to plugin search. This closes #21


Project: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/commit/4ac9bf68
Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/4ac9bf68
Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/4ac9bf68

Branch: refs/heads/master
Commit: 4ac9bf68cac096f574b9275c9ad2eb276581df6f
Parents: 786d638
Author: Raghav Katyal <rakatyal@microsoft.com>
Authored: Mon Jun 22 11:08:33 2015 -0700
Committer: Nikhil Khandelwal <nikhilkh@microsoft.com>
Committed: Wed Jun 24 16:46:54 2015 -0700

----------------------------------------------------------------------
 npm-search/Gulpfile.js                          |   3 +-
 npm-search/assets/css/base.css                  |   5 ---
 .../assets/img/android-chrome-144x144.png       | Bin 0 -> 11173 bytes
 .../assets/img/android-chrome-192x192.png       | Bin 0 -> 15781 bytes
 npm-search/assets/img/android-chrome-36x36.png  | Bin 0 -> 2380 bytes
 npm-search/assets/img/android-chrome-48x48.png  | Bin 0 -> 3264 bytes
 npm-search/assets/img/android-chrome-72x72.png  | Bin 0 -> 5139 bytes
 npm-search/assets/img/android-chrome-96x96.png  | Bin 0 -> 7089 bytes
 .../assets/img/apple-touch-icon-114x114.png     | Bin 0 -> 8592 bytes
 .../assets/img/apple-touch-icon-120x120.png     | Bin 0 -> 9021 bytes
 .../assets/img/apple-touch-icon-144x144.png     | Bin 0 -> 11173 bytes
 .../assets/img/apple-touch-icon-152x152.png     | Bin 0 -> 11920 bytes
 .../assets/img/apple-touch-icon-180x180.png     | Bin 0 -> 14535 bytes
 .../assets/img/apple-touch-icon-57x57.png       | Bin 0 -> 3950 bytes
 .../assets/img/apple-touch-icon-60x60.png       | Bin 0 -> 4157 bytes
 .../assets/img/apple-touch-icon-72x72.png       | Bin 0 -> 5139 bytes
 .../assets/img/apple-touch-icon-76x76.png       | Bin 0 -> 5370 bytes
 .../assets/img/apple-touch-icon-precomposed.png | Bin 0 -> 14109 bytes
 npm-search/assets/img/apple-touch-icon.png      | Bin 0 -> 14535 bytes
 npm-search/assets/img/browserconfig.xml         |  12 ++++++
 npm-search/assets/img/favicon-16x16.png         | Bin 0 -> 1401 bytes
 npm-search/assets/img/favicon-32x32.png         | Bin 0 -> 2076 bytes
 npm-search/assets/img/favicon-96x96.png         | Bin 0 -> 7089 bytes
 npm-search/assets/img/favicon.ico               | Bin 0 -> 15086 bytes
 npm-search/assets/img/manifest.json             |  41 +++++++++++++++++++
 npm-search/assets/img/mstile-144x144.png        | Bin 0 -> 10873 bytes
 npm-search/assets/img/mstile-150x150.png        | Bin 0 -> 10291 bytes
 npm-search/assets/img/mstile-310x150.png        | Bin 0 -> 11077 bytes
 npm-search/assets/img/mstile-310x310.png        | Bin 0 -> 24984 bytes
 npm-search/assets/img/mstile-70x70.png          | Bin 0 -> 6957 bytes
 npm-search/assets/js/app.js                     |   4 +-
 npm-search/index.html                           |  29 +++++++++++++
 32 files changed, 86 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/Gulpfile.js
----------------------------------------------------------------------
diff --git a/npm-search/Gulpfile.js b/npm-search/Gulpfile.js
index cdfc176..33c7888 100644
--- a/npm-search/Gulpfile.js
+++ b/npm-search/Gulpfile.js
@@ -5,6 +5,7 @@ var gulp       = require('gulp'),
     buffer     = require('vinyl-buffer'),
     source     = require('vinyl-source-stream'),
     browserify = require('browserify'),
+    argv       = require('yargs').argv,
     reactify   = require('reactify');
 
 gulp.task('styles', function () {
@@ -15,7 +16,7 @@ gulp.task('styles', function () {
 });
 
 gulp.task('scripts', function () {
-    browserify('./assets/js/app.js', { debug: true })
+    browserify('./assets/js/app.js', { debug: argv.debug ? true : false })
         .transform(reactify)
         .bundle()
         .on('error', gutil.log)

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/css/base.css
----------------------------------------------------------------------
diff --git a/npm-search/assets/css/base.css b/npm-search/assets/css/base.css
index 169cde1..d9eb472 100644
--- a/npm-search/assets/css/base.css
+++ b/npm-search/assets/css/base.css
@@ -1,15 +1,10 @@
 
-h1 {
-  text-align: center;
-}
-
 body { 
   font-family: 'Segoe UI', tahoma, arial, helvetica, sans-serif; 
   font-size: 16px; 
   margin: 0; 
 } 
 
-
 /*---------------------------------------------------
     Pluggy and msg
 ---------------------------------------------------*/

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/android-chrome-144x144.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/android-chrome-144x144.png b/npm-search/assets/img/android-chrome-144x144.png
new file mode 100644
index 0000000..70826eb
Binary files /dev/null and b/npm-search/assets/img/android-chrome-144x144.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/android-chrome-192x192.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/android-chrome-192x192.png b/npm-search/assets/img/android-chrome-192x192.png
new file mode 100644
index 0000000..728f217
Binary files /dev/null and b/npm-search/assets/img/android-chrome-192x192.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/android-chrome-36x36.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/android-chrome-36x36.png b/npm-search/assets/img/android-chrome-36x36.png
new file mode 100644
index 0000000..277efed
Binary files /dev/null and b/npm-search/assets/img/android-chrome-36x36.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/android-chrome-48x48.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/android-chrome-48x48.png b/npm-search/assets/img/android-chrome-48x48.png
new file mode 100644
index 0000000..3a84506
Binary files /dev/null and b/npm-search/assets/img/android-chrome-48x48.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/android-chrome-72x72.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/android-chrome-72x72.png b/npm-search/assets/img/android-chrome-72x72.png
new file mode 100644
index 0000000..bc6a1fb
Binary files /dev/null and b/npm-search/assets/img/android-chrome-72x72.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/android-chrome-96x96.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/android-chrome-96x96.png b/npm-search/assets/img/android-chrome-96x96.png
new file mode 100644
index 0000000..961d0b4
Binary files /dev/null and b/npm-search/assets/img/android-chrome-96x96.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/apple-touch-icon-114x114.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/apple-touch-icon-114x114.png b/npm-search/assets/img/apple-touch-icon-114x114.png
new file mode 100644
index 0000000..68a5502
Binary files /dev/null and b/npm-search/assets/img/apple-touch-icon-114x114.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/apple-touch-icon-120x120.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/apple-touch-icon-120x120.png b/npm-search/assets/img/apple-touch-icon-120x120.png
new file mode 100644
index 0000000..85a0369
Binary files /dev/null and b/npm-search/assets/img/apple-touch-icon-120x120.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/apple-touch-icon-144x144.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/apple-touch-icon-144x144.png b/npm-search/assets/img/apple-touch-icon-144x144.png
new file mode 100644
index 0000000..70826eb
Binary files /dev/null and b/npm-search/assets/img/apple-touch-icon-144x144.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/apple-touch-icon-152x152.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/apple-touch-icon-152x152.png b/npm-search/assets/img/apple-touch-icon-152x152.png
new file mode 100644
index 0000000..92034ec
Binary files /dev/null and b/npm-search/assets/img/apple-touch-icon-152x152.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/apple-touch-icon-180x180.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/apple-touch-icon-180x180.png b/npm-search/assets/img/apple-touch-icon-180x180.png
new file mode 100644
index 0000000..90032cf
Binary files /dev/null and b/npm-search/assets/img/apple-touch-icon-180x180.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/apple-touch-icon-57x57.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/apple-touch-icon-57x57.png b/npm-search/assets/img/apple-touch-icon-57x57.png
new file mode 100644
index 0000000..e2f87c3
Binary files /dev/null and b/npm-search/assets/img/apple-touch-icon-57x57.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/apple-touch-icon-60x60.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/apple-touch-icon-60x60.png b/npm-search/assets/img/apple-touch-icon-60x60.png
new file mode 100644
index 0000000..1055d9f
Binary files /dev/null and b/npm-search/assets/img/apple-touch-icon-60x60.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/apple-touch-icon-72x72.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/apple-touch-icon-72x72.png b/npm-search/assets/img/apple-touch-icon-72x72.png
new file mode 100644
index 0000000..bc6a1fb
Binary files /dev/null and b/npm-search/assets/img/apple-touch-icon-72x72.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/apple-touch-icon-76x76.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/apple-touch-icon-76x76.png b/npm-search/assets/img/apple-touch-icon-76x76.png
new file mode 100644
index 0000000..8404b3c
Binary files /dev/null and b/npm-search/assets/img/apple-touch-icon-76x76.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/apple-touch-icon-precomposed.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/apple-touch-icon-precomposed.png b/npm-search/assets/img/apple-touch-icon-precomposed.png
new file mode 100644
index 0000000..4663c60
Binary files /dev/null and b/npm-search/assets/img/apple-touch-icon-precomposed.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/apple-touch-icon.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/apple-touch-icon.png b/npm-search/assets/img/apple-touch-icon.png
new file mode 100644
index 0000000..90032cf
Binary files /dev/null and b/npm-search/assets/img/apple-touch-icon.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/browserconfig.xml
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/browserconfig.xml b/npm-search/assets/img/browserconfig.xml
new file mode 100644
index 0000000..e31b3f1
--- /dev/null
+++ b/npm-search/assets/img/browserconfig.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<browserconfig>
+  <msapplication>
+    <tile>
+      <square70x70logo src="/assets/img/mstile-70x70.png"/>
+      <square150x150logo src="/assets/img/mstile-150x150.png"/>
+      <square310x310logo src="/assets/img/mstile-310x310.png"/>
+      <wide310x150logo src="/assets/img/mstile-310x150.png"/>
+      <TileColor>#da532c</TileColor>
+    </tile>
+  </msapplication>
+</browserconfig>

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/favicon-16x16.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/favicon-16x16.png b/npm-search/assets/img/favicon-16x16.png
new file mode 100644
index 0000000..f7667c5
Binary files /dev/null and b/npm-search/assets/img/favicon-16x16.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/favicon-32x32.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/favicon-32x32.png b/npm-search/assets/img/favicon-32x32.png
new file mode 100644
index 0000000..249dbc1
Binary files /dev/null and b/npm-search/assets/img/favicon-32x32.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/favicon-96x96.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/favicon-96x96.png b/npm-search/assets/img/favicon-96x96.png
new file mode 100644
index 0000000..961d0b4
Binary files /dev/null and b/npm-search/assets/img/favicon-96x96.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/favicon.ico
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/favicon.ico b/npm-search/assets/img/favicon.ico
new file mode 100644
index 0000000..365e772
Binary files /dev/null and b/npm-search/assets/img/favicon.ico differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/manifest.json
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/manifest.json b/npm-search/assets/img/manifest.json
new file mode 100644
index 0000000..6a74e8f
--- /dev/null
+++ b/npm-search/assets/img/manifest.json
@@ -0,0 +1,41 @@
+{
+	"name": "My app",
+	"icons": [
+		{
+			"src": "\/assets\/img\/android-chrome-36x36.png",
+			"sizes": "36x36",
+			"type": "image\/png",
+			"density": "0.75"
+		},
+		{
+			"src": "\/assets\/img\/android-chrome-48x48.png",
+			"sizes": "48x48",
+			"type": "image\/png",
+			"density": "1.0"
+		},
+		{
+			"src": "\/assets\/img\/android-chrome-72x72.png",
+			"sizes": "72x72",
+			"type": "image\/png",
+			"density": "1.5"
+		},
+		{
+			"src": "\/assets\/img\/android-chrome-96x96.png",
+			"sizes": "96x96",
+			"type": "image\/png",
+			"density": "2.0"
+		},
+		{
+			"src": "\/assets\/img\/android-chrome-144x144.png",
+			"sizes": "144x144",
+			"type": "image\/png",
+			"density": "3.0"
+		},
+		{
+			"src": "\/assets\/img\/android-chrome-192x192.png",
+			"sizes": "192x192",
+			"type": "image\/png",
+			"density": "4.0"
+		}
+	]
+}

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/mstile-144x144.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/mstile-144x144.png b/npm-search/assets/img/mstile-144x144.png
new file mode 100644
index 0000000..d648b83
Binary files /dev/null and b/npm-search/assets/img/mstile-144x144.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/mstile-150x150.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/mstile-150x150.png b/npm-search/assets/img/mstile-150x150.png
new file mode 100644
index 0000000..3e2de8a
Binary files /dev/null and b/npm-search/assets/img/mstile-150x150.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/mstile-310x150.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/mstile-310x150.png b/npm-search/assets/img/mstile-310x150.png
new file mode 100644
index 0000000..636fa5e
Binary files /dev/null and b/npm-search/assets/img/mstile-310x150.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/mstile-310x310.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/mstile-310x310.png b/npm-search/assets/img/mstile-310x310.png
new file mode 100644
index 0000000..17bc907
Binary files /dev/null and b/npm-search/assets/img/mstile-310x310.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/img/mstile-70x70.png
----------------------------------------------------------------------
diff --git a/npm-search/assets/img/mstile-70x70.png b/npm-search/assets/img/mstile-70x70.png
new file mode 100644
index 0000000..6b4314f
Binary files /dev/null and b/npm-search/assets/img/mstile-70x70.png differ

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/assets/js/app.js
----------------------------------------------------------------------
diff --git a/npm-search/assets/js/app.js b/npm-search/assets/js/app.js
index 4013a25..1d5aab2 100644
--- a/npm-search/assets/js/app.js
+++ b/npm-search/assets/js/app.js
@@ -369,9 +369,9 @@ var App = React.createClass({
                                 <div id="pluggy"></div>
                             </div>
                             <div className="col-xs-9">
-                                <p className="discover-message">Search Cordova</p>
+                                <h1><p className="discover-message">Search Cordova</p></h1>
                                 <br/>
-                                <p className="discover-message">Plugins</p>
+                                <h1><p className="discover-message">Plugins</p></h1>
                             </div>
                         </div>
                     </div>

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4ac9bf68/npm-search/index.html
----------------------------------------------------------------------
diff --git a/npm-search/index.html b/npm-search/index.html
index 7469171..56b44ba 100644
--- a/npm-search/index.html
+++ b/npm-search/index.html
@@ -2,8 +2,28 @@
 <html>
   <head>
     <meta http-equiv='Content-type' content='text/html; charset=utf-8'>
+    <meta name='description' content='This website is to search the apache cordova plugins
from npm. The plugins can be searched across titles, descriptions, authors, platforms and
licenses. You can also view the download counts for each plugin. The page also displays platforms
supported, version and last updated day for the cordova plugins.'>
     <title>Cordova Search Website</title>
     <link rel="stylesheet" href="build/styles.css" />
+    <link rel="apple-touch-icon" sizes="57x57" href="/assets/img/apple-touch-icon-57x57.png">
+    <link rel="apple-touch-icon" sizes="60x60" href="/assets/img/apple-touch-icon-60x60.png">
+    <link rel="apple-touch-icon" sizes="72x72" href="/assets/img/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="76x76" href="/assets/img/apple-touch-icon-76x76.png">
+    <link rel="apple-touch-icon" sizes="114x114" href="/assets/img/apple-touch-icon-114x114.png">
+    <link rel="apple-touch-icon" sizes="120x120" href="/assets/img/apple-touch-icon-120x120.png">
+    <link rel="apple-touch-icon" sizes="144x144" href="/assets/img/apple-touch-icon-144x144.png">
+    <link rel="apple-touch-icon" sizes="152x152" href="/assets/img/apple-touch-icon-152x152.png">
+    <link rel="apple-touch-icon" sizes="180x180" href="/assets/img/apple-touch-icon-180x180.png">
+    <link rel="icon" type="image/png" href="/assets/img/favicon-32x32.png" sizes="32x32">
+    <link rel="icon" type="image/png" href="/assets/img/android-chrome-192x192.png" sizes="192x192">
+    <link rel="icon" type="image/png" href="/assets/img/favicon-96x96.png" sizes="96x96">
+    <link rel="icon" type="image/png" href="/assets/img/favicon-16x16.png" sizes="16x16">
+    <link rel="manifest" href="/assets/img/manifest.json">
+    <link rel="shortcut icon" href="/assets/img/favicon.ico">
+    <meta name="msapplication-TileColor" content="#da532c">
+    <meta name="msapplication-TileImage" content="/assets/img/mstile-144x144.png">
+    <meta name="msapplication-config" content="/assets/img/browserconfig.xml">
+    <meta name="theme-color" content="#ffffff">
   </head>
 
   <body>
@@ -28,6 +48,15 @@
     <div class="header-placeholder"></div>
     <div id="container"></div>
     <script src="build/app.js"></script>
+    <script>
+      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+      ga('create', 'UA-64283057-2', 'auto');
+      ga('send', 'pageview');
+    </script>
     <script>App.start();</script>
   </body>
 </html>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message