This commit is contained in:
huanqing.shao
2019-11-03 07:24:36 +08:00
parent fd664d3065
commit 611416bc07
19 changed files with 208 additions and 60 deletions

View File

@ -0,0 +1,129 @@
<template>
<div class="box">
<img :src="src" :alt="alt">
<div class="box-content">
<h3 class="title">{{title}}</h3>
<span class="post">{{description}}</span>
</div>
</div>
</template>
<script>
export default {
props: {
src: { type: String, required: true },
alt: { type: String, required: true },
title: { type: String, required: true },
description: { type: String, required: true }
}
}
</script>
<style scoped>
.box{
background: linear-gradient(#8E2DE2,#4A00E0);
font-family: 'Merriweather Sans', sans-serif;
border-radius: 7px;
position: relative;
overflow: hidden;
}
.box:before{
content: "";
background: -webkit-repeating-linear-gradient(45deg,rgba(0, 0, 0, 0.1) 10px,
transparent 10px,transparent 20px,rgba(0,0,0,0.1) 20px,rgba(0,0,0,0.1) 30px,
transparent 30px,transparent 40px,rgba(0,0,0,0.1) 40px,rgba(0,0,0,0.1) 50px,
transparent 50px,transparent 60px,rgba(0,0,0,0.1) 60px,rgba(0,0,0,0.1) 70px,
transparent 70px,transparent 80px,rgba(0, 0,0, 0.1) 80px,
rgba(0, 0,0, 0.1) 90px,transparent 90px);
width: 100%;
height: 100%;
opacity: 0;
position: absolute;
top: 0;
left: 0;
z-index: 0;
transition: all 0.5s;
}
.box:hover:before{ opacity:1; }
.box img{
width: 100%;
height: auto;
transition: all 0.5s ease;
-webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.box:hover img{
opacity: 0.5;
-webkit-clip-path: polygon(50% 0, 99% 50%, 50% 99%, 0 50%);
clip-path: polygon(50% 0, 99% 50%, 50% 99%, 0 50%);
}
.box .box-content{
color: #fff;
text-align: center;
width: 100%;
opacity: 0;
transform: translateX(-50%) translateY(-50%) rotate(-55deg);
position: absolute;
top: 50%;
left: 50%;
z-index: 1;
transition: all 0.5s;
}
.box:hover .box-content{
opacity: 1;
transform: translateX(-50%) translateY(-50%) rotate(0deg);
}
.box .title{
font-size: 25px;
font-weight: 700;
text-transform: uppercase;
text-shadow: 0 0 5px #000;
margin: 0 0 3px 0;
}
.box .post{
font-size: 16px;
text-shadow: 0 0 5px #000;
text-transform: capitalize;
display: block;
}
.box .icon{
padding: 0;
margin: 0;
list-style: none;
opacity: 0;
transform: rotateX(180deg);
position: absolute;
right: 10px;
top: 10px;
transition: all 0.3s;
}
.box:hover .icon{
opacity: 1;
transform: rotate(0);
}
.box .icon li a{
color: #4A00E0;
background-color: #fff;
font-size: 17px;
text-align: center;
line-height: 30px;
width: 30px;
height: 30px;
margin: 0 0 7px;
border-radius: 50%;
display: block;
transition: all .5s;
}
.box .icon li a:hover{
color: #8E2DE2;
box-shadow: 0 0 15px #fff;
}
@media only screen and (max-width:990px){
.box { margin: 0 0 30px; }
}
@media only screen and (max-width:479px){
.box .title{ font-size: 20px; }
}
</style>

View File

@ -12,10 +12,10 @@
</div>
<div>
<transition-group name="lightSpeed" tag="div" class="row">
<div class="col-md-6" key="f1" v-show="f1">
<div class="col-md-6" key="f1">
<!-- InfoBox Center <Start> -->
<div class="cs-infobox-left mt-4 feature box">
<img src="/landing/images/icn3.svg" alt="" class="img-fluid">
<div class="cs-infobox-left mt-4 feature" data-aos="fade-up" data-aos-duration="800">
<img src="/landing/images/icn3.svg" alt="K8S安装_K8S培训_每天超过300人参考此文档成功安装K8S" class="img-fluid">
<div class="text-primary-install-banner">广泛验证</div>
<li>每天有超过
<span style="font-weight: 500; color: red;">
@ -25,7 +25,7 @@
style=""
:value="value"
:formatValue="formatToPrice"
:duration="2000"
:duration="5000"
/>
</div>
</span>
@ -35,10 +35,10 @@
<!-- InfoBox Center </End> -->
</div>
<div class="col-md-6" key="f2" v-show="f2">
<div class="col-md-6" key="f2">
<!-- InfoBox Center <Start> -->
<div class="cs-infobox-left mt-4 feature">
<img src="/landing/images/icn4.svg" alt="" class="img-fluid">
<div class="cs-infobox-left mt-4 feature" data-aos="fade-up" data-aos-duration="1000">
<img src="/landing/images/icn4.svg" alt="K8S安装_K8S培训_始终有最新的K8S版本" class="img-fluid">
<div class="text-primary-install-banner">持续更新</div>
<li>始终有最新的 Kubernetes 稳定版安装文档</li>
@ -50,7 +50,7 @@
style=""
:value="updateCount"
:formatValue="formatToPrice"
:duration="6000"
:duration="5000"
/>
</div>
<!-- {{updateCount}} -->
@ -64,20 +64,20 @@
</div>
<!-- InfoBox Center </End> -->
</div>
<div class="col-md-6" key="f3" v-show="f3">
<div class="col-md-6" key="f3">
<!-- InfoBox Left <Start> -->
<div class="cs-infobox-left mt-4 feature">
<img src="/landing/images/icn5.svg" alt="" class="img-fluid">
<div class="cs-infobox-left mt-4 feature" data-aos="fade-up" data-aos-duration="1500">
<img src="/landing/images/icn5.svg" alt="K8S安装_K8S培训_适应各种环境下的安装过程" class="img-fluid">
<div class="text-primary-install-banner">适应面广</div>
<li>大部分的 K8S 安装文档都是个人爱好者的一份笔记而已他当时的特定条件并不一定适用于你</li>
<li>此文档经众多网友验证在公有云私有云自建虚拟机等多种条件下均适用</li>
</div>
<!-- InfoBox Left </End> -->
</div>
<div class="col-md-6" key="f4" v-show="f4">
<div class="col-md-6" key="f4">
<!-- InfoBox Center <Start> -->
<div class="cs-infobox-left mt-4 feature" data-aos="fade-up">
<img src="/landing/images/icn1.svg" alt="" class="img-fluid">
<div class="cs-infobox-left mt-4 feature" data-aos="fade-up" data-aos-duration="1200">
<img src="/landing/images/icn1.svg" alt="K8S安装_K8S培训_在线答疑" class="img-fluid">
<div class="text-primary-install-banner">在线答疑</div>
<div>
<div style="text-align: center;">
@ -109,10 +109,6 @@ export default {
return {
show: false,
value: 300,
f1: false,
f2: false,
f3: false,
f4: false
}
},
components: {
@ -120,16 +116,6 @@ export default {
},
mounted () {
this.show = true
this.f1 = true
setTimeout(_ => {
this.f2 = true
}, 1000)
setTimeout(_ => {
this.f3 = true
}, 2000)
setTimeout(_ => {
this.f4 = true
}, 3000)
},
methods: {
formatToPrice(value) {

View File

@ -1,6 +1,5 @@
<template>
<div>
<transition name="lightSpeed">
<div data-aos="zoom-in-up">
<grid :rwd="{compact: 'stack'}" style="margin-top: 1rem;" v-show="show">
<grid-item size="1/3" :rwd="{tablet: '1/1', compact: '1/1'}" >
<b-card style="height: 100%; color: #2c3e50; line-height: 1.7;" shadow="hover">
@ -21,20 +20,15 @@
<grid-item size="2/3" :rwd="{tablet: '1/1', compact: '1/1'}">
<b-card style="height: 100%; border-color: #f2be45; background-color: rgba(242, 190, 69, 0.1)" shadow="hover">
<a target="_blank" :href="`http://demo.kuboard.cn/#/dashboard?k8sToken=${$site.themeConfig.kuboardToken}`">
<p style="max-width: 100%;">
<img src="./1564841972085.gif" style="border: 1px solid #d7dae2; max-width: 100%;" alt="Kubernetes教程Kuboard 在线Demo"></img>
</p>
<FancyImage src="/images/preview.gif" alt="Kubernetes教程Kuboard 在线Demo" title="Kuboard" description="快速在 Kubernetes 上落地微服务"></FancyImage>
</a>
</b-card>
</grid-item>
</grid>
</transition>
</div>
</template>
<script>
import 'vue2-animate/dist/vue2-animate.min.css';
export default {
data() {
return {
@ -48,4 +42,5 @@ export default {
</script>
<style scoped>
</style>

View File

@ -2,7 +2,7 @@
<!-- <div>
<slot></slot>
</!-->
<div style="border: solid 1px #f2be45; background-color: rgba(242, 190, 69, 0.1); padding: 1rem;">
<div style="border: solid 1px #f2be45; background-color: rgba(242, 190, 69, 0.1); padding: 1rem;" data-aos="slide-up">
<div v-show="!authorized" key="not">
<p style="color: red; font-weight: 500;">免费解锁全站文档</p>
<li>扫描二维码加微信获得验证码</li>
@ -48,12 +48,8 @@
variant="success" show
style="margin-bottom: 10px;"
>
<h4 class="alert-heading">已为您解锁全站完整文档感谢配合</h4>
<hr/>
<li>
Kuboard - 快速在 Kubernetes 上落地微服务
</li>
<li>
清空浏览器缓存后需重新输入验证码
</li>

View File

@ -81,7 +81,7 @@
</b-card>
<div class="intro_picture">
<a target="_blank" :href="`http://demo.kuboard.cn/#/dashboard?k8sToken=${$site.themeConfig.kuboardToken}`">
<img src="./1564841972085.gif" style="max-width: 100%;" alt="Kubernetes教程Kuboard在线演示"/>
<FancyImage src="/images/preview.gif" alt="Kubernetes教程_Kuboard在线体验" title="Kuboard" description="快速在 Kubernetes 上落地微服务"></FancyImage>
</a>
</div>
</div>

View File

@ -30,7 +30,7 @@
</Sidebar>
<main class="page" style="padding-top: 2rem;">
<Content class="theme-default-content" style="padding-top: 0; margin-top: 0; padding-bottom: 1rem;"/>
<PageVssue style="max-width: 1000px; margin: auto;"></PageVssue>
<PageVssue style="max-width: 1000px; margin: auto; padding: 0 2.5rem;"></PageVssue>
</main>
</div>
</template>

View File

@ -1,6 +1,12 @@
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'
import 'vue2-animate/dist/vue2-animate.min.css';
import AOS from 'aos';
import 'aos/dist/aos.css';
import BootstrapVue from 'bootstrap-vue'
import Container from './grid/Container'
@ -64,7 +70,12 @@ export default ({
sharing = false
window.kuboardSharing = false
}
AOS.init({
easing: 'ease-out-back',
duration: 1000
});
}
console.log('sharing', sharing)
Vue.prototype.$isSharing = sharing
}

View File

Before

Width:  |  Height:  |  Size: 298 KiB

After

Width:  |  Height:  |  Size: 298 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 298 KiB

View File

@ -3,7 +3,8 @@
<b-alert style="margin-bottom: 0;" show variant="primary">免费答疑</b-alert>
<grid :rwd="{compact: 'stack'}">
<grid-item size="1/3" :rwd="{tablet: '1/1', compact: '1/1'}" >
<b-card style="height: 100%; margin-top: 1rem;" shadow="none" :body-style="{padding: '0rem 1.5rem'}">
<b-card style="height: 100%; margin-top: 1rem;" shadow="none" :body-style="{padding: '0rem 1.5rem'}"
data-aos="fade-up" data-aos-duration="800">
<h4>QQ群</h4>
<div>
<!-- 一键进群 -->
@ -16,7 +17,8 @@
</b-card>
</grid-item>
<grid-item size="1/3" :rwd="{tablet: '1/1', compact: '1/1'}">
<b-card style="height: 100%; color: #2c3e50; line-height: 1.7; margin-top: 1rem;" shadow="none" :body-style="{padding: '0rem 1.5rem'}">
<b-card style="height: 100%; color: #2c3e50; line-height: 1.7; margin-top: 1rem;" shadow="none" :body-style="{padding: '0rem 1.5rem'}"
data-aos="fade-up" data-aos-duration="1000">
<h4>微信群</h4>
<div>
<div style="margin-top: 10px;">
@ -30,7 +32,8 @@
</b-card>
</grid-item>
<grid-item size="1/3" :rwd="{tablet: '1/1', compact: '1/1'}">
<b-card style="height: 100%; color: #2c3e50; line-height: 1.7; margin-top: 1rem; border-color: #f2be45; background-color: rgba(242, 190, 69, 0.1)" shadow="none" :body-style="{padding: '0rem 1.5rem'}">
<b-card style="height: 100%; color: #2c3e50; line-height: 1.7; margin-top: 1rem; border-color: #f2be45; background-color: rgba(242, 190, 69, 0.1)" shadow="none" :body-style="{padding: '0rem 1.5rem'}"
data-aos="fade-up" data-aos-duration="1200">
<h4>VIP群</h4>
<div>
<div style="margin-top: 10px;">

View File

@ -29,11 +29,11 @@
>Kuboard - </span>
</a>
<span class="home-link noselect" style="line-height: 2.2em; font-size: 1em; font-weight: 400;">
<StarCount style="margin-left: 10px;"></StarCount>
<a href="/learning/">
<span style="color: #42b983;">免费提供K8S教程</span>
</a>
<StarCount style="margin-left: 10px;"></StarCount>
<a href="https://webscan.qianxin.com/safe/detail/?query=kuboard.cn"><img border="0" src="https://webscan.qianxin.com/api/authcode?code=ab3ebe0592248d28477251ecaf72154f" style="display: none;"/></a>
<!-- <a href="https://webscan.qianxin.com/safe/detail/?query=kuboard.cn"><img border="0" src="https://webscan.qianxin.com/api/authcode?code=ab3ebe0592248d28477251ecaf72154f" style="display: none;"/></a> -->
<!-- <span style="color: #2c3e50;">|</span>
<a href="/support/#%E5%BE%AE%E6%9C%8D%E5%8A%A1%E8%90%BD%E5%9C%B0%E5%92%A8%E8%AF%A2">
<span style="color: #007af5;">微服务落地咨询</span>

View File

@ -33,7 +33,7 @@
</p>
<div>
<a target="_blank" :href="`http://demo.kuboard.cn/#/dashboard?k8sToken=${$site.themeConfig.kuboardToken}`">
<img :src="demo_img" style="width: 242px; height: 127px; border: 1px solid #d7dae2;" alt="Kubernetes教程Kuboard在线体验"></img>
<FancyImage src="/images/preview.gif" alt="Kubernetes教程_Kuboard在线体验" title="Kuboard" description="快速在 Kubernetes 上落地微服务"></FancyImage>
</a>
</div>
<p>
@ -52,7 +52,6 @@
<script>
import SidebarLinks from '@theme/components/SidebarLinks.vue'
import NavLinks from '@theme/components/NavLinks.vue'
import demo from './1564841972085.gif'
export default {
name: 'Sidebar',
@ -62,7 +61,6 @@ export default {
props: ['items'],
data () {
return {
demo_img: demo,
}
},
computed: {

View File

@ -1,7 +1,7 @@
---
vssueId: 15
# layout: StepLayout
sharingTitle: 参考这个文档能快速完成K8S安装装不好还有人免费远程协助更有K8S免费教程提供
sharingTitle: K8S入门第一步---安装装不好还有人免费远程协助更有K8S免费教程提供,你还在等什么?
description: Kubernete安装文档_Kubernetes最新稳定版v1.16.2的快速安装文档_该文档由众多网友验证并在线提出修改意见_持续不断地更新和完善_并且通过QQ群提供免费在线答疑的服务
meta:
- name: keywords

View File

@ -49,6 +49,9 @@ meta:
* [4. 伸缩应用程序](/learning/k8s-basics/scale.html) (10分钟)
* [5. 执行滚动更新](/learning/k8s-basics/update.html) (10分钟)
* [6. 复习Kubernetes核心概念](/learning/k8s-basics/k8s-core-concepts.html) (10分钟)
<div data-aos="fade-up">
::: tip 学习路径建议
* 入门教程是经典。推荐初学者学习入门教程 2 - 3 遍,甚至更多。
* 完成入门教程之后,建议首先阅读的文章内容是:
@ -63,6 +66,8 @@ meta:
* 下一步,可按教程章节顺序对 Kubernetes 各种概念进行深入理解
:::
</div>
## **Kubernetes 进阶**
* 架构
* [节点](/learning/k8s-bg/architecture/nodes.html)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 298 KiB

View File

@ -113,7 +113,7 @@ Kuboard是一款免费的 Kubernetes 图形化管理工具Kuboard 力图
<b-card style="height: 100%" shadow="hover">
<a target="_blank" :href="`http://demo.kuboard.cn/#/dashboard?k8sToken=${$site.themeConfig.kuboardToken}`">
<p style="max-width: 100%;">
<img src="./README.assets/1564841972085.gif" style="border: 1px solid #d7dae2; max-width: 100%;" alt="Kubernetes教程Kuboard 在线Demo"></img>
<FancyImage src="/images/preview.gif" alt="Kubernetes教程_Kuboard在线体验" title="Kuboard" description="快速在 Kubernetes 上落地微服务"></FancyImage>
</p>
</a>
</b-card>

20
package-lock.json generated
View File

@ -1552,6 +1552,16 @@
}
}
},
"aos": {
"version": "3.0.0-beta.6",
"resolved": "https://registry.npm.taobao.org/aos/download/aos-3.0.0-beta.6.tgz",
"integrity": "sha1-dRSOO+S7Gt1T9aGChiO/grZ2kek=",
"requires": {
"classlist-polyfill": "^1.2.0",
"lodash.debounce": "^4.0.8",
"lodash.throttle": "^4.1.1"
}
},
"aproba": {
"version": "1.2.0",
"resolved": "https://registry.npm.taobao.org/aproba/download/aproba-1.2.0.tgz",
@ -2365,6 +2375,11 @@
}
}
},
"classlist-polyfill": {
"version": "1.2.0",
"resolved": "https://registry.npm.taobao.org/classlist-polyfill/download/classlist-polyfill-1.2.0.tgz",
"integrity": "sha1-k1vC39lFiodrJ5YXUUY4vKqWSi4="
},
"clean-css": {
"version": "4.2.1",
"resolved": "https://registry.npm.taobao.org/clean-css/download/clean-css-4.2.1.tgz",
@ -5424,6 +5439,11 @@
"lodash._reinterpolate": "^3.0.0"
}
},
"lodash.throttle": {
"version": "4.1.1",
"resolved": "https://registry.npm.taobao.org/lodash.throttle/download/lodash.throttle-4.1.1.tgz",
"integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ="
},
"lodash.uniq": {
"version": "4.5.0",
"resolved": "https://registry.npm.taobao.org/lodash.uniq/download/lodash.uniq-4.5.0.tgz",

View File

@ -24,6 +24,7 @@
"dependencies": {
"@vuepress/plugin-pwa": "^1.2.0",
"animated-number-vue": "^1.0.0",
"aos": "^3.0.0-beta.6",
"bootstrap": "^4.3.1",
"bootstrap-vue": "^2.0.4",
"esm": "^3.2.25",

View File

@ -26,7 +26,8 @@ export default {
<grid :rwd="{compact: 'stack'}">
<grid-item size="2/3" :rwd="{tablet: '1/1', compact: '1/1'}">
<b-card style="height: calc(100% - 1.5rem); color: #2c3e50; line-height: 1.7; margin-top: 1rem; border-color: #f2be45; background-color: rgba(242, 190, 69, 0.1)" shadow="none">
<b-card style="height: calc(100% - 1.5rem); color: #2c3e50; line-height: 1.7; margin-top: 1rem; border-color: #f2be45; background-color: rgba(242, 190, 69, 0.1)"
data-aos="fade-up">
* 使用 Kuboard 是 <font color="red">免费</font> 的,无论您是用于学习还是用于生产
* 将来会推出 Kuboard Plus当前所有的功能<font color="red">将来仍然免费</font>。Kuboard Plus 侧重点:
@ -39,7 +40,8 @@ export default {
</grid-item>
<grid-item size="1/3" :rwd="{tablet: '1/1', compact: '1/1'}">
<b-card style="height: calc(100% - 1.5rem); color: #2c3e50; line-height: 1.7; margin-top: 1rem;" shadow="none">
<b-card style="height: calc(100% - 1.5rem); color: #2c3e50; line-height: 1.7; margin-top: 1rem"
data-aos="fade-up" data-aos-duration="800">
<div style="background-color: rgb(0, 99, 220); padding: 10px; max-width: 220px;">
<img src="/favicon.png" style="max-width: 200px;">
</div>
@ -54,12 +56,14 @@ export default {
<div style="padding: 1rem 0 0 0;">
<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;" shadow="none">
<b-card style="height: calc(100% - 2rem); margin-top: 1rem;"
data-aos="fade-up" data-aos-duration="1500">
<img src="./index.assets/stars.png" alt="Kubernetes教程_Kuboard_Github_Star">
</b-card>
</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;" shadow="none">
<b-card style="height: calc(100% - 2rem); color: #2c3e50; line-height: 1.7; margin-top: 1rem;"
data-aos="fade-up" data-aos-duration="1200">
<li>Kuboard 诞生于大型微服务项目的落地实施,在其发布之前,就已经在许多个实际项目中经受住了考验</li>
<li>Kuboard 于2019年8月初公开发布不到三个月时间就已经获得了 855 Github Star如图所示当前 <StarCount></StarCount></li>
<li>Kuboard 社群中,已有许多的用户将 Kuboard 用于自己的生产环境</li>
@ -73,7 +77,7 @@ export default {
<div style="padding: 1rem 0;">
<grid :rwd="{compact: 'stack'}">
<grid-item size="2/3" :rwd="{tablet: '1/1', compact: '1/1'}">
<b-card style="height: 100%; color: #2c3e50; line-height: 1.7; margin-top: 1rem;" shadow="none">
<b-card style="height: 100%; color: #2c3e50; line-height: 1.7; margin-top: 1rem;" data-aos="fade-up">
<h3>服务范围</h3>
<li>Kubernetes 企业培训</li>
<li>DevOps 环境搭建及培训</li>
@ -83,7 +87,7 @@ export default {
</b-card>
</grid-item>
<grid-item size="1/3" :rwd="{tablet: '1/1', compact: '1/1'}">
<b-card style="height: 100%; margin-top: 1rem;" shadow="none">
<b-card style="height: 100%; margin-top: 1rem;" data-aos="fade-up" data-aos-duration="800">
<h3>联系方式</h3>
<img src="/images/dz2.jpeg" style="width: 200px; margin: auto;"></img>
</b-card>
@ -93,7 +97,7 @@ export default {
## 已采纳用户
* 只要您在此处留下公司名字,您就已经 **取得将 Kuboard 用于生产环境的授权**
只要您在此处留下公司名字,您就已经 **取得将 Kuboard 用于生产环境的授权**
<!-- ### 微服务落地咨询