From 775b150adedf913749c786d86c6b8c1887df5c9c Mon Sep 17 00:00:00 2001 From: fcl <63338728+fuchunlan@users.noreply.github.com> Date: Thu, 9 Oct 2025 16:48:43 +0800 Subject: [PATCH] feat: Support 4.2.0 free edition release (#3293) * feat: Support 4.2.0 free edition release Signed-off-by: lannyfu * fix bug Signed-off-by: lannyfu * fix bug Signed-off-by: lannyfu * update link Signed-off-by: lannyfu --------- Signed-off-by: lannyfu --- assets/scss/index.scss | 6 +++++- config/_default/config.toml | 18 +++++++++++++----- content/en/_index.md | 6 ++---- content/zh/_index.md | 6 ++---- layouts/index.html | 4 ++-- 5 files changed, 24 insertions(+), 16 deletions(-) diff --git a/assets/scss/index.scss b/assets/scss/index.scss index a190b08aa..4f7308f21 100644 --- a/assets/scss/index.scss +++ b/assets/scss/index.scss @@ -31,6 +31,10 @@ } } + .download-btn { + margin-top: 30px; + } + & > .img1 { position: absolute; top: 0; @@ -57,7 +61,7 @@ & > div { position: relative; - z-index: 2; + z-index: 3; } .p1 { diff --git a/config/_default/config.toml b/config/_default/config.toml index 8b62605e6..e3fa81c8a 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -225,6 +225,10 @@ name = "Community" name = "OSPP 2025" URL = "https://github.com/kubesphere/community/tree/master/sig-advocacy-and-outreach/ospp-2025" weight = 6 +[[languages.en.menu.main]] +weight = 6 +name = "Try Free" +URL = "https://kubesphere.co/apply-license/" # [[languages.en.menu.main]] # weight = 6 @@ -327,6 +331,11 @@ name = "文档中心" # name = "v3.3" # URL = "/docs/v3.3" # weight = 44 + [[languages.zh.menu.main]] + parent = "文档中心" + name = "社区版" + URL = "https://docs.kubesphere.com.cn/v4.2.0/01-intro/04-editions/01-community/" + weight = 44 [[languages.zh.menu.main]] parent = "文档中心" @@ -408,11 +417,10 @@ weight = 7 name = "认证" URL = "https://kubesphere.cloud/certification/" -# [[languages.zh.menu.main]] -# weight = 8 -# name = "申请免费授权" -# URL = "/" -# # TODO: LINK +[[languages.zh.menu.main]] +weight = 8 +name = "申请免费授权" +URL = "https://kubesphere.com.cn/apply-license/" # [languages.tr] diff --git a/content/en/_index.md b/content/en/_index.md index b2b47aa57..1c9fd7c8a 100644 --- a/content/en/_index.md +++ b/content/en/_index.md @@ -11,12 +11,10 @@ section1: content: KubeSphere is a distributed operating system for cloud-native application management, using Kubernetes as its kernel. It provides a plug-and-play architecture, allowing third-party applications to be seamlessly integrated into its ecosystem. btns: - content: Get Started - link: / - # TODO: Community page + link: /news/kubesphere-community-edition-ga-announcement/#quick-start class: experiense-btn - content: Try Free - # TODO: free feature list - link: / + link: https://kubesphere.co/apply-license/ class: apply-btn carouselItems: carouselItems: diff --git a/content/zh/_index.md b/content/zh/_index.md index cf6b2a8ad..3e2b28a4b 100644 --- a/content/zh/_index.md +++ b/content/zh/_index.md @@ -10,12 +10,10 @@ section1: content: KubeSphere 愿景是打造一个以 Kubernetes 为内核的云原生分布式操作系统,
它的架构可以非常方便地使第三方应用与云原生生态组件进行即插即用(plug-
and-play)的集成,支持云原生应用在多云与多集群的统一分发和运维管理。 btns: - content: 即刻体验 - # TODO: Community page - link: /case + link: /news/kubesphere-community-edition-ga-announcement/#快速上手 class: experiense-btn - content: 申请免费授权 - # TODO: free feature list - link: / + link: https://kubesphere.com.cn/apply-license/ class: apply-btn carouselItems: - image: /images/home/top-right-cn-1.png diff --git a/layouts/index.html b/layouts/index.html index 6484dbde2..977032bf4 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -11,11 +11,11 @@

{{ .content | safeHTML }}

- + {{end}}