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
commit 90bb9a5805185fb49ac9418438af950d141d87f6 Author: Antoine Toulme <anto...@lunar-ocean.com> AuthorDate: Tue Sep 15 23:42:53 2020 -0700 Add logo --- _includes/themes/apache/_navigation.html | 4 +- _includes/themes/apache/default.html | 4 ++ _includes/themes/apache/logo.html | 1 + assets/themes/apache/css/style.css | 15 ++++ assets/themes/apache/fonts/Montserrat-Bold.ttf | Bin 0 -> 244468 bytes assets/themes/apache/fonts/Montserrat-Light.ttf | Bin 0 -> 242068 bytes assets/themes/apache/fonts/Montserrat-Regular.ttf | Bin 0 -> 245708 bytes assets/themes/apache/img/tuweni.svg | 79 ++++++++++++++++++++++ assets/themes/apache/img/tuweni_face.ico | Bin 0 -> 4286 bytes assets/themes/apache/img/tuweni_face.svg | 58 ++++++++++++++++ index.md | 1 + 11 files changed, 160 insertions(+), 2 deletions(-) diff --git a/_includes/themes/apache/_navigation.html b/_includes/themes/apache/_navigation.html index 734c89a..3c6e8fb 100644 --- a/_includes/themes/apache/_navigation.html +++ b/_includes/themes/apache/_navigation.html @@ -8,8 +8,8 @@ <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"> + <a class="navbar-brand" href="{{ site.baseurl }}" style="font-family: 'Montserrat Light'"> + <img src="/assets/themes/apache/img/tuweni_face.svg" width="25" height="25"> {{ site.data.project.name }} </a> </div> diff --git a/_includes/themes/apache/default.html b/_includes/themes/apache/default.html index fb207ce..d923cfe 100644 --- a/_includes/themes/apache/default.html +++ b/_includes/themes/apache/default.html @@ -3,7 +3,11 @@ <head> <meta charset="utf-8"> <title>{{ page.title }}</title> + <link rel="icon" + type="image/ico" + href="{{ ASSET_PATH }}/img/tuweni_face.ico"> {% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %} + <meta name="author" content="{{ site.author.name }}"> <!-- Enable responsive viewport --> diff --git a/_includes/themes/apache/logo.html b/_includes/themes/apache/logo.html new file mode 100644 index 0000000..22c31d6 --- /dev/null +++ b/_includes/themes/apache/logo.html @@ -0,0 +1 @@ +<div class="jumbotron" style="background:no-repeat url('/assets/themes/apache/img/tuweni.svg');background-size: 100% 100%;height:300px"></div> \ No newline at end of file diff --git a/assets/themes/apache/css/style.css b/assets/themes/apache/css/style.css index 39937dd..318b2a8 100644 --- a/assets/themes/apache/css/style.css +++ b/assets/themes/apache/css/style.css @@ -355,3 +355,18 @@ and (max-width : 1024px) { padding-right: 0; } } + +@font-face { + font-family: 'Montserrat Regular'; + src: url('/assets/themes/apache/fonts/Montserrat-Regular.ttf') format('truetype'); +} + +@font-face { + font-family: 'Montserrat Bold'; + src: url('/assets/themes/apache/fonts/Montserrat-Bold.ttf') format('truetype'); +} + +@font-face { + font-family: 'Montserrat Light'; + src: url('/assets/themes/apache/fonts/Montserrat-Light.ttf') format('truetype'); +} \ No newline at end of file diff --git a/assets/themes/apache/fonts/Montserrat-Bold.ttf b/assets/themes/apache/fonts/Montserrat-Bold.ttf new file mode 100755 index 0000000..221819b Binary files /dev/null and b/assets/themes/apache/fonts/Montserrat-Bold.ttf differ diff --git a/assets/themes/apache/fonts/Montserrat-Light.ttf b/assets/themes/apache/fonts/Montserrat-Light.ttf new file mode 100755 index 0000000..990857d Binary files /dev/null and b/assets/themes/apache/fonts/Montserrat-Light.ttf differ diff --git a/assets/themes/apache/fonts/Montserrat-Regular.ttf b/assets/themes/apache/fonts/Montserrat-Regular.ttf new file mode 100755 index 0000000..8d443d5 Binary files /dev/null and b/assets/themes/apache/fonts/Montserrat-Regular.ttf differ diff --git a/assets/themes/apache/img/tuweni.svg b/assets/themes/apache/img/tuweni.svg new file mode 100644 index 0000000..9d454f8 --- /dev/null +++ b/assets/themes/apache/img/tuweni.svg @@ -0,0 +1,79 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<svg version="1.1" id="Capa_1" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 230 200" preserveAspectRatio="xMidYMid meet" xml:space="preserve"> + <defs> + <linearGradient id="feather" x1="30%" y1="5%" x2="30%" y2="100%"> + <stop offset="5%" stop-color="#F79A25" /> + <stop offset="10%" stop-color="#EA7826"/> + <stop offset="40%" stop-color="#CB2138"/> + <stop offset="60%" stop-color="#9E2165"/> + <stop offset="80%" stop-color="#662F8F" /> + <stop offset="95%" stop-color="#282661" /> + </linearGradient> + <pattern id="never" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse"> + <rect x="0" y="0" width="5" height="5" fill="#cccccc"> + <animate attributeName="fill" values="#ccc;#fff;#ccc" dur="60s" repeatCount="indefinite" /> + </rect> + <rect x="0" y="5" width="5" height="5" fill="#FFFFFF"> + <animate attributeName="fill" values="#fff;#ccc;#fff" dur="60s" repeatCount="indefinite" /> + </rect> + <rect x="5" y="0" width="5" height="5" fill="#FFFFFF"> + <animate attributeName="fill" values="#fff;#ccc;#fff" dur="60s" repeatCount="indefinite" /> + </rect> + <rect x="5" y="5" width="5" height="5" fill="#cccccc"> + <animate attributeName="fill" values="#ccc;#fff;#ccc" dur="60s" repeatCount="indefinite" /> + </rect> + </pattern> + <pattern id="neverever" x="0" y="0" width="4" height="4" patternUnits="userSpaceOnUse"> + <rect x="0" y="0" width="4" height="4" fill="#FFFFFF" /> + <rect x="0" y="0" width="2" height="2" fill="#FFFFFF" /> + <rect x="0" y="2" width="2" height="2" fill="#6D6E71"> + <animate attributeName="fill" values="#6D6E71;#fff;#6D6E71" dur="10s" repeatCount="indefinite" /> + </rect> + <rect x="2" y="0" width="2" height="2" fill="#6D6E71"> + <animate attributeName="fill" values="#6D6E71;#fff;#6D6E71" dur="10s" repeatCount="indefinite" /> + </rect> + <rect x="2" y="2" width="2" height="2" fill="#FFFFFF" /> + </pattern> + </defs> + <g> + <g transform="translate(0 0)"> + <circle cx="60.835" cy="60.835" r="60" style="fill: url(#feather);"/> + <circle cx="60.835" cy="60.835" r="55" style="fill: white;"/> + <circle cx="60.835" cy="60.835" r="55" style="fill: url(#never);" fill-opacity="0.5"/> + + <!-- <rect x="16.829" y="47" width="20" height="4" fill="#F79A25"/> --> + <circle cx="26.829" cy="60.835" r="8.364" fill="#9E2165"/> + <circle cx="26.829" cy="60.835" r="5" style="fill: url(#neverever);"/> + + <!-- <rect x="84.842" y="47" width="20" height="4" fill="#F79A25"/> --> + <circle cx="94.842" cy="60.835" r="8.364" fill="#EA7826"/> + <circle cx="94.842" cy="60.835" r="5" style="fill: url(#neverever);"/> + + <rect x="44.336" y="88.7" width="33" height="4" fill="#D22128"/> + </g> + </g> + <font> + <font-face font-family="Montserrat Light" font-weight="light" font-style="normal"> + <font-face-src> + <font-face-name name="Montserrat Light"/> + </font-face-src> + </font-face> + </font> + <font> + <font-face font-family="Montserrat" font-weight="regular" font-style="normal"> + <font-face-src> + <font-face-name name="Montserrat Regular"/> + </font-face-src> + </font-face> + </font> + <g transform="scale(3.5)"> + <g> + <text x="37.14" y="12" font-family="Montserrat Light" fill="#D22128" font-size="0.7em">APACHE</text> + </g> + <g> + <text x="37.14" y="30" font-family="Montserrat" font-weight="bold" fill="#6D6E71">Tuweni</text> + </g> + </g> +</svg> diff --git a/assets/themes/apache/img/tuweni_face.ico b/assets/themes/apache/img/tuweni_face.ico new file mode 100644 index 0000000..ab3a7f7 Binary files /dev/null and b/assets/themes/apache/img/tuweni_face.ico differ diff --git a/assets/themes/apache/img/tuweni_face.svg b/assets/themes/apache/img/tuweni_face.svg new file mode 100644 index 0000000..d03a91f --- /dev/null +++ b/assets/themes/apache/img/tuweni_face.svg @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<svg version="1.1" id="Capa_1" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100" preserveAspectRatio="xMinYMin meet" xml:space="preserve"> + <defs> + <linearGradient id="feather" x1="30%" y1="5%" x2="30%" y2="100%"> + <stop offset="5%" stop-color="#F79A25" /> + <stop offset="10%" stop-color="#EA7826"/> + <stop offset="40%" stop-color="#CB2138"/> + <stop offset="60%" stop-color="#9E2165"/> + <stop offset="80%" stop-color="#662F8F" /> + <stop offset="95%" stop-color="#282661" /> + </linearGradient> + <pattern id="never" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse"> + <rect x="0" y="0" width="5" height="5" fill="#cccccc"> + <animate attributeName="fill" values="#ccc;#fff;#ccc" dur="60s" repeatCount="indefinite" /> + </rect> + <rect x="0" y="5" width="5" height="5" fill="#FFFFFF"> + <animate attributeName="fill" values="#fff;#ccc;#fff" dur="60s" repeatCount="indefinite" /> + </rect> + <rect x="5" y="0" width="5" height="5" fill="#FFFFFF"> + <animate attributeName="fill" values="#fff;#ccc;#fff" dur="60s" repeatCount="indefinite" /> + </rect> + <rect x="5" y="5" width="5" height="5" fill="#cccccc"> + <animate attributeName="fill" values="#ccc;#fff;#ccc" dur="60s" repeatCount="indefinite" /> + </rect> + </pattern> + <pattern id="neverever" x="0" y="0" width="4" height="4" patternUnits="userSpaceOnUse"> + <rect x="0" y="0" width="4" height="4" fill="#FFFFFF" /> + <rect x="0" y="0" width="2" height="2" fill="#FFFFFF" /> + <rect x="0" y="2" width="2" height="2" fill="#6D6E71"> + <animate attributeName="fill" values="#6D6E71;#fff;#6D6E71" dur="10s" repeatCount="indefinite" /> + </rect> + <rect x="2" y="0" width="2" height="2" fill="#6D6E71"> + <animate attributeName="fill" values="#6D6E71;#fff;#6D6E71" dur="10s" repeatCount="indefinite" /> + </rect> + <rect x="2" y="2" width="2" height="2" fill="#FFFFFF" /> + </pattern> + </defs> + <g> + <g transform="translate(0 0)"> + <circle cx="50" cy="50" r="48" style="fill: url(#feather);"/> + <circle cx="50" cy="50" r="44" style="fill: white;"/> + <circle cx="50" cy="50" r="44" style="fill: url(#never);" fill-opacity="0.5"/> + + <!-- <rect x="16.829" y="47" width="20" height="4" fill="#F79A25"/> --> + <circle cx="20" cy="50" r="8.364" fill="#9E2165"/> + <circle cx="20" cy="50" r="5" style="fill: url(#neverever);"/> + + <!-- <rect x="84.842" y="47" width="20" height="4" fill="#F79A25"/> --> + <circle cx="80" cy="50" r="8.364" fill="#EA7826"/> + <circle cx="80" cy="50" r="5" style="fill: url(#neverever);"/> + + <rect x="63" y="66" width="4" height="10" fill="#D22128"/> + <rect x="34" y="75" width="33" height="4" fill="#D22128"/> + </g> + </g> +</svg> diff --git a/index.md b/index.md index fe22979..bb39b25 100644 --- a/index.md +++ b/index.md @@ -23,5 +23,6 @@ limitations under the License. --> {% include JB/setup %} +{% include themes/apache/logo.html %} 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 primitives, and lots of other helpful utilities. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@tuweni.apache.org For additional commands, e-mail: commits-h...@tuweni.apache.org