You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2026/09/03 04:25:32 UTC

(james-site) branch staging updated: [ENHANCEMENT] Add favicon

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

chibenwa pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/james-site.git


The following commit(s) were added to refs/heads/staging by this push:
     new a6810c878 [ENHANCEMENT] Add favicon
a6810c878 is described below

commit a6810c87868cda45dc875f131177c586c9fcf8d7
Author: Benoit TELLIER <bt...@linagora.com>
AuthorDate: Mon Aug 31 16:14:26 2026 +0200

    [ENHANCEMENT] Add favicon
---
 doc-sites/ui-overrides/apple-touch-icon.png    | Bin 0 -> 2092 bytes
 doc-sites/ui-overrides/favicon.ico             | Bin 0 -> 15086 bytes
 doc-sites/ui-overrides/favicon.svg             |   9 +++++++++
 doc-sites/ui-overrides/partials/head-icons.hbs |   3 +++
 doc-sites/ui-overrides/ui.yml                  |   6 ++++++
 5 files changed, 18 insertions(+)

diff --git a/doc-sites/ui-overrides/apple-touch-icon.png b/doc-sites/ui-overrides/apple-touch-icon.png
new file mode 100644
index 000000000..2cad75140
Binary files /dev/null and b/doc-sites/ui-overrides/apple-touch-icon.png differ
diff --git a/doc-sites/ui-overrides/favicon.ico b/doc-sites/ui-overrides/favicon.ico
new file mode 100644
index 000000000..506dfdfe1
Binary files /dev/null and b/doc-sites/ui-overrides/favicon.ico differ
diff --git a/doc-sites/ui-overrides/favicon.svg b/doc-sites/ui-overrides/favicon.svg
new file mode 100644
index 000000000..dc00ba6da
--- /dev/null
+++ b/doc-sites/ui-overrides/favicon.svg
@@ -0,0 +1,9 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="Apache James">
+  <title>Apache James</title>
+  <rect width="64" height="64" rx="14.0" fill="#191919"/>
+  <g transform="translate(7.0027 8.1650) scale(1.351497)"
+     fill="#fff" stroke="#fff" stroke-width="5.9194" stroke-linejoin="round" stroke-linecap="round">
+    <path d="M13.25,20.418c-5.733-4.373-9.554-8.973-9.418-9.078c0.147-0.145,4.153,4.212,9.83,8.536 c1.665,1.28,3.28,2.412,4.733,3.381c0.02-0.036,0.041-0.069,0.062-0.105c0.237-0.456,0.42-0.948,0.562-1.462 c-1.018-2.053-3.554-4.892-6.501-7.496c-0.656-0.572-1.338-1.078-2.028-1.536c-0.151,1.223-0.452,2.098-0.453,2.096 c0,0-0.335-1.163-0.306-2.579C9.266,11.892,8.8,11.63,8.336,11.389c-0.004,1.395-0.414,2.439-0.417,2.439 c0,0.002-0.833-1.414-0.922-3.071c-0.002-0.01-0.002-0.021-0.002-0.031c-2.76 [...]
+    <path d="M33.7,4.335c-1.103,0.092-2.21,0.292-3.3,0.605c-2.173,0.623-4.31,1.725-6.062,3.396 c-0.883,0.824-1.64,1.798-2.271,2.846c-0.614,1.059-1.109,2.191-1.43,3.363c-0.327,1.168-0.529,2.363-0.595,3.548 c-0.02,0.291-0.031,0.596-0.039,0.9L19.995,19.4l-0.008,0.35c-0.012,0.462-0.051,0.918-0.122,1.358 c-0.056,0.337-0.131,0.665-0.223,0.984c-0.141,0.514-0.324,1.006-0.562,1.466c-0.02,0.036-0.043,0.066-0.062,0.102 c-0.099,0.178-0.204,0.353-0.317,0.52c-0.191,0.286-0.407,0.559-0.643,0.819c-0.17, [...]
+  </g>
+</svg>
diff --git a/doc-sites/ui-overrides/partials/head-icons.hbs b/doc-sites/ui-overrides/partials/head-icons.hbs
new file mode 100644
index 000000000..e6aaee7c0
--- /dev/null
+++ b/doc-sites/ui-overrides/partials/head-icons.hbs
@@ -0,0 +1,3 @@
+    <link rel="icon" href="{{{siteRootPath}}}/favicon.ico" sizes="32x32">
+    <link rel="icon" href="{{{siteRootPath}}}/favicon.svg" type="image/svg+xml">
+    <link rel="apple-touch-icon" href="{{{siteRootPath}}}/apple-touch-icon.png">
diff --git a/doc-sites/ui-overrides/ui.yml b/doc-sites/ui-overrides/ui.yml
new file mode 100644
index 000000000..7a1d6f778
--- /dev/null
+++ b/doc-sites/ui-overrides/ui.yml
@@ -0,0 +1,6 @@
+# Serve the favicons from the site root rather than from the UI bundle directory,
+# so that browsers probing /favicon.ico and iOS probing /apple-touch-icon.png find them.
+static_files:
+  - favicon.ico
+  - favicon.svg
+  - apple-touch-icon.png


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org