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

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-website.git


The following commit(s) were added to refs/heads/master by this push:
     new dfc243a240e chore: move the third-party static resources into this 
project (#798)
dfc243a240e is described below

commit dfc243a240eb18225b21f602d0b336cc3ad55bd0
Author: Zhang Juntao <[email protected]>
AuthorDate: Sun Nov 2 17:53:14 2025 +0800

    chore: move the third-party static resources into this project (#798)
---
 static/images/icon-close.svg                   |   2 -
 static/images/widget-logo.jpg                  | Bin 0 -> 7977 bytes
 themes/docsy/assets/scss/_event-popup.scss     |   9 ++--
 themes/docsy/layouts/partials/event-popup.html |   2 +-
 themes/docsy/layouts/partials/head.html        |   2 +-
 themes/docsy/layouts/partials/scripts.html     |   6 +--
 themes/docsy/static/css/iconfont/fonts.woff2   | Bin 0 -> 1984 bytes
 themes/docsy/static/css/iconfont/iconfont.css  |  61 +++++++++++++++++++++++++
 themes/docsy/static/js/docsearch-3.9.0.js      |   9 ++++
 themes/docsy/static/js/kapa-widget.bundle.js   |   2 +
 10 files changed, 81 insertions(+), 12 deletions(-)

diff --git a/static/images/icon-close.svg b/static/images/icon-close.svg
deleted file mode 100644
index 6ed7829dd1e..00000000000
--- a/static/images/icon-close.svg
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 
1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";><svg 
t="1654869994885" class="icon" viewBox="0 0 1024 1024" version="1.1" 
xmlns="http://www.w3.org/2000/svg"; p-id="3350" 
xmlns:xlink="http://www.w3.org/1999/xlink"; width="16" height="16"><defs><style 
type="text/css">@font-face { font-family: feedback-iconfont; src: 
url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") 
format("woff2"), url [...]
-</style></defs><path d="M153.998222 113.777778L910.222222 
870.001778l-40.220444 40.220444L113.777778 153.998222z" fill="#333333" 
p-id="3351"></path><path d="M870.001778 113.777778l40.220444 
40.220444L153.998222 910.222222 113.777778 870.001778z" fill="#333333" 
p-id="3352"></path></svg>
\ No newline at end of file
diff --git a/static/images/widget-logo.jpg b/static/images/widget-logo.jpg
new file mode 100644
index 00000000000..1a7e0bcce81
Binary files /dev/null and b/static/images/widget-logo.jpg differ
diff --git a/themes/docsy/assets/scss/_event-popup.scss 
b/themes/docsy/assets/scss/_event-popup.scss
index 61cdbf7893b..e77ce5f1073 100644
--- a/themes/docsy/assets/scss/_event-popup.scss
+++ b/themes/docsy/assets/scss/_event-popup.scss
@@ -42,19 +42,18 @@
     background-color: rgba(255, 255, 255, 0.97);
     display: flex;
 
-    .fa-window-close {
+    .iconfont.icon-guanbi {
       position: absolute;
-      top: 16px;
+      top: 10px;
       right: 16px;
       font-size: 16px;
       cursor: pointer;
-      color: #c9c9c9;
-      transition: color 0.3s;
+      transition: opacity 0.3s;
       z-index: 99;
       opacity: 0.5;
 
       &:hover {
-        color: #8797ac;
+        opacity: 0.8;
       }
     }
 
diff --git a/themes/docsy/layouts/partials/event-popup.html 
b/themes/docsy/layouts/partials/event-popup.html
index e921406e65a..90689ed7bcd 100644
--- a/themes/docsy/layouts/partials/event-popup.html
+++ b/themes/docsy/layouts/partials/event-popup.html
@@ -13,7 +13,7 @@
 <div class="sky-event-popup">
 
     <div class="sky-pop-modal">
-        <img class="fa-window-close" src="/images/icon-close.svg" alt="">
+        <i class="iconfont icon-guanbi"></i>
         <div class="pic-wrapper">
             <img
                     data-img="/images/skywalking_200x200.png"
diff --git a/themes/docsy/layouts/partials/head.html 
b/themes/docsy/layouts/partials/head.html
index a76763a318c..5200dfc7486 100644
--- a/themes/docsy/layouts/partials/head.html
+++ b/themes/docsy/layouts/partials/head.html
@@ -7,7 +7,7 @@
 {{ hugo.Generator }}
 
 <META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">
-<link rel="stylesheet" href="//at.alicdn.com/t/c/font_3007530_pvozs1rz2wn.css">
+<link rel="stylesheet" href="/css/iconfont/iconfont.css">
 {{ range .AlternativeOutputFormats -}}
 <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | 
relURL }}">
 {{ end -}}
diff --git a/themes/docsy/layouts/partials/scripts.html 
b/themes/docsy/layouts/partials/scripts.html
index 0a3c5b716f5..77a58c48c82 100644
--- a/themes/docsy/layouts/partials/scripts.html
+++ b/themes/docsy/layouts/partials/scripts.html
@@ -1,6 +1,6 @@
 <script src="/js/bootstrap.bundle.min.js"></script>
 {{ if .Site.Params.algolia_docsearch }}
-<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3";></script>
+<script src="/js/docsearch-3.9.0.js"></script>
 {{ end }}
 {{ $jsAnchor := resources.Get "js/anchor.js" }}
 {{ $jsLightbox := resources.Get "js/lightbox.js" }}
@@ -39,7 +39,7 @@
 
 <!--Note the 200px position-botton is to leave room for website event popups 
-->
 <script defer
-src="https://widget.kapa.ai/kapa-widget.bundle.js";
+src="/js/kapa-widget.bundle.js"
 data-website-id="8a08392b-9c4d-4816-8bc4-f93e0ecdd2a7"
 data-project-name="SkyWalking"
 data-project-color="#2B74B8"
@@ -47,7 +47,7 @@ data-button-text="Ask AI"
 data-search-mode-enabled="true"
 data-modal-open-on-command-k="true"
 data-modal-disclaimer="The AI supports multiple languages, but it may not be 
accessible in China, a proxy is required."
-data-project-logo="https://miro.medium.com/v2/resize:fit:2400/0*kmS-5BQ8ShAhZ_F4.jpg";
+data-project-logo="/images/widget-logo.jpg"
 data-modal-example-questions="What is Apache SkyWalking?,How to deploy 
SkyWalking?,How to inject agents non-intrusively?,How to setup trace sampling?"
 data-button-position-top=""
 data-button-position-right="20px"
diff --git a/themes/docsy/static/css/iconfont/fonts.woff2 
b/themes/docsy/static/css/iconfont/fonts.woff2
new file mode 100644
index 00000000000..9835986f027
Binary files /dev/null and b/themes/docsy/static/css/iconfont/fonts.woff2 differ
diff --git a/themes/docsy/static/css/iconfont/iconfont.css 
b/themes/docsy/static/css/iconfont/iconfont.css
new file mode 100644
index 00000000000..34dac75bab2
--- /dev/null
+++ b/themes/docsy/static/css/iconfont/iconfont.css
@@ -0,0 +1,61 @@
+@font-face {
+  font-family: "iconfont"; /* Project id 3007530 */
+  src: url('./fonts.woff2') format('woff2')
+}
+
+.iconfont {
+  font-family: "iconfont" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+.icon-arrow-up-right:before {
+  content: "\e647";
+}
+
+.icon-guanbi:before {
+  content: "\e6bc";
+}
+
+.icon-menu-doc:before {
+  content: "\e633";
+}
+
+.icon-menu:before {
+  content: "\e601";
+}
+
+.icon-link:before {
+  content: "\e68b";
+}
+
+.icon-twitter:before {
+  content: "\e749";
+}
+
+.icon-arrow-right:before {
+  content: "\e687";
+}
+
+.icon-search:before {
+  content: "\e612";
+}
+
+.icon-email:before {
+  content: "\e724";
+}
+
+.icon-slack:before {
+  content: "\e8c5";
+}
+
+.icon-tags:before {
+  content: "\e826";
+}
+
+.icon-github:before {
+  content: "\e64c";
+}
+
diff --git a/themes/docsy/static/js/docsearch-3.9.0.js 
b/themes/docsy/static/js/docsearch-3.9.0.js
new file mode 100644
index 00000000000..9d6d421fe46
--- /dev/null
+++ b/themes/docsy/static/js/docsearch-3.9.0.js
@@ -0,0 +1,9 @@
+/**
+ * Skipped minification because the original files appears to be already 
minified.
+ * Original file: /npm/@docsearch/[email protected]/dist/umd/index.js
+ *
+ * Do NOT use SRI with dynamically generated files! More information: 
https://www.jsdelivr.com/using-sri-with-dynamic-files
+ */
+/*! @docsearch/js 3.9.0 | MIT License | © Algolia, Inc. and contributors | 
https://docsearch.algolia.com */
+!function(e,t){"object"==typeof exports&&"undefined"!=typeof 
module?module.exports=t():"function"==typeof 
define&&define.amd?define(t):(e="undefined"!=typeof 
globalThis?globalThis:e||self).docsearch=t()}(this,(function(){"use 
strict";function e(){return 
e=Object.assign?Object.assign.bind():function(e){for(var 
t=1;t<arguments.length;t++){var n=arguments[t];for(var r in 
n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return 
e},e.apply(null,arguments)}function t(e){return t="function"==typeof  [...]
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/themes/docsy/static/js/kapa-widget.bundle.js 
b/themes/docsy/static/js/kapa-widget.bundle.js
new file mode 100644
index 00000000000..801e969ffad
--- /dev/null
+++ b/themes/docsy/static/js/kapa-widget.bundle.js
@@ -0,0 +1,2 @@
+/*! For license information please see kapa-widget.bundle.js.LICENSE.txt */
+!function(e,t){"object"==typeof exports&&"object"==typeof 
module?module.exports=t():"function"==typeof 
define&&define.amd?define([],t):"object"==typeof 
exports?exports.KapaWidget=t():e.KapaWidget=t()}(self,()=>(()=>{var 
e,t,n={17:(e,t,n)=>{"use strict";var r=n(2888);function 
a(e){e.register(r),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234]
 [...]
\ No newline at end of file

Reply via email to