badgen
This commit is contained in:
@ -1,8 +1,10 @@
|
||||
<template>
|
||||
<div style="display: inline-block; width: 100px;">
|
||||
<div style="display: inline-block; width: 120px;">
|
||||
<LazyLoad>
|
||||
<a aria-label="github" @click="$sendGaEvent('ViewGitHubStar', 'ViewGitHubStarNav', 'ViweGitHubStar:' + $page.path)">
|
||||
<iframe style="display:inline-block;vertical-align:middle;" src="https://ghbtns.com/github-btn.html?user=eip-work&repo=kuboard-press&type=star&count=true&size=small" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
|
||||
<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&repo=kuboard-press&type=star&count=true&size=small" frameborder="0" scrolling="0" width="100px" height="20px"></iframe> -->
|
||||
<img src="https://badgen.net/github/stars/eip-work/kuboard-press?label=github stars"/>
|
||||
</a>
|
||||
</LazyLoad>
|
||||
</div>
|
||||
|
||||
13
.vuepress/components/StarCountDockerPulls.vue
Normal file
13
.vuepress/components/StarCountDockerPulls.vue
Normal file
@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<a aria-label="github" href="https://hub.docker.com/r/eipwork/kuboard" target="_blank" alt="Docker Pulls"><img src="https://badgen.net/docker/pulls/eipwork/kuboard"/></a>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
@ -206,7 +206,10 @@
|
||||
在线演示</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"><iframe src="https://ghbtns.com/github-btn.html?user=eip-work&repo=kuboard-press&type=star&count=true&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;">
|
||||
<a aria-label="github" href="https://starchart.cc/eip-work/kuboard-press" target="_blank" alt="Github Stars"><img src="https://badgen.net/github/stars/eip-work/kuboard-press?label=github stars"/></a>
|
||||
<a aria-label="github" href="https://hub.docker.com/r/eipwork/kuboard" target="_blank" alt="Docker Pulls"><img src="https://badgen.net/docker/pulls/eipwork/kuboard"/></a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6 col-md-5">
|
||||
|
||||
@ -65,7 +65,15 @@ export default {
|
||||
</grid-item>
|
||||
<grid-item size="1/3" :rwd="{tablet: '1/1', compact: '1/1'}">
|
||||
<b-card style="height: calc(100% - 2rem); color: #2c3e50; line-height: 1.7; margin-top: 1rem;">
|
||||
<li>Kuboard 于2019年8月初公开发布,当前 <StarCount></StarCount></li>
|
||||
<li>
|
||||
Kuboard 于2019年8月初公开发布,当前:
|
||||
<li style="margin-left: 40px;">
|
||||
<StarCount></StarCount>
|
||||
</li>
|
||||
<li style="margin-left: 40px;">
|
||||
<StarCountDockerPulls></StarCountDockerPulls>
|
||||
</li>
|
||||
</li>
|
||||
<li>参考 kuboard.cn,通常一个月时间可以从 Kubernetes 入门到投产</li>
|
||||
</b-card>
|
||||
</grid-item>
|
||||
|
||||
Reference in New Issue
Block a user