From a3a34e31bf13cde5163fa25e834e3ec54efbae95 Mon Sep 17 00:00:00 2001 From: Shubham Singh Date: Fri, 17 May 2024 13:30:49 +0000 Subject: [PATCH] Replacing Twitter with X Signed-off-by: GitHub --- docusaurus.config.js | 2 +- src/css/custom.css | 4 ++-- static/img/twitter.svg | 5 ----- static/img/x.svg | 3 +++ 4 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 static/img/twitter.svg create mode 100644 static/img/x.svg diff --git a/docusaurus.config.js b/docusaurus.config.js index d70a32f88b..2fbefafa79 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -182,7 +182,7 @@ const config = { { href: "https://twitter.com/KubeEdge", position: "right", - className: "header-twitter-link heade-icon", + className: "header-x-link heade-icon", }, { to: "/docs/community/slack", diff --git a/src/css/custom.css b/src/css/custom.css index 56a84d0ae1..44d1362b91 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -41,12 +41,12 @@ no-repeat; } -.header-twitter-link::before { +.header-x-link::before { content: ""; width: 25px; height: 25px; display: flex; - background: url("/img/twitter.svg") no-repeat; + background: url("/img/x.svg") no-repeat; } .header-slack-link::before { diff --git a/static/img/twitter.svg b/static/img/twitter.svg deleted file mode 100644 index 7d2bd6f998..0000000000 --- a/static/img/twitter.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/static/img/x.svg b/static/img/x.svg new file mode 100644 index 0000000000..76ae86f95f --- /dev/null +++ b/static/img/x.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file