fix: Update image

Signed-off-by: lannyfu <lannyfu@kubesphere.io>
This commit is contained in:
lannyfu 2025-09-19 14:07:03 +08:00
parent 604b9c65c5
commit 8c41970afe
8 changed files with 248 additions and 7 deletions

View File

@ -194,7 +194,7 @@ section6:
section7: section7:
title: Capability Architecture title: Capability Architecture
image: /images/home/arch-en.png image: /images/home/arch-en.svg
section8: section8:
title: Stay True to Open Source, Keep Contributing to Cloud Native title: Stay True to Open Source, Keep Contributing to Cloud Native

View File

@ -427,6 +427,18 @@
}; };
function preloadImages() {
const imageUrls = [
'/images/home/4.png',
'/images/home/8.png'
];
imageUrls.forEach(url => {
const img = new Image();
img.src = url;
});
}
$(document).ready(function () { $(document).ready(function () {
if ($('.tab-div li.active').length === 0) { if ($('.tab-div li.active').length === 0) {
$('.tab-div li:first').addClass('active'); $('.tab-div li:first').addClass('active');
@ -435,6 +447,8 @@
if ($('.content-section.active').length === 0) { if ($('.content-section.active').length === 0) {
$('.content-section:first').addClass('active').show(); $('.content-section:first').addClass('active').show();
} }
preloadImages();
tabCarousel(); tabCarousel();
}); });

Binary file not shown.

Before

Width:  |  Height:  |  Size: 336 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 738 KiB

After

Width:  |  Height:  |  Size: 741 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 399 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 302 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 KiB

After

Width:  |  Height:  |  Size: 93 KiB