You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuweni.apache.org by to...@apache.org on 2019/07/02 17:44:02 UTC

[incubator-tuweni-website] branch master updated: Overhaul the site to make it less impersonal

This is an automated email from the ASF dual-hosted git repository.

toulmean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni-website.git


The following commit(s) were added to refs/heads/master by this push:
     new f922c0c  Overhaul the site to make it less impersonal
f922c0c is described below

commit f922c0c3fc135f5fe2958af4e5337e6e87c5d9cd
Author: Antoine Toulme <an...@lunar-ocean.com>
AuthorDate: Tue Jul 2 19:43:50 2019 +0200

    Overhaul the site to make it less impersonal
---
 .gitignore                               |   1 +
 _data/project.yml                        |   1 +
 _includes/themes/apache/_navigation.html |  75 ++++++++++++++++---------------
 _includes/themes/apache/default.html     |   3 +-
 _sass/_base.scss                         |   7 ++-
 assets/themes/apache/css/style.css       |   5 +++
 assets/themes/apache/img/body-bg.jpg     | Bin 3188 -> 0 bytes
 assets/themes/apache/img/body-bg.png     | Bin 0 -> 633 bytes
 assets/themes/apache/img/logo.png        | Bin 14497 -> 3127 bytes
 css/main.scss                            |   2 +
 download.md                              |   9 +++-
 index.md                                 |   6 +--
 12 files changed, 64 insertions(+), 45 deletions(-)

diff --git a/.gitignore b/.gitignore
index eabae41..f083a5c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 .idea
 .sass-cache
 target
+.bundle
diff --git a/_data/project.yml b/_data/project.yml
index 7248c7a..e15b172 100644
--- a/_data/project.yml
+++ b/_data/project.yml
@@ -20,6 +20,7 @@ short_name: Tuweni
 unix_name: tuweni
 incubator_name: incubator-tuweni
 incubator_slash_name: incubator/tuweni
+tagline: Jumpstart your next blockchain application
 description: Apache Tuweni is a set of libraries and other tools to aid development of blockchain and other decentralized software in Java and other JVM languages.
 
 download: /download
diff --git a/_includes/themes/apache/_navigation.html b/_includes/themes/apache/_navigation.html
index 830a636..5cc3647 100644
--- a/_includes/themes/apache/_navigation.html
+++ b/_includes/themes/apache/_navigation.html
@@ -1,45 +1,48 @@
-    <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
-      <div class="container">
+<nav class="navbar-inverse">
+    <div class="container-fluid">
+        <!-- Brand and toggle get grouped for better mobile display -->
         <div class="navbar-header">
-          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
-            <span class="sr-only">Toggle navigation</span>
-            <span class="icon-bar"></span>
-            <span class="icon-bar"></span>
-            <span class="icon-bar"></span>
-          </button>
-          <a class="navbar-brand" href="{{ baseurl }}">
-              <img src="/assets/themes/apache/img/logo.png" width="50">
-              {{ site.data.project.name }}
-          </a>
+            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+            <a class="navbar-brand" href="{{ site.baseurl }}">
+                <img src="/assets/themes/apache/img/logo.png" width="30" height="30">
+                {{ site.data.project.name }}
+            </a>
         </div>
-        <nav class="navbar-collapse collapse" role="navigation">
-          <ul class="nav navbar-nav navbar-right">
-            <li id="community">
-              <a href="#" data-toggle="dropdown" class="dropdown-toggle">Community<b class="caret"></b></a>
-               <ul class="dropdown-menu dropdown-left">
-                <li><a href="/community">Get Involved</a></li>
-                <li><a href="/community-members">Who we are</a></li>
-               </ul>
-            </li>
-            <li><a href="{{ site.data.project.source_repository }}">GitHub</a></li>
-            <li id="apache">
-              <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
-               <ul class="dropdown-menu">
-                <li><a href="http://www.apache.org/foundation/how-it-works.html">Apache Software Foundation</a></li>
-                <li><a href="http://www.apache.org/licenses/">Apache License</a></li>
-                <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
-                <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
-                </ul>
-            </li>
-          </ul>
-        </nav><!--/.navbar-collapse -->
-      </div>
-    </div>
+
+        <!-- Collect the nav links, forms, and other content for toggling -->
+        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
+            <ul class="nav navbar-nav navbar-right">
+                <li id="community">
+                    <a href="#" data-toggle="dropdown" class="dropdown-toggle">Community<b class="caret"></b></a>
+                    <ul class="dropdown-menu dropdown-left">
+                        <li><a href="/community">Get Involved</a></li>
+                        <li><a href="/community-members">Who we are</a></li>
+                    </ul>
+                </li>
+                <li><a href="{{ site.data.project.source_repository }}">GitHub</a></li>
+                <li id="apache">
+                    <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
+                    <ul class="dropdown-menu">
+                        <li><a href="http://www.apache.org/foundation/how-it-works.html">Apache Software Foundation</a></li>
+                        <li><a href="http://www.apache.org/licenses/">Apache License</a></li>
+                        <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
+                        <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+                    </ul>
+                </li>
+            </ul>
+        </div><!-- /.navbar-collapse -->
+    </div><!-- /.container-fluid -->
+</nav>
 
 {% if page.title == "Home" %}
 <div class="jumbotron">
   <div class="container">
-    <h1>{{ site.data.project.name }}</h1>
+    <h1>{{ site.data.project.tagline }}</h1>
     <p>{{ site.data.project.description }}</p>
 
     {% if site.data.project.download %}
diff --git a/_includes/themes/apache/default.html b/_includes/themes/apache/default.html
index 7c1ca9e..fb207ce 100644
--- a/_includes/themes/apache/default.html
+++ b/_includes/themes/apache/default.html
@@ -17,6 +17,7 @@
     <!-- Le styles -->
     <link href="{{ ASSET_PATH }}/bootstrap/css/bootstrap.css" rel="stylesheet">
     <link href="{{ ASSET_PATH }}/css/style.css?body=1" rel="stylesheet" type="text/css">
+    <link href="/css/main.css?body=1" rel="stylesheet" type="text/css">
     <link href="{{ ASSET_PATH }}/css/syntax.css" rel="stylesheet"  type="text/css" media="screen" />
     <!-- Le fav and touch icons -->
     <!-- Update these with your own images
@@ -32,7 +33,7 @@
 
     {% include themes/apache/_navigation.html %}
 
-    <div class="container">
+    <div class="container" style="margin-top:10px">
       {{ content }}
       <hr>
       <footer>
diff --git a/_sass/_base.scss b/_sass/_base.scss
index 0883c3c..9e51b5d 100644
--- a/_sass/_base.scss
+++ b/_sass/_base.scss
@@ -16,7 +16,7 @@ dl, dd, ol, ul, figure {
 body {
     font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
     color: $text-color;
-    background-color: $background-color;
+    background: $background;
     -webkit-text-size-adjust: 100%;
     -webkit-font-feature-settings: "kern" 1;
     -moz-font-feature-settings: "kern" 1;
@@ -25,6 +25,10 @@ body {
     font-kerning: normal;
 }
 
+.jumbotron {
+    background: $jumbotron-bg;
+}
+
 
 
 /**
@@ -105,7 +109,6 @@ a {
 }
 
 
-
 /**
  * Blockquotes
  */
diff --git a/assets/themes/apache/css/style.css b/assets/themes/apache/css/style.css
index 92f25bf..39937dd 100644
--- a/assets/themes/apache/css/style.css
+++ b/assets/themes/apache/css/style.css
@@ -73,6 +73,11 @@ body {
 
 .bigFingerButton {
     margin-right: 10px;
+    color: #FFF;
+}
+
+a.bigFingerButton:visited {
+    color: #FFF;
 }
 
 .navbar-inverse .navbar-toggle {
diff --git a/assets/themes/apache/img/body-bg.jpg b/assets/themes/apache/img/body-bg.jpg
deleted file mode 100644
index 0e0f861..0000000
Binary files a/assets/themes/apache/img/body-bg.jpg and /dev/null differ
diff --git a/assets/themes/apache/img/body-bg.png b/assets/themes/apache/img/body-bg.png
new file mode 100644
index 0000000..cfd7911
Binary files /dev/null and b/assets/themes/apache/img/body-bg.png differ
diff --git a/assets/themes/apache/img/logo.png b/assets/themes/apache/img/logo.png
index 3b0cf4d..f6ddbfc 100644
Binary files a/assets/themes/apache/img/logo.png and b/assets/themes/apache/img/logo.png differ
diff --git a/css/main.scss b/css/main.scss
index f2e566e..a8662cc 100644
--- a/css/main.scss
+++ b/css/main.scss
@@ -16,7 +16,9 @@ $spacing-unit:     30px;
 
 $text-color:       #111;
 $background-color: #fdfdfd;
+$background:       url("/assets/themes/apache/img/body-bg.png") repeat $background-color;
 $brand-color:      #2a7ae2;
+$jumbotron-bg:     url("/assets/themes/apache/img/body-bg.png") repeat #106190;
 
 $grey-color:       #828282;
 $grey-color-light: lighten($grey-color, 40%);
diff --git a/download.md b/download.md
index c32c074..3cc3662 100644
--- a/download.md
+++ b/download.md
@@ -1,7 +1,7 @@
 ---
 layout: page
 title: Downloads
-description: Project Downloads page
+description: Apache Tuweni Downloads page
 group: nav-right
 ---
 <!--
@@ -26,7 +26,7 @@ limitations under the License.
 
 ## {{ site.data.project.name }} Downloads
 
-{{ site.data.project.name }} is released as a source artifact, and also through Maven.
+{{ site.data.project.name }} is made available as a distribution and through Maven Central.
 
 ### Release Artifacts
 
@@ -102,3 +102,8 @@ succeed.
 For security, hash and signature files are always hosted at
 [Apache](https://www.apache.org/dist).
 
+### Maven Central
+
+You can download Apache Tuweni dependencies through Maven Central.
+
+*We are still in the process of publishing our bits to Maven Central and will update this page once it is completed.*
\ No newline at end of file
diff --git a/index.md b/index.md
index 0be06be..7a6c952 100644
--- a/index.md
+++ b/index.md
@@ -1,7 +1,7 @@
 ---
 layout: page
 title: Home
-tagline: Apache Project !
+tagline: Apache Tuweni
 ---
 <!--
 {% comment %}
@@ -24,6 +24,4 @@ limitations under the License.
 
 {% include JB/setup %}
 
-## Apache Tuweni
-
-Tuweni is a set of libraries and other tools to aid development of blockchain and other decentralized software in Java and other JVM languages. It includes a low-level bytes library, serialization and deserialization codecs (e.g. RLP), various cryptography functions and primatives, and lots of other helpful utilities. Tuweni is developed for JDK 1.8 or higher, and depends on various other FOSS libraries.
\ No newline at end of file
+Apache Tuweni is a set of libraries and other tools to aid development of blockchain and other decentralized software in Java and other JVM languages. It includes a low-level bytes library, serialization and deserialization codecs (e.g. RLP), various cryptography functions and primatives, and lots of other helpful utilities. Tuweni is developed for JDK 1.8 or higher, and depends on various other FOSS libraries.
\ No newline at end of file


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