fix: Partner link inccorect

Signed-off-by: TheYoungManLi <cjl@kubesphere.io>
This commit is contained in:
TheYoungManLi 2022-12-14 15:03:41 +08:00
parent 15419ca843
commit 43125d1302
3 changed files with 12 additions and 7 deletions

View File

@ -29,16 +29,20 @@ section3:
tip: '立即申请 →'
partnerType:
- title: "应用程序提供商"
content: KubeSphere 在 OpenPitrix 的基础上,为用户提供了一个基于 Helm 的应用商店用于应用生命周期管理。KubeSphere 应用商店让 ISV、开发者和用户能够在一站式服务中只需点击几下就可以上传、测试、安装和发布应用。KubeSphere 拥有数以万计的用户,所以您可以作为应用程序提供商,将应用发布到 KubeSphere 应用商店,让这些用户可以一键将您的应用部署到 Kubernetes。
content: KubeSphere 在 OpenPitrix 的基础上,为用户提供了一个基于 Helm 的应用商店用于应用生命周期管理。KubeSphere 应用商店让 ISV、开发者和用户能够在一站式服务中只需点击几下就可以上传、测试、安装和发布应用。KubeSphere 拥有数以万计的用户,所以您可以作为应用程序提供商,将应用发布到 KubeSphere 应用商店,让这些用户可以一键将您的应用部署到 Kubernetes。
link: "request/"
- title: "技术合作伙伴"
content: 基于技术协作或联合解决方案为 KubeSphere 提供硬件平台、云服务或应用程序。如果您有这种解决方案,欢迎成为 KubeSphere 的技术合作伙伴,通过产品生态合作共同推动产业繁荣。
content: 基于技术协作或联合解决方案为 KubeSphere 提供硬件平台、云服务或应用程序。如果您有这种解决方案,欢迎成为 KubeSphere 的技术合作伙伴,通过产品生态合作共同推动产业繁荣。
link: "request/"
- title: "云提供商"
content: 如果您是基于 Kubernetes 提供解决方案的云提供商,还可以将 KubeSphere 集成到您的应用程序市场中,使用 KubeSphere 来扩展您的生态系统。
link: "request/"
- title: "市场合作伙伴"
content: 如果您是开源社区或致力于推广您的开源项目,可以联合 KubeSphere 社区组织活动(比如线上直播和线下 Meetup也可以共同产出优质内容技术博客等或者进行丰富多样的联合推广推动更多用户使用 KubeSphere 家族产品获得成功。
link: "request/"
section4:
title: '合作伙伴'

View File

@ -45,10 +45,11 @@
</section>
<section class="section-3">
{{ $applyZh := .Site.Params.applyAllInOne }}
{{ $applyZh := .Site.Language.Lang }}
{{ with .Params.section3 }}
{{ $tip := .tip }}
{{ $linkText := .linkText }}
{{ $link := .link }}
<div class="common-layout">
<h2 class="title-black-h2">{{ .title }}</h2>
<ul class="partner-ul common-flex-layout">
@ -56,7 +57,7 @@
<li>
<h3 class="common-content">{{ .title }}</h3>
<p class="common-p">{{ .content }}</p>
{{ if not $applyZh }}
{{ if eq $applyZh "en" }}
<div>
<a class="common-green-a" href="{{ .link }}">{{ $tip }}</a>
</div>
@ -64,9 +65,9 @@
</li>
{{ end }}
</ul>
{{if $applyZh}}
{{if eq $applyZh "zh"}}
<div>
<a class="apply common-green-a" href="{{ .link }}" target="_blank">{{ $tip }}</a>
<a class="apply common-green-a" href="{{ $link }}" target="_blank">{{ $tip }}</a>
</div>
{{ end }}
</div>

View File

@ -45,7 +45,7 @@
<div class="imageBox">
<div id="imageList" class="imageList">
{{ range $Pages }}
<a class="normalPic" href="{{ .Permalink }}" target="_blank">
<a class="normalPic" href="{{ .Permalink | relURL }}" target="_blank">
<image src="{{ .Params.coverImage }}"></image>
<div class="nameText">{{ .Params.stationName }}</div>
<div class="textBox">