fix: Update image
Signed-off-by: lannyfu <lannyfu@kubesphere.io>
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 336 KiB |
|
Before Width: | Height: | Size: 738 KiB After Width: | Height: | Size: 741 KiB |
|
Before Width: | Height: | Size: 399 KiB |
|
After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 302 KiB After Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 226 KiB After Width: | Height: | Size: 93 KiB |