缓存 star 数

This commit is contained in:
Shao Huan Qing
2021-08-01 14:22:26 +08:00
parent 2f9cb4d386
commit f61a077ccf
8 changed files with 34 additions and 25 deletions

View File

@ -38,10 +38,13 @@
:item="actionLink2"
/>
</span>
<p>
<StarCount></StarCount>
<StarCountDockerPulls style="display: inline-block;"></StarCountDockerPulls>
</p>
<div>
<div class="home-link noselect" style="line-height: 28px; font-size: 1em; font-weight: 400; height: 100px; padding-top: 42px;">
<StarCount style="margin: 0 0px 0 10px; vertical-align: bottom; height: 28px;"></StarCount>
<StarCountDockerPulls style="display: inline-block; vertical-align: bottom; height: 28px;" class="docker-pull-specialpage"></StarCountDockerPulls>
</div>
</div>
</header>
<div
@ -169,6 +172,10 @@ export default {
</script>
<style lang="stylus">
.docker-pull-specialpage
img
margin: 6px 0 !important;
.home
padding $navbarHeight 2rem 0
max-width 960px

View File

@ -1,10 +1,9 @@
<template>
<div style="display: inline-block; width: 120px;">
<div style="display: inline-block; width: 110px;">
<LazyLoad>
<a aria-label="github" @click="$sendGaEvent('ViewGitHubStar', 'ViewGitHubStarNav', 'ViweGitHubStar:' + $page.path)"
href="https://starchart.cc/eip-work/kuboard-press" target="_blank">
<!-- <iframe style="display:inline-block;vertical-align:middle;" src="https://ghbtns.com/github-btn.html?user=eip-work&amp;repo=kuboard-press&amp;type=star&amp;count=true&amp;size=small" frameborder="0" scrolling="0" width="100px" height="20px"></iframe> -->
<img src="https://addons.kuboard.cn/downloads/github-star.png"/>
<iframe style="display:inline-block;vertical-align:middle;" src="https://addons.kuboard.cn/downloads/github-star.html" frameborder="0" scrolling="0" width="120" height="20" title="GitHub"></iframe>
</a>
</LazyLoad>
</div>

View File

@ -1,5 +1,5 @@
<template>
<a aria-label="github" href="https://hub.docker.com/r/eipwork/kuboard" target="_blank" alt="Docker Pulls"><img src="https://addons.kuboard.cn/downloads/docker-pull.png"/></a>
<a aria-label="github" href="https://hub.docker.com/r/eipwork/kuboard" target="_blank" alt="Docker Pulls"><img src="https://addons.kuboard.cn/downloads/docker-pull.svg"/></a>
</template>
<script>

View File

@ -213,10 +213,12 @@ p img {
在线演示</a></li>
<li><a href="/learning/" class="cbtn btn-grad btn-shadow btn-width">查看教程</a></li>
</ul>
<p style="margin-top: 20px;">
<a aria-label="github" href="https://starchart.cc/eip-work/kuboard-press" target="_blank" alt="Github Stars"><img src="https://addons.kuboard.cn/downloads/github-star.png"/></a>
<a aria-label="github" href="https://hub.docker.com/r/eipwork/kuboard" target="_blank" alt="Docker Pulls"><img src="https://addons.kuboard.cn/downloads/docker-pull.png"/></a>
</p>
<div style="margin-top: 20px;">
<a aria-label="github" href="https://starchart.cc/eip-work/kuboard-press" target="_blank" alt="Github Stars">
<iframe style="display:inline-block;vertical-align:middle;" src="https://addons.kuboard.cn/downloads/github-star.html" frameborder="0" scrolling="0" width="120" height="20" title="GitHub"></iframe>
</a>
<a aria-label="github" href="https://hub.docker.com/r/eipwork/kuboard" target="_blank" alt="Docker Pulls"><img src="https://addons.kuboard.cn/downloads/docker-pull.svg"/></a>
</div>
<p>
<div style="font-size: 13px; color: #666;">
在线演示环境中,您具备 <span style="color: red; font-weight: bold">只读</span> 权限,只能体验 Kuboard 的一部分功能。<br/>
@ -355,17 +357,16 @@ p img {
<div class="container">
<div class="row" data-aos="zoom-in-up">
<div class="col-sm-12 text-center" style="max-width: 720px; margin: auto;">
<!-- <img src="https://starchart.cc/eip-work/kuboard-press.svg" alt="Kubernetes教程_Kuboard_Github_Star"> -->
<a href="https://starchart.cc/eip-work/kuboard-press" target="_blank">
<img src="https://starchart.cc/eip-work/kuboard-press.svg" alt="" class="img-fluid box-shadow" style="border: solid 2px #f2be45; padding: 2rem; background-color: #fff; border-radius: 6px; height: 420px;">
</a>
<img src="https://addons.kuboard.cn/downloads/kuboard-press.svg" alt="" class="img-fluid box-shadow" style="border: solid 2px #f2be45; padding: 2rem; background-color: #fff; border-radius: 6px; height: 420px;">
<!-- <a class="venobox vbox-item video-play" data-autoplay="true" data-vbtype="video" href="https://youtu.be/kubGCSj5y3k">
<img src="landing/images/trend.png" alt="" class="img-fluid" style="border: solid 1px #eee;">
<div class="vid-fixed-icn"><img src="landing/images/video-thumb.png" alt="" class="img-fluid"></div>
</a> -->
</div>
</div>
<p style="margin-top: 20px; text-align: center;"><a aria-label="github"><iframe src="https://ghbtns.com/github-btn.html?user=eip-work&amp;repo=kuboard-press&amp;type=star&amp;count=true&amp;size=small" frameborder="0" scrolling="0" width="100px" height="20px" style="display:inline-block;vertical-align:middle;"></iframe></a></p>
<p style="margin-top: 20px; text-align: center;"><a aria-label="github">
<iframe style="display:inline-block;vertical-align:middle;" src="https://addons.kuboard.cn/downloads/github-star.html" frameborder="0" scrolling="0" width="120" height="20" title="GitHub"></iframe>
</p>
<div class="row">
<div class="col-sm-12">
<div class="slider single-item">

View File

@ -29,7 +29,7 @@
>Kuboard - </span>
</a>
<span class="home-link noselect" style="line-height: 2.2em; font-size: 1em; font-weight: 400;">
<StarCount style="margin: 0 10px;"></StarCount>
<StarCount style="margin: 0 0px 0 10px;"></StarCount>
<StarCountDockerPulls></StarCountDockerPulls>
<!-- <a href="/learning/">
<span style="color: #42b983;">免费提供K8S教程</span>

View File

@ -5,11 +5,14 @@ description: Kubernetes教程_本文简要介绍了Kuboard
# Kuboard for Kubernetes
Kuboard 是一款专为 Kubernetes 设计的免费管理界面,兼容 Kubernetes 版本 1.13 及以上。Kuboard 每周发布一个 beta 版本,最长每月发布一个正式版本,经过两年的不断迭代和优化,已经具备多集群管理、权限管理、监控套件、日志套件等丰富的功能,并且有 1000+ 的企业将 Kuboard 应用于其生产环境。Kuboard 自 2019年8月发布第一个版本以来得到了众多用户的认可目前已经获得了 9300+ GitHub Star
Kuboard 是一款专为 Kubernetes 设计的免费管理界面,兼容 Kubernetes 版本 1.13 及以上。Kuboard 每周发布一个 beta 版本,最长每月发布一个正式版本,经过两年的不断迭代和优化,已经具备多集群管理、权限管理、监控套件、日志套件等丰富的功能,并且有 1000+ 的企业将 Kuboard 应用于其生产环境。Kuboard 自 2019年8月发布第一个版本以来得到了众多用户的认可目前已经获得了 10000+ GitHub Star
<StarCount></StarCount>
<StarCountDockerPulls></StarCountDockerPulls>
<p>
<img src="./intro.assets/kuboard-press.svg" style="height: 320px; width: 540px;"/>
<img src="https://addons.kuboard.cn/downloads/kuboard-press.svg" style="height: 320px; width: 540px;"/>
</p>

View File

@ -14,7 +14,7 @@ Kuboard 是一款专为 Kubernetes 设计的免费管理界面,兼容 Kubernet
</p>
<a href="https://starchart.cc/eip-work/kuboard-press" target="_blank">
<img src="https://starchart.cc/eip-work/kuboard-press.svg" alt="Kubernetes教程_Kuboard_Github_Star" style="height: 320px; width: 540px;">
<img src="https://addons.kuboard.cn/downloads/kuboard-press.svg" alt="Kubernetes教程_Kuboard_Github_Star" style="height: 320px; width: 540px;">
</a>
点击这里可以查看 [Kuboard 的安装文档](https://kuboard.cn/install/v3/install.html)

View File

@ -48,7 +48,8 @@ Kuboard 是一款免费的 Kubernetes 管理工具,提供了丰富的功能,
| <div class="tap"></div>Grafana + Prometheus 资源监控套件 | :white_check_mark: | :white_check_mark: |
| <div class="tap"></div>Grafana + Loki + Promtail 日志聚合套件 | :white_check_mark: | :white_check_mark: |
| <div class="tap"></div>ElasticSearch + Filebeat + Kibana 日志聚合套件 | :white_check_mark: | :white_check_mark: |
| <div class="tap"></div>文件浏览器(可查看/编辑/上传/下载容器中的文件) | :white_check_mark: | :white_check_mark: |
| <div class="tap"></div>文件浏览器(可查看/编辑容器中的文件) | :white_check_mark: | :white_check_mark: |
| <div class="tap"></div>文件浏览器(可上传/下载容器中的文件) | :x: | :white_check_mark: |
| <div class="tap"></div>Kuboard Proxykubectl proxy 的在线版本) | :white_check_mark: | :white_check_mark: |
| <div class="tap"></div>自定义名称空间布局(以分层的方式展示名称空间中的微服务) | :white_check_mark: | :white_check_mark: |
| <div class="tap"></div>导出工作负载 YAML 文件、导入 YAML 文件(可以快速将微服务部署到新的集群或名称空间) | :white_check_mark: | :white_check_mark: |
@ -85,9 +86,7 @@ Kuboard 是一款免费的 Kubernetes 管理工具,提供了丰富的功能,
<grid :rwd="{compact: 'stack'}">
<grid-item size="2/3" :rwd="{tablet: '1/1', compact: '1/1'}">
<b-card style="height: calc(100% - 2rem); margin-top: 1rem;">
<a href="https://starchart.cc/eip-work/kuboard-press" target="_blank">
<img src="https://starchart.cc/eip-work/kuboard-press.svg" alt="Kubernetes教程_Kuboard_Github_Star" style="height: 320px;">
</a>
<img src="https://addons.kuboard.cn/downloads/kuboard-press.svg" alt="Kubernetes教程_Kuboard_Github_Star" style="height: 320px;">
<!-- [![Stargazers over time](https://starchart.cc/eip-work/kuboard-press.svg)](https://starchart.cc/eip-work/kuboard-press) -->