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

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


The following commit(s) were added to refs/heads/main by this push:
     new 0435046e1 [Fix] social card image (#946)
0435046e1 is described below

commit 0435046e108427237c766a6e89669168cf83661a
Author: Jie-Kai Chang <[email protected]>
AuthorDate: Mon Jan 26 17:50:11 2026 +0800

    [Fix] social card image (#946)
    
    * Fix social card image path
    
    * Use Mahout logo as social card
    
    * update
    
    Signed-off-by: 400Ping <[email protected]>
    
    ---------
    
    Signed-off-by: 400Ping <[email protected]>
---
 website/docusaurus.config.ts              |  4 ++--
 website/static/img/mahout-favicon.svg     | 10 ++++++++++
 website/static/img/mahout-social-card.svg | 10 ++++++++++
 3 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts
index 5e7348426..434ccd5a7 100644
--- a/website/docusaurus.config.ts
+++ b/website/docusaurus.config.ts
@@ -7,7 +7,7 @@ import rehypeKatex from 'rehype-katex';
 const config: Config = {
   title: 'Apache Mahout',
   tagline: 'Distributed Linear Algebra & Quantum Computing',
-  favicon: 'img/favicon.ico',
+  favicon: 'img/mahout-favicon.svg',
 
   future: {
     v4: true,
@@ -109,7 +109,7 @@ const config: Config = {
   ],
 
   themeConfig: {
-    image: 'img/mahout-social-card.jpg',
+    image: 'img/mahout-social-card.svg',
     colorMode: {
       defaultMode: 'light',
       respectPrefersColorScheme: true,
diff --git a/website/static/img/mahout-favicon.svg 
b/website/static/img/mahout-favicon.svg
new file mode 100644
index 000000000..f58c4b001
--- /dev/null
+++ b/website/static/img/mahout-favicon.svg
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<svg
+  width="180"
+  height="180"
+  viewBox="0 0 180 180"
+  xmlns="http://www.w3.org/2000/svg";>
+  <g transform="translate(16 0)" fill="#ffffff">
+    <path 
d="M71,148.3v-18.6c-7.4-1.4-13-7.9-13-15.7c0-3.2,1-6.3,2.6-8.8L45,93.7l-15.6,11.5c1.7,2.5,2.6,5.5,2.6,8.8c0,3.3-1,6.3-2.7,8.8l35.5,28C66.7,149.6,68.8,148.7,71,148.3z
 
M77,148.3c2.2,0.4,4.3,1.3,6.1,2.6l35.5-28c-1.7-2.5-2.7-5.6-2.7-8.8c0-3.2,1-6.3,2.6-8.8L103,93.7l-15.6,11.5c1.7,2.5,2.6,5.5,2.6,8.8c0,7.8-5.6,14.3-13,15.7V148.3z
 
M87.3,155.2c1.7,2.5,2.7,5.6,2.7,8.8c0,8.8-7.2,16-16,16s-16-7.2-16-16c0-3.3,1-6.3,2.7-8.8l-35.5-28c-2.6,1.8-5.7,2.9-9.1,2.9c-8.8,0-16-7.2-16-16c0-7.8,5.6-14
 [...]
+  </g>
+</svg>
diff --git a/website/static/img/mahout-social-card.svg 
b/website/static/img/mahout-social-card.svg
new file mode 100644
index 000000000..6322013de
--- /dev/null
+++ b/website/static/img/mahout-social-card.svg
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<svg
+  width="1200"
+  height="630"
+  viewBox="0 0 1200 630"
+  xmlns="http://www.w3.org/2000/svg";>
+  <g transform="translate(420 135) scale(2)" fill="#ffffff">
+    <path 
d="M71,148.3v-18.6c-7.4-1.4-13-7.9-13-15.7c0-3.2,1-6.3,2.6-8.8L45,93.7l-15.6,11.5c1.7,2.5,2.6,5.5,2.6,8.8c0,3.3-1,6.3-2.7,8.8l35.5,28C66.7,149.6,68.8,148.7,71,148.3z
 
M77,148.3c2.2,0.4,4.3,1.3,6.1,2.6l35.5-28c-1.7-2.5-2.7-5.6-2.7-8.8c0-3.2,1-6.3,2.6-8.8L103,93.7l-15.6,11.5c1.7,2.5,2.6,5.5,2.6,8.8c0,7.8-5.6,14.3-13,15.7V148.3z
 
M87.3,155.2c1.7,2.5,2.7,5.6,2.7,8.8c0,8.8-7.2,16-16,16s-16-7.2-16-16c0-3.3,1-6.3,2.7-8.8l-35.5-28c-2.6,1.8-5.7,2.9-9.1,2.9c-8.8,0-16-7.2-16-16c0-7.8,5.6-14
 [...]
+  </g>
+</svg>

Reply via email to