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

opwvhk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/main by this push:
     new cf1c8e570 AVRO-3554: Use new project logo on website (#2594)
cf1c8e570 is described below

commit cf1c8e5706bb4a3a2d62b9e345140dcd46d48871
Author: Oscar Westra van Holthe - Kind <[email protected]>
AuthorDate: Mon Dec 4 17:09:10 2023 +0100

    AVRO-3554: Use new project logo on website (#2594)
    
    Includes these changes:
    * Fix logo links in PHP readme (reference images from the ASF website)
    * Update logo files. Note that the SVG logo with text is special: it uses 
CSS to scale to its
    parents height or width, and used the current (text) color for the text.
    * Add shortcode to reference logo. This allows referencing the logo asset 
in content.
    * Update logo on website
    * Remove (now) unused logo
    * Fix site warnings. There is still a warning left, but that's in the docsy 
theme.
    * Add blog post announcing the new logo
---
 doc/assets/icons/logo-black-text.png         | Bin 0 -> 2429 bytes
 doc/assets/icons/logo-text.svg               |  38 ++++++++++++++++++++
 doc/assets/icons/logo-white-text.png         | Bin 0 -> 2416 bytes
 doc/assets/icons/logo.png                    | Bin 4777 -> 1451 bytes
 doc/assets/icons/logo.svg                    |   7 +++-
 doc/assets/scss/PTMono-Regular.ttf           | Bin 0 -> 169480 bytes
 doc/assets/scss/_styles_project.scss         |  12 +++++++
 doc/config.toml                              |   4 +--
 doc/content/en/blog/news/new-project-logo.md |  50 +++++++++++++++++++++++++++
 doc/content/en/docs/++version++/logo.svg     |  22 ------------
 doc/layouts/partials/navbar.html             |   4 +--
 doc/layouts/shortcodes/project_logo.html     |  22 ++++++++++++
 lang/php/README.md                           |   2 +-
 13 files changed, 133 insertions(+), 28 deletions(-)

diff --git a/doc/assets/icons/logo-black-text.png 
b/doc/assets/icons/logo-black-text.png
new file mode 100644
index 000000000..c593f891c
Binary files /dev/null and b/doc/assets/icons/logo-black-text.png differ
diff --git a/doc/assets/icons/logo-text.svg b/doc/assets/icons/logo-text.svg
new file mode 100644
index 000000000..6f8425186
--- /dev/null
+++ b/doc/assets/icons/logo-text.svg
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+  - Licensed to the Apache Software Foundation (ASF) under one
+  - or more contributor license agreements.  See the NOTICE file
+  - distributed with this work for additional information
+  - regarding copyright ownership.  The ASF licenses this file
+  - to you under the Apache License, Version 2.0 (the
+  - "License"); you may not use this file except in compliance
+  - with the License.  You may obtain a copy of the License at
+  -
+  -     https://www.apache.org/licenses/LICENSE-2.0
+  -
+  - Unless required by applicable law or agreed to in writing, software
+  - distributed under the License is distributed on an "AS IS" BASIS,
+  - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  - See the License for the specific language governing permissions and
+  - limitations under the License.
+  -->
+
+<!--
+Notes:
+1. The image scales to 100% high, or up to the maximum available width
+2. The text uses the current CSS color (and defaults to black)
+-->
+<svg xmlns="http://www.w3.org/2000/svg"; version="1.1" viewBox="2 2 95 30" 
style="width: auto; height: 100%">
+  <g 
style="display:inline;stroke-width:22.8385;fill-opacity:1;fill:currentColor">
+        <path d="m 49.809047,21.433157 h -4.770645 l -1.095651,3.541886 H 
40.815582 L 45.97427,8.9794298 h 3.127169 L 54.237301,24.975043 H 50.95035 l 
-1.141303,-3.541886 m -4.040211,-2.513596 h 3.423907 l -1.620649,-5.347105 h 
-0.205435 z"/>
+        <path d="m 61.518681,21.524561 h 0.159783 l 2.556517,-7.974956 h 
3.195648 L 63.070853,24.975043 H 59.898031 L 54.99043,13.549605 h 3.446734 z"/>
+        <path d="m 68.960441,22.461447 h 2.830431 v -6.398246 h -2.830431 v 
-2.513596 h 5.135862 l 0.342391,1.508158 h 0.0913 c 0.433695,-0.502719 
0.913042,-0.914035 1.460867,-1.256798 a 3.6065164,3.6104384 0 0 1 
1.917389,-0.50272 c 0.913042,0 1.62065,0.342764 2.145649,1.005439 
0.524999,0.685526 0.798912,1.782368 0.798912,3.359079 h -2.670649 c 0,-0.548421 
-0.0913,-0.936886 -0.251086,-1.188246 -0.159783,-0.25136 -0.410869,-0.388465 
-0.75326,-0.388465 a 2.2826053,2.2850876 0 0 0 -1.483693 [...]
+        <path d="m 82.564712,19.262506 c 0,-0.959737 0.136956,-1.82807 
0.433695,-2.559298 a 5.2499922,5.2557015 0 0 1 3.127169,-3.062018 
7.1673806,7.1751751 0 0 1 2.48804,-0.411316 c 0.958694,0 1.826084,0.137106 
2.556518,0.434167 a 5.2043401,5.2099997 0 0 1 1.917388,1.233947 
4.9076014,4.9129383 0 0 1 1.164129,1.896623 7.0989025,7.1066224 0 0 1 
0.410869,2.467895 7.0304243,7.0380698 0 0 1 -0.433695,2.559298 
5.2499922,5.2557015 0 0 1 -3.149995,3.084868 7.3499891,7.3579821 0 0 1 
-2.465214,0. [...]
+    </g>
+    <g>
+        <path fill="#0068e0" d="m 11.323019,20.31228 1.54227,4.70955 
24.13142,6.882311 z"/>
+        <path fill="#000094" d="m 19.74759,12.513621 c 0.296701,1.17482 
-0.0154,1.921136 -1.916568,1.736268 L 36.900852,31.9224 c 0.216248,0.08673 
0.253906,-0.0582 0.104415,-0.279013 z"/>
+        <path fill="#1cccfc" d="m 19.141638,3.9863335 c 0,0 
-0.680128,0.6419002 0.03537,1.4732323 0.530637,0.6173653 1.32431,0.2385015 
1.32431,0.2385015 0,0 0.730909,-0.4102455 0.175738,-1.2752416 C 
19.955281,3.297646 19.141638,3.9863335 19.141638,3.9863335 Z M 
37.043496,31.999998 9.9901505,19.948822 c 0,0 -8.8393814,-5.467278 
-7.923605,-7.626915 0.8918121,-2.090598 8.7703415,2.121979 9.6039545,2.315975 
0.833613,0.195709 1.297493,-0.332076 1.312898,-0.700099 0.02454,-0.530637 
-1.170253,- [...]
+        <path fill="#1cccfc" d="M 37.150194,31.886453 19.297405,12.110222 c 
0,0 -3.215773,-3.6511281 -3.082258,-4.6964268 0.133515,-1.0452988 
4.404285,2.2914409 4.404285,2.2914409 0,0 0.474721,0.4570329 0.924906,0.3788639 
0.450185,-0.07589 -0.03138,-0.8244852 -0.03138,-0.8244852 0,0 
-0.737756,-1.7140161 -0.245348,-2.0215576 0.495261,-0.3052592 
1.745396,0.9848175 1.745396,0.9848175 0,0 0.312105,0.3235177 0.639617,0.2362192 
0.327511,-0.08901 0.151773,-0.8085089 0.151773,-0.8085089 0,0 -2.2 [...]
+    </g>
+</svg>
diff --git a/doc/assets/icons/logo-white-text.png 
b/doc/assets/icons/logo-white-text.png
new file mode 100644
index 000000000..29ad9ed4f
Binary files /dev/null and b/doc/assets/icons/logo-white-text.png differ
diff --git a/doc/assets/icons/logo.png b/doc/assets/icons/logo.png
index 4cbe12dd9..5651de93f 100644
Binary files a/doc/assets/icons/logo.png and b/doc/assets/icons/logo.png differ
diff --git a/doc/assets/icons/logo.svg b/doc/assets/icons/logo.svg
index b44ed1972..beee014a3 100644
--- a/doc/assets/icons/logo.svg
+++ b/doc/assets/icons/logo.svg
@@ -19,4 +19,9 @@
 # under the License.
 #
 -->
-<svg id="svg" version="1.1" xmlns="http://www.w3.org/2000/svg"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; width="400" 
height="124.32432432432432" viewBox="0, 0, 400,124.32432432432432"><g 
id="svgg"><path id="path0" d="M0.000 2.833 C 0.000 4.494,0.002 4.500,0.411 
4.500 C 0.970 4.500,1.412 5.451,1.737 7.355 C 1.794 7.687,2.038 8.172,2.279 
8.432 C 2.520 8.692,2.859 9.225,3.032 9.617 C 3.205 10.008,3.500 10.411,3.688 
10.511 C 3.875 10.611,4.128 10.932,4.250 11.224 C 4.372 11.515,4.710 12.004 
[...]
+<svg xmlns="http://www.w3.org/2000/svg"; version="1.1" width="35" height="30" 
viewBox="2 2 35 30">
+  <path fill="#0068e0" d="m 11.323019,20.31228 1.54227,4.70955 
24.13142,6.882311 z"/>
+  <path fill="#000094" d="m 19.74759,12.513621 c 0.296701,1.17482 
-0.0154,1.921136 -1.916568,1.736268 L 36.900852,31.9224 c 0.216248,0.08673 
0.253906,-0.0582 0.104415,-0.279013 z"/>
+  <path fill="#1cccfc" d="m 19.141638,3.9863335 c 0,0 -0.680128,0.6419002 
0.03537,1.4732323 0.530637,0.6173653 1.32431,0.2385015 1.32431,0.2385015 0,0 
0.730909,-0.4102455 0.175738,-1.2752416 C 19.955281,3.297646 
19.141638,3.9863335 19.141638,3.9863335 Z M 37.043496,31.999998 
9.9901505,19.948822 c 0,0 -8.8393814,-5.467278 -7.923605,-7.626915 
0.8918121,-2.090598 8.7703415,2.121979 9.6039545,2.315975 0.833613,0.195709 
1.297493,-0.332076 1.312898,-0.700099 0.02454,-0.530637 -1.170253,-2.0483 [...]
+  <path fill="#1cccfc" d="M 37.150194,31.886453 19.297405,12.110222 c 0,0 
-3.215773,-3.6511281 -3.082258,-4.6964268 0.133515,-1.0452988 
4.404285,2.2914409 4.404285,2.2914409 0,0 0.474721,0.4570329 0.924906,0.3788639 
0.450185,-0.07589 -0.03138,-0.8244852 -0.03138,-0.8244852 0,0 
-0.737756,-1.7140161 -0.245348,-2.0215576 0.495261,-0.3052592 
1.745396,0.9848175 1.745396,0.9848175 0,0 0.312105,0.3235177 0.639617,0.2362192 
0.327511,-0.08901 0.151773,-0.8085089 0.151773,-0.8085089 0,0 -2.257774, [...]
+</svg>
diff --git a/doc/assets/scss/PTMono-Regular.ttf 
b/doc/assets/scss/PTMono-Regular.ttf
new file mode 100644
index 000000000..b1983838c
Binary files /dev/null and b/doc/assets/scss/PTMono-Regular.ttf differ
diff --git a/doc/assets/scss/_styles_project.scss 
b/doc/assets/scss/_styles_project.scss
index 03c855470..b69a1eb16 100644
--- a/doc/assets/scss/_styles_project.scss
+++ b/doc/assets/scss/_styles_project.scss
@@ -15,9 +15,21 @@
 // specific language governing permissions and limitations
 // under the License.
 
+@font-face {
+  font-family: 'PT Mono';
+  font-style: normal;
+  font-weight: 400;
+  font-display: swap;
+  src: url(./PTMono-Regular.ttf) format('truetype');
+}
+
 // Disable all github editing links for now
 .td-page-meta--view { display: none !important; }
 .td-page-meta--edit { display: none !important; }
 .td-page-meta--child { display: none !important; }
 .td-page-meta--issue { display: none !important; }
 .td-page-meta--project-issue { display: none !important; }
+
+.navbar-brand {
+  font-family: "PT Mono", monospace;
+}
diff --git a/doc/config.toml b/doc/config.toml
index f0c87e998..4b58b37f0 100644
--- a/doc/config.toml
+++ b/doc/config.toml
@@ -87,8 +87,8 @@ anchor = "smart"
 
 # Language configuration
 
-[languages]
-[languages.en]
+[languages.params]
+[languages.en.params]
 title = "Apache Avro"
 description = ""
 languageName ="English"
diff --git a/doc/content/en/blog/news/new-project-logo.md 
b/doc/content/en/blog/news/new-project-logo.md
new file mode 100644
index 000000000..24f886912
--- /dev/null
+++ b/doc/content/en/blog/news/new-project-logo.md
@@ -0,0 +1,50 @@
+---
+title: "New Project Logo"
+linkTitle: "New Project Logo"
+date: 2023-11-21
+---
+
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+   https://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+
+The Apache Avro project has a new project logo!
+
+The old logo was derived from the logo of a (now defunct) aircraft manufacturer
+in Great Britain. This posed a risk, as the Apache foundation would not contest
+legal action (even if extremely unlikely).
+
+But thanks to Emma Kellam, we now have a new logo! She has made several logo
+designs, and after some debate and several votes (it was a close call!), we can
+announce the new logo:
+
+[//]: # (the logo scales to 100% high or all available width, so limit it)
+<p style="height: 10rem">
+{{< project_logo >}}
+</p>
+
+The new logo is an homage to the previous logo, which is also triangular and
+uses blue colours. The paper airplane embodies keywords like 'fast', 'small'
+and 'efficient'. The blobby tail left behind by the airplane makes the icon
+unique and embodies 'flow' and 'transformation'.
+
+All in all a very nice logo for Apache Avro, which embodies the same keywords.
+
+Thanks for all your hard work Emma, and welcome!
diff --git a/doc/content/en/docs/++version++/logo.svg 
b/doc/content/en/docs/++version++/logo.svg
deleted file mode 100644
index b44ed1972..000000000
--- a/doc/content/en/docs/++version++/logo.svg
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" standalone="yes"?>
-<!--
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   https://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
--->
-<svg id="svg" version="1.1" xmlns="http://www.w3.org/2000/svg"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; width="400" 
height="124.32432432432432" viewBox="0, 0, 400,124.32432432432432"><g 
id="svgg"><path id="path0" d="M0.000 2.833 C 0.000 4.494,0.002 4.500,0.411 
4.500 C 0.970 4.500,1.412 5.451,1.737 7.355 C 1.794 7.687,2.038 8.172,2.279 
8.432 C 2.520 8.692,2.859 9.225,3.032 9.617 C 3.205 10.008,3.500 10.411,3.688 
10.511 C 3.875 10.611,4.128 10.932,4.250 11.224 C 4.372 11.515,4.710 12.004 
[...]
diff --git a/doc/layouts/partials/navbar.html b/doc/layouts/partials/navbar.html
index 98c7bf94f..a57cdd1f3 100644
--- a/doc/layouts/partials/navbar.html
+++ b/doc/layouts/partials/navbar.html
@@ -23,9 +23,9 @@
 <nav class="js-navbar-scroll navbar navbar-expand navbar-dark {{ if $cover}} 
td-navbar-cover {{ end }}flex-column flex-md-row td-navbar">
         <a class="navbar-brand" href="{{ .Site.Home.RelPermalink }}">
 {{/* AVRO-3555: Don't inline the existing logo for now.
-               <span class="navbar-logo">{{ if .Site.Params.ui.navbar_logo 
}}{{ with resources.Get "icons/logo.svg" }}{{ ( . | minify).Content | safeHTML 
}}{{ end }}{{ end }}</span><span class="text-uppercase font-weight-bold">{{ 
.Site.Title }}</span>
+               <span class="navbar-logo">{{ if .Site.Params.ui.navbar_logo 
}}{{ with resources.Get "icons/logo.svg" }}{{ ( . | minify).Content | safeHTML 
}}{{ end }}{{ end }}</span><span class="font-weight-bold">{{ .Site.Title 
}}</span>
 */}}
-               <span class="navbar-logo"><img src="/docs/++version++/logo.svg" 
width="100" height="30" style="margin: 0 10px"></span><span 
class="text-uppercase font-weight-bold">{{ .Site.Title }}</span>
+               <span class="navbar-logo"><img src="{{ with resources.Get 
"icons/logo.svg" }}{{ .RelPermalink }}{{ end }}" width="35" height="30" 
style="margin: 0 10px"></span><span class="font-weight-bold">{{ .Site.Title 
}}</span>
        </a>
        
        <div class="td-navbar-nav-scroll ml-md-auto" id="main_navbar">
diff --git a/doc/layouts/shortcodes/project_logo.html 
b/doc/layouts/shortcodes/project_logo.html
new file mode 100644
index 000000000..42503d33a
--- /dev/null
+++ b/doc/layouts/shortcodes/project_logo.html
@@ -0,0 +1,22 @@
+{{/*
+
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+https://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+
+*/}}{{/*
+This file should not have a trailing newline.
+*/}}{{ with resources.Get "/icons/logo-text.svg" }}{{ (.|minify).Content | 
safeHTML }}{{ end }}
diff --git a/lang/php/README.md b/lang/php/README.md
index 6ff868eae..9aa12d943 100644
--- a/lang/php/README.md
+++ b/lang/php/README.md
@@ -1,4 +1,4 @@
-|[![AVRO](https://raw.githubusercontent.com/apache/avro/main/doc/src/resources/images/avro-logo.png)](https://github.com/apache/avro)
 | 
[![AVRO](https://raw.githubusercontent.com/apache/avro/main/doc/src/resources/images/apache_feather.gif)](https://github.com/apac<he/avro)|
+| [<img src="https://www.apache.org/logos/res/avro/default.png"; width="360" 
alt="Avro"/>](https://github.com/apache/avro) | [<img 
src="https://projects.apache.org/images/asf_logo.png"; width="360" 
alt="Avro"/>](https://github.com/apache/avro) |
 |:-----|-----:|
 
 What the Avro PHP library is

Reply via email to