Skip to content

Commit

Permalink
[zh-cn] resync /partners/_index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
windsonsea committed Jul 10, 2022
1 parent 6d0db84 commit 7cb4e2f
Showing 1 changed file with 55 additions and 87 deletions.
142 changes: 55 additions & 87 deletions content/zh-cn/partners/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,95 +15,63 @@
-->

<section id="users">
<main class="main-section">
<!-- <h5>Kubernetes works with partners to create a strong, vibrant codebase that supports a spectrum of complementary platforms.</h5> -->
<h5>Kubernetes 与合作伙伴携手打造一个强大、活跃的代码库,支持一系列互补平台。</h5>
<div class="col-container">
<div class="col-nav">
<center>
<h5>
<!-- <b>Kubernetes Certified Service Providers</b> -->
<b>Kubernetes 认证服务提供商</b>
</h5>
<!-- <br>Vetted service providers with deep experience helping enterprises successfully adopt Kubernetes. -->
<br>经过审核的服务提供商在帮助企业成功采用 Kubernetes 方面有深厚的经验。
<br><br><br>
<!-- <button id="kcsp" class="button" onClick="updateSrc(this.id)">See KCSP Partners</button> -->
<button id="kcsp" class="button" onClick="updateSrc(this.id)">参见 KCSP 合作伙伴</button>
<!-- <br><br>Interested in becoming a <a href="https://www.cncf.io/certification/kcsp/">KCSP</a>? -->
<br><br>想要成为<a href="https://www.cncf.io/certification/kcsp/">KCSP</a>吗?
</center>
</div>
<div class="col-nav">
<center>
<h5>
<!-- b>Certified Kubernetes Distributions, Hosted Platforms, and Installers</b -->
<b>Kubernetes 认证的发行版本、托管平台以及安装工具</b>
<!-- </h5>Software conformance ensures that every vendor’s version of Kubernetes supports the required APIs. -->
</h5>软件合规性确保各厂商的 Kubernetes 版本都支持必需的 API。
<br><br><br>
<!-- <button id="conformance" class="button" onClick="updateSrc(this.id)">See Conformance Partners</button> -->
<button id="conformance" class="button" onClick="updateSrc(this.id)">参见合规性合作伙伴</button>
<!-- <br><br>Interested in becoming<a href="https://www.cncf.io/certification/software-conformance/">Kubernetes Certified</a>? -->
<br><br>想要成为<a href="https://www.cncf.io/certification/software-conformance/">Kubernetes 认证的厂商</a>吗?
</center>
</div>
<div class="col-nav">
<center>
<!-- <h5><b>Kubernetes Training Partners</b></h5> -->
<h5><b>Kubernetes 培训合作伙伴</b></h5>
<!-- <br>Vetted training providers who have deep experience in cloud native technology training. -->
<br>经过审核的培训机构在云原生技术培训方面有深厚的经验。
<br><br><br><br>
<!-- <button id="ktp" class="button" onClick="updateSrc(this.id)">See KTP Partners</button> -->
<button id="ktp" class="button" onClick="updateSrc(this.id)">参见 KTP 合作伙伴</button>
<!-- <br><br>Interested in becoming a <a href="https://www.cncf.io/certification/training/">KTP</a>? -->
<br><br>想要成为<a href="https://www.cncf.io/certification/training/">KTP</a>吗?
</center>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script type="text/javascript">

var defaultLink = "https://landscape.cncf.io/category=kubernetes-certified-service-provider&format=card-mode&grouping=category&embed=yes";
var firstLink = "https://landscape.cncf.io/category=certified-kubernetes-distribution,certified-kubernetes-hosted,certified-kubernetes-installer&format=card-mode&grouping=category&embed=yes";
var secondLink = "https://landscape.cncf.io/category=kubernetes-training-partner&format=card-mode&grouping=category&embed=yes";

function updateSrc(buttonId) {
if (buttonId == "kcsp") {
$("#landscape").attr("src",defaultLink);
window.location.hash = "#kcsp";
}
if (buttonId == "conformance") {
$("#landscape").attr("src",firstLink);
window.location.hash = "#conformance";
}
if (buttonId == "ktp") {
$("#landscape").attr("src",secondLink);
window.location.hash = "#ktp";
}
}

// 根据 URL 片段自动加载正确的 iframe
document.addEventListener('DOMContentLoaded', function() {
var showContent = "kcsp";
if (window.location.hash) {
console.log('hash is:', window.location.hash.substring(1));
showContent = window.location.hash.substring(1);
}
updateSrc(showContent);
});
</script>
<body>
<div id="frameHolder">
<iframe id="landscape" title="CNCF Landscape" frameBorder="0" scrolling="no" style="width: 1px; min-width: 100%" src=""></iframe>
<script src="https://landscape.cncf.io/iframeResizer.js"></script>
<!-- <h5>Kubernetes works with partners to create a strong, vibrant codebase that supports a spectrum of complementary platforms.</h5> -->
<h5>Kubernetes 与合作伙伴携手打造一个强大、活跃的代码库,支持一系列互补平台。</h5>
<div class="col-container">
<div class="col-nav">
<center>
<h5>
<!-- <b>Kubernetes Certified Service Providers</b> -->
<b>Kubernetes 认证服务提供商</b>
</h5>
<!-- <br>Vetted service providers with deep experience helping enterprises successfully adopt Kubernetes. -->
<br>经过审核的服务提供商在帮助企业成功采用 Kubernetes 方面有深厚的经验。
<br><br><br>
<!-- <button class="button landscape-trigger landscape-default" data-landscape-types="kubernetes-certified-service-provider" id="kcsp">See KCSP Partners</button> -->
<button class="button landscape-trigger landscape-default" data-landscape-types="kubernetes-certified-service-provider" id="kcsp">参见 KCSP 合作伙伴</button>
<!-- <br><br>Interested in becoming a
<a href="https://www.cncf.io/certification/kcsp/">KCSP</a>? -->
<br><br>想要成为
<a href="https://www.cncf.io/certification/kcsp/">KCSP</a> 吗?
</center>
</div>
</body>
</main>
<div class="col-nav">
<center>
<h5>
<!-- <b>Certified Kubernetes Distributions, Hosted Platforms, and Installers</b> -->
<b>Kubernetes 认证的发行版本、托管平台以及安装工具</b>
<!-- </h5>Software conformance ensures that every vendor’s version of Kubernetes supports the required APIs. -->
</h5>软件合规性确保各厂商的 Kubernetes 版本都支持必需的 API。
<br><br><br>
<!-- <button class="button landscape-trigger" data-landscape-types="certified-kubernetes-distribution,certified-kubernetes-hosted,certified-kubernetes-installer" id="conformance">See Conformance Partners</button> -->
<button class="button landscape-trigger" data-landscape-types="certified-kubernetes-distribution,certified-kubernetes-hosted,certified-kubernetes-installer" id="conformance">参见合规性合作伙伴</button>
<!-- <br><br>Interested in becoming
<a href="https://www.cncf.io/certification/software-conformance/">Kubernetes Certified</a>? -->
<br><br>想要成为
<a href="https://www.cncf.io/certification/software-conformance/">Kubernetes 认证的厂商</a>吗?
</center>
</div>
<div class="col-nav">
<center>
<h5>
<!-- <b>Kubernetes Training Partners</b> -->
<b>Kubernetes 培训合作伙伴</b>
</h5>
<!-- <br>Vetted training providers who have deep experience in cloud native technology training. -->
<br>经过审核的培训机构在云原生技术培训方面有深厚的经验。
<br><br><br>
<!-- <button class="button landscape-trigger" data-landscape-types="kubernetes-training-partner" id="ktp">See KTP Partners</button> -->
<button class="button landscape-trigger" data-landscape-types="kubernetes-training-partner" id="ktp">参见 KTP 合作伙伴</button>
<!-- <br><br>Interested in becoming a
<a href="https://www.cncf.io/certification/training/">KTP</a>? -->
<br><br>想要成为
<a href="https://www.cncf.io/certification/training/">KTP</a> 吗?
</center>
</div>
</div>
{{< cncf-landscape helpers=true >}}
</section>

<style>
{{< include "partner-style.css" >}}
{{< include "partner-style.css" >}}
</style>

0 comments on commit 7cb4e2f

Please sign in to comment.