This is an automated email from the ASF dual-hosted git repository.
jeffreyh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new f5cb8a54e78 Fix:image localization to avoid image downtime caused by
CSP (#2321)
f5cb8a54e78 is described below
commit f5cb8a54e786fb23129efb7f569a7bce0b012342
Author: yangon <[email protected]>
AuthorDate: Thu Apr 24 10:49:44 2025 +0800
Fix:image localization to avoid image downtime caused by CSP (#2321)
---
package.json | 2 +-
src/pages/events/index.tsx | 14 +++++++-------
static/images/events/meetup-20250315.png | Bin 0 -> 271751 bytes
static/images/events/meetup-ali.jpg | Bin 0 -> 848939 bytes
static/images/events/summit.jpg | Bin 0 -> 681851 bytes
static/images/events/webniar-1.jpeg | Bin 0 -> 46635 bytes
static/images/events/webniar-2.jpeg | Bin 0 -> 469572 bytes
static/images/events/webniar-4.jpeg | Bin 0 -> 56676 bytes
static/images/events/webniar-5.jpeg | Bin 0 -> 50789 bytes
yarn.lock | 8 ++++----
10 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/package.json b/package.json
index e4c0ad13f5d..7e2947f4ff2 100644
--- a/package.json
+++ b/package.json
@@ -25,7 +25,7 @@
"@docusaurus/plugin-pwa": "3.6.3",
"@docusaurus/preset-classic": "3.6.3",
"@mdx-js/react": "^3.0.0",
- "@yang1666204/docusaurus-search-local": "0.0.4",
+ "@yang1666204/docusaurus-search-local": "0.0.5",
"antd": "^5.12.2",
"autoprefixer": "^10.4.16",
"clsx": "^1.1.1",
diff --git a/src/pages/events/index.tsx b/src/pages/events/index.tsx
index b4693149d66..e3f7d213297 100644
--- a/src/pages/events/index.tsx
+++ b/src/pages/events/index.tsx
@@ -102,7 +102,7 @@ const EVENTS_PAGE_DATA = {
width={384}
height={164}
className="rounded-t-lg"
-
src={`https://cdn.selectdb.com/static/aliyun_selectdb_doris_meetup_768bc17a70.jpg`}
+
src={`${require('@site/static/images/events/meetup-ali.jpg').default}`}
/>
),
isCover: true,
@@ -125,7 +125,7 @@ const EVENTS_PAGE_DATA = {
width={384}
height={164}
className="rounded-t-lg"
-
src={`https://cdn.selectdb.com/static/banner_86e5fb95ee.jpeg`}
+
src={`${require('@site/static/images/events/webniar-5.jpeg').default}`}
/>
),
isCover: true,
@@ -148,7 +148,7 @@ const EVENTS_PAGE_DATA = {
width={384}
height={164}
className="rounded-t-lg"
-
src={`https://cdn.selectdb.com/static/banner_c6210a02e5.jpeg`}
+
src={`${require('@site/static/images/events/webniar-4.jpeg').default}`}
/>
),
isCover: true,
@@ -171,7 +171,7 @@ const EVENTS_PAGE_DATA = {
width={384}
height={164}
className="rounded-t-lg"
-
src={`https://cdn.selectdb.com/static/webinar_2_7513bacc91.jpeg`}
+
src={`${require('@site/static/images/events/webniar-2.jpeg').default}`}
/>
),
isCover: true,
@@ -195,7 +195,7 @@ const EVENTS_PAGE_DATA = {
width={384}
height={164}
className="rounded-t-lg"
- src={`https://cdn.selectdb.com/static/_340b7f3bcb.png`}
+
src={`${require('@site/static/images/events/meetup-20250315.png').default}`}
/>
),
isCover: true,
@@ -218,7 +218,7 @@ const EVENTS_PAGE_DATA = {
width={384}
height={164}
className="rounded-t-lg"
-
src={`https://cdn.selectdb.com/static/banner_8cd1b24a6e.jpeg`}
+
src={`${require('@site/static/images/events/webniar-1.jpeg').default}`}
/>
),
isCover: true,
@@ -241,7 +241,7 @@ const EVENTS_PAGE_DATA = {
width={384}
height={164}
className="rounded-t-lg"
-
src={`https://cdn.selectdb.com/static/2_1800_766_0c9057ec0d.jpg`}
+
src={`${require('@site/static/images/events/summit.jpg').default}`}
/>
),
isCover: true,
diff --git a/static/images/events/meetup-20250315.png
b/static/images/events/meetup-20250315.png
new file mode 100644
index 00000000000..cebfbb427d7
Binary files /dev/null and b/static/images/events/meetup-20250315.png differ
diff --git a/static/images/events/meetup-ali.jpg
b/static/images/events/meetup-ali.jpg
new file mode 100644
index 00000000000..756383334d4
Binary files /dev/null and b/static/images/events/meetup-ali.jpg differ
diff --git a/static/images/events/summit.jpg b/static/images/events/summit.jpg
new file mode 100644
index 00000000000..f5dbb4bfc14
Binary files /dev/null and b/static/images/events/summit.jpg differ
diff --git a/static/images/events/webniar-1.jpeg
b/static/images/events/webniar-1.jpeg
new file mode 100644
index 00000000000..5c83fe7e01c
Binary files /dev/null and b/static/images/events/webniar-1.jpeg differ
diff --git a/static/images/events/webniar-2.jpeg
b/static/images/events/webniar-2.jpeg
new file mode 100644
index 00000000000..29561d9dab0
Binary files /dev/null and b/static/images/events/webniar-2.jpeg differ
diff --git a/static/images/events/webniar-4.jpeg
b/static/images/events/webniar-4.jpeg
new file mode 100644
index 00000000000..77f858782a8
Binary files /dev/null and b/static/images/events/webniar-4.jpeg differ
diff --git a/static/images/events/webniar-5.jpeg
b/static/images/events/webniar-5.jpeg
new file mode 100644
index 00000000000..dd918a0e6b8
Binary files /dev/null and b/static/images/events/webniar-5.jpeg differ
diff --git a/yarn.lock b/yarn.lock
index 7914a4cb363..d089a46d50c 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3846,10 +3846,10 @@
resolved
"https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d"
integrity
sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==
-"@yang1666204/[email protected]":
- version "0.0.4"
- resolved
"https://registry.yarnpkg.com/@yang1666204/docusaurus-search-local/-/docusaurus-search-local-0.0.4.tgz#69e233ccef43bc631f984b6fbdb6baeaa09a0708"
- integrity
sha512-NLfmp7Hvv1n5E6/f+0f8A9CQuppuT9dis2nM5M0L8QflvQdz77dXHajJMoOJj/Htf6xHQ+cXuLgEOA4Mc1UJLg==
+"@yang1666204/[email protected]":
+ version "0.0.5"
+ resolved
"https://registry.yarnpkg.com/@yang1666204/docusaurus-search-local/-/docusaurus-search-local-0.0.5.tgz#02c0df58d60d8a66e4dd4edd64e41789c7402abc"
+ integrity
sha512-JeMS1tmHr7+UPLgATDWlbSDsZb6Pt2CbGGgTCBB7EwhvWImmzLscNcC9h22zX5DLAuVZiksazqmyaHHS1EaYVA==
dependencies:
"@docusaurus/plugin-content-docs" "^2 || ^3"
"@docusaurus/theme-translations" "^2 || ^3"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]