This is an automated email from the ASF dual-hosted git repository.
xushiyan pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 69c1ac97efef docs: replace Twitter logo with X (#13960)
69c1ac97efef is described below
commit 69c1ac97efefa933c2e3d5d6e6aaf3e32f67f30c
Author: deepakpanda93 <[email protected]>
AuthorDate: Tue Sep 23 20:13:28 2025 +0530
docs: replace Twitter logo with X (#13960)
---
website/src/components/JoinCommunity/Icons/x.svg | 6 ++++++
website/src/components/JoinCommunity/index.js | 7 ++++---
website/src/css/custom.css | 2 +-
website/static/assets/images/x.png | Bin 0 -> 742 bytes
4 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/website/src/components/JoinCommunity/Icons/x.svg
b/website/src/components/JoinCommunity/Icons/x.svg
new file mode 100644
index 000000000000..0aa633ec3efc
--- /dev/null
+++ b/website/src/components/JoinCommunity/Icons/x.svg
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" width="60px" height="49px"
viewBox="0 0 60 49" version="1.1">
+<g id="surface1">
+<path style="
stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M
35.636719 20.75 L 57.929688 0 L 52.644531 0 L 33.289062 18.015625 L 17.832031 0
L 0 0 L 23.378906 27.242188 L 0 49 L 5.28125 49 L 25.722656 29.976562 L
42.050781 49 L 59.878906 49 Z M 28.402344 27.480469 L 26.03125 24.769531 L
7.1875 3.183594 L 15.300781 3.183594 L 30.507812 20.605469 L 32.878906
23.316406 L 52.648438 45.960938 L 44.535156 45.960938 L 28.402344 27.484375 Z M
28.402344 27.480469 "/>
+</g>
+</svg>
diff --git a/website/src/components/JoinCommunity/index.js
b/website/src/components/JoinCommunity/index.js
index d133d1c7ba14..15274d8e8e58 100644
--- a/website/src/components/JoinCommunity/index.js
+++ b/website/src/components/JoinCommunity/index.js
@@ -5,6 +5,7 @@ import GitHubIcon from
"@site/src/components/JoinCommunity/Icons/github.svg";
import SlackIcon from "@site/src/components/JoinCommunity/Icons/slack.svg";
import LinkedinIcon from
"@site/src/components/JoinCommunity/Icons/linkedin.svg";
import TwitterIcon from "@site/src/components/JoinCommunity/Icons/twitter.svg";
+import XIcon from "@site/src/components/JoinCommunity/Icons/x.svg";
import MailIcon from "@site/src/components/JoinCommunity/Icons/mail.svg";
import YoutubeIcon from "@site/src/components/JoinCommunity/Icons/youtube.svg";
import Title from "@site/src/components/Title";
@@ -34,10 +35,10 @@ const JoinCommunity = () => {
url: "https://www.linkedin.com/company/apache-hudi/?viewAsMember=true",
},
{
- icon: TwitterIcon,
- title: "Twitter",
+ icon: XIcon,
+ title: "X",
linkText: "Join community",
- url: "https://twitter.com/ApacheHudi",
+ url: "https://x.com/ApacheHudi",
},
{
icon: YoutubeIcon,
diff --git a/website/src/css/custom.css b/website/src/css/custom.css
index d757971199cb..b99b566be3d2 100644
--- a/website/src/css/custom.css
+++ b/website/src/css/custom.css
@@ -138,7 +138,7 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
}
.header-twitter-link:before {
- background: url(/assets/images/twitter.png) no-repeat;
+ background: url(/assets/images/x.png) no-repeat;
content: "";
display: flex;
height: 30px;
diff --git a/website/static/assets/images/x.png
b/website/static/assets/images/x.png
new file mode 100644
index 000000000000..2d307fb91272
Binary files /dev/null and b/website/static/assets/images/x.png differ