You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apex.apache.org by an...@apache.org on 2015/09/25 16:06:49 UTC

incubator-apex-site git commit: added logo, images folder, gulp task for images

Repository: incubator-apex-site
Updated Branches:
  refs/heads/master ca6e5d062 -> 32d3076ae


added logo, images folder, gulp task for images


Project: http://git-wip-us.apache.org/repos/asf/incubator-apex-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-apex-site/commit/32d3076a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-site/tree/32d3076a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-site/diff/32d3076a

Branch: refs/heads/master
Commit: 32d3076ae3fa0de102f7b0d2b12e911c823686a2
Parents: ca6e5d0
Author: Andy Perlitch <an...@datatorrent.com>
Authored: Fri Sep 25 07:06:43 2015 -0700
Committer: Andy Perlitch <an...@datatorrent.com>
Committed: Fri Sep 25 07:06:43 2015 -0700

----------------------------------------------------------------------
 gulpfile.js                    |  8 +++++++-
 src/images/apex-logo.svg       | 23 +++++++++++++++++++++++
 src/less/header.less           |  5 +++++
 src/less/index.less            | 16 ++++++++++++++++
 src/pages/index.html           | 19 +++++++++++++------
 src/partials/header.handlebars |  6 +++++-
 6 files changed, 69 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-apex-site/blob/32d3076a/gulpfile.js
----------------------------------------------------------------------
diff --git a/gulpfile.js b/gulpfile.js
index f7f4197..cd10344 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -60,8 +60,14 @@ gulp.task('copy:js', function() {
     .pipe(gulp.dest(path.join(BUILD_LOCATION, 'js')));
 });
 
+// Copies images to dist
+gulp.task('copy:images', function() {
+  return gulp.src(['./src/images/*'])
+    .pipe(gulp.dest(path.join(BUILD_LOCATION, 'images')));
+});
+
 // Default task is to build the site
-gulp.task('default', ['less', 'html', 'copy:js']);
+gulp.task('default', ['less', 'html', 'copy:js', 'copy:images']);
 
 // Watch for changes
 gulp.task('watch', function() {

http://git-wip-us.apache.org/repos/asf/incubator-apex-site/blob/32d3076a/src/images/apex-logo.svg
----------------------------------------------------------------------
diff --git a/src/images/apex-logo.svg b/src/images/apex-logo.svg
new file mode 100644
index 0000000..8cbb7f1
--- /dev/null
+++ b/src/images/apex-logo.svg
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+	 viewBox="0 0 140.5 122.3" enable-background="new 0 0 140.5 122.3" xml:space="preserve">
+<g>
+	<path fill="#FFFFFF" d="M58.5,18.9c-2.2-2-14.3-11.7-18.4-15.4c-5.8-5.2-9-4.8-15.4,3c-4.4,5.3-12.4,15.9-13.4,17.8
+		c-1,1.9,1.2,7.2,1.2,7.2s-4.2,4.2-6,5.6c-1.8,1.4,0.7,3.7,0.7,3.7S5.3,42,3.2,44.1c-2.3,2.3-3.9,4.2-2.9,7.1c1,2.9,3.2,5,5.6,3.9
+		c2.4-1.2,8.9-6.3,8.9-6.3l2.9-5.3L17,50.1c0,0-7.9,6.3-9.8,7.2c-1.9,0.9-2.9-0.4-3.4,1.1C3.3,60,5.6,60,7.7,61.5
+		c2.8,2,5,3.8,11,2.4c6-1.4,10.6-4.2,13.2-8.1C34.8,51.2,51.4,28.3,58.5,18.9"/>
+	<path fill="#FFFFFF" d="M67.8,115.3c0.2-1.4,0.9-4.9,1.8-8.2c1-3.6,4.9-10.8,4.9-10.8s-5.9-1.3-10.3-3.2c-4.7-2-8.4-4.3-8.4-4.3
+		c-2.8,5.7-6.2,14.3-6.9,19.5c-0.7,4.7-0.7,9.8-0.7,11.5c0,2.9,19,2.7,22.5,2.4c4.6-0.3,4.2-1.6,3.2-5c-0.5-1.8-0.8-2.9-2.1-2.9
+		c-1.3,0-2.3,0-2.4,1.2c0,0.6-0.3,0.9-1,0.8C67.7,116,67.7,115.8,67.8,115.3"/>
+	<path fill="#FFFFFF" d="M90.4,98.2c1.4,5.5,2.9,16.2,0.8,16.5c-5.8,0.8-7.1,6.5-4.2,6.5c2.9,0,12.7,0.5,16.3,0.1
+		c3.6-0.4,2.6-5.2,5-7.2c1.4-1.2,0.6-9.9-0.9-15.2c0,0-2.6,0.2-8.4,0C92.6,98.6,90.4,98.2,90.4,98.2"/>
+	<path fill="#FFFFFF" d="M66.7,20.7l0.7,10.5l8.3-9.2l7.5,8.8l1.6-9.7l7.3,3.1c-4.5-4.9-8.1-8.6-9.5-9.9C76.4,8.7,72.3,8,68.3,11.7
+		c-1.8,1.7-6.6,7.4-12.5,15.3L66.7,20.7z"/>
+	<path fill="#FFFFFF" d="M135.5,84.8c-2.6-10.4-5-21-12.6-27c-4.4-4.8-17.3-19.1-27.4-30.1l-9.1-3.9l-1.9,11.5L75.7,25l-9.9,11
+		l-0.8-12l-12.2,7.1c-4.4,5.9-9.2,12.6-14,19.6C29.4,64.5,19.8,80.6,14,91.8c-5.8,11.2-4.9,23-4.9,26.8c0,3.7,21.5,3,26.1,2.8
+		c5.1-0.4,4.6-1.5,3.5-5.3c-0.6-2-1-3.1-2.5-3.1c-1.5,0-2.5,0.2-2.6,1.2c0,0.6-0.2,0.9-1.1,0.8c-0.9-0.1-1.1-0.5-1-1.1
+		c0,0,0.5-2.8,1.5-5s2.9-5,5.2-7.7c2.4-2.7,9-9.6,9-9.6l16.2-26.8l-8.6,20.2c0,0,9.5,7.4,24.8,9.7c18.8,2.8,28.9,1.9,28.9,1.9
+		l-7.2-22.7c0,0,21.1,41,15.3,41.2c-5.8,0.2-7.1,6.5-4.2,6.5c2.9,0,16.8,0.4,20.4,0c3.6-0.4,4-7,6.7-10.3S138.1,95.3,135.5,84.8"/>
+</g>
+</svg>

http://git-wip-us.apache.org/repos/asf/incubator-apex-site/blob/32d3076a/src/less/header.less
----------------------------------------------------------------------
diff --git a/src/less/header.less b/src/less/header.less
index cadab2f..955eeae 100644
--- a/src/less/header.less
+++ b/src/less/header.less
@@ -17,6 +17,11 @@
       font-weight: normal;
       color: rgba(255,255,255,0.5);
     }
+    .logo {
+      height: 1em;
+      float: left;
+      margin-right: 5px;
+    }
   }
   ul {
     margin-top: 6px;

http://git-wip-us.apache.org/repos/asf/incubator-apex-site/blob/32d3076a/src/less/index.less
----------------------------------------------------------------------
diff --git a/src/less/index.less b/src/less/index.less
index 2982058..438ba3c 100644
--- a/src/less/index.less
+++ b/src/less/index.less
@@ -5,4 +5,20 @@
   h1 small {
     color: rgba(255,255,255,0.5);
   }
+  
+  .text-ctnr {
+    h1 {
+      margin-top: 0;
+    }
+  }
+  .logo-ctnr {
+    text-align: center;
+    .logo {
+      width: 100%;
+      max-width: 200px;
+      margin-right: 10px;
+    }
+  }
+
+  
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-apex-site/blob/32d3076a/src/pages/index.html
----------------------------------------------------------------------
diff --git a/src/pages/index.html b/src/pages/index.html
index 0210173..ae20029 100644
--- a/src/pages/index.html
+++ b/src/pages/index.html
@@ -3,12 +3,19 @@
 <!-- Main jumbotron for a primary marketing message or call to action -->
 <div class="jumbotron">
   <div class="container">
-    <h1>Apache Apex</h1>
-    <p>Industry’s only open source, enterprise-grade unified stream and batch processing engine.</p>
-    <p>
-      <a class="btn btn-info btn-lg" href="http://incubator.apache.org/projects/apex.html" role="button">Incubation Status Page</a>
-      <a class="btn btn-info btn-lg" href="https://github.com/apache/incubator-apex-core" role="button">Github</a>
-    </p>
+    <div class="row">
+      <div class="logo-ctnr col-md-3">
+        <img src="images/apex-logo.svg" class="logo" alt="Apache Apex Logo">
+      </div>
+      <div class="text-ctnr col-md-9">
+        <h1>Apache Apex</h1>
+        <p>Industry’s only open source, enterprise-grade unified stream and batch processing engine.</p>
+        <p>
+          <a class="btn btn-info btn-lg" href="http://incubator.apache.org/projects/apex.html" role="button">Incubation Status Page</a>
+          <a class="btn btn-info btn-lg" href="https://github.com/apache/incubator-apex-core" role="button">Github</a>
+        </p>
+      </div>
+    </div>
   </div>
 </div>
 

http://git-wip-us.apache.org/repos/asf/incubator-apex-site/blob/32d3076a/src/partials/header.handlebars
----------------------------------------------------------------------
diff --git a/src/partials/header.handlebars b/src/partials/header.handlebars
index bf73859..bca7405 100644
--- a/src/partials/header.handlebars
+++ b/src/partials/header.handlebars
@@ -18,7 +18,11 @@
   <body>
     <nav class="navbar navbar-static-top" id="main-nav">
       <div class="container">
-        <a class="navbar-brand" href="/">Apache Apex <small>(incubating)</small></a>
+        <a class="navbar-brand" href="/">
+          <img src="images/apex-logo.svg" class="logo" alt="Apache Apex Logo">
+          Apache Apex
+          <small>(incubating)</small>
+        </a>
         <ul class="nav nav-pills navbar-right">
           {{#each nav}}
           {{#if items}}