diff --git a/.vuepress/components/InstallBanner.vue b/.vuepress/components/InstallBanner.vue index 646c32b..12d171c 100644 --- a/.vuepress/components/InstallBanner.vue +++ b/.vuepress/components/InstallBanner.vue @@ -7,7 +7,7 @@
-
+
@@ -169,15 +169,16 @@ export default { padding: 1rem; margin-bottom: 1rem; - border: 1px solid #8096b0; + z-index: 10; + border: 1px solid #f2be45; border-radius: 5px; -webkit-transition: .5s; transition: .5s; - background-color: #fff; + /* background-color: #fff; */ } .feature:hover { - background-color: #edf5ff; - /* border-color: #fff; */ + /* background-color: rgba(255,227,200); */ + background-color: rgba(242, 190, 69, 0.1); } .feature-title { display: inline-block; @@ -190,4 +191,5 @@ export default { vertical-align: top; text-align: left; } + diff --git a/.vuepress/components/InstallDashboardPreview.vue b/.vuepress/components/InstallDashboardPreview.vue new file mode 100644 index 0000000..515c1eb --- /dev/null +++ b/.vuepress/components/InstallDashboardPreview.vue @@ -0,0 +1,51 @@ + + + + + diff --git a/.vuepress/components/InstallEnvCheck.vue b/.vuepress/components/InstallEnvCheck.vue index 3f220af..11724c6 100644 --- a/.vuepress/components/InstallEnvCheck.vue +++ b/.vuepress/components/InstallEnvCheck.vue @@ -10,7 +10,7 @@

必须选中下面的 {{envCount}} 个勾选框才能继续

选中后显示 安装 docker/kubelet 的文档

-
+
diff --git a/.vuepress/config.js b/.vuepress/config.js index 819e599..fcd72df 100644 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -4,6 +4,7 @@ module.exports = { // configureWebpack: () => ({ // devtool: 'source-map' // }), + modules: ['bootstrap-vue/nuxt'], title: 'Kuboard官网', description: '一款Kubernetes_Dashboard_简化Kubernetes的学习和使用_帮助您快速落地Kubernetes_提供_Kubernetes_免费中文教程_国内安装文档', head: [ diff --git a/.vuepress/enhanceApp.js b/.vuepress/enhanceApp.js index 54aadb2..26db5a7 100644 --- a/.vuepress/enhanceApp.js +++ b/.vuepress/enhanceApp.js @@ -3,6 +3,11 @@ import 'element-ui/lib/theme-chalk/index.css' import Element from 'element-ui' +import 'bootstrap/dist/css/bootstrap.css' +import 'bootstrap-vue/dist/bootstrap-vue.css' + +import BootstrapVue from 'bootstrap-vue' + import Container from './grid/Container' import Grid from './grid/Grid' import GridItem from './grid/GridItem' @@ -23,7 +28,8 @@ export default ({ router, // 当前应用的路由实例 siteData // 站点元数据 }) => { - Vue.use(Element) + Vue.use(Element) + Vue.use(BootstrapVue) Vue.use(VueFractionGrid, { approach: 'desktop-first', gutter: '1rem', diff --git a/.vuepress/public/kuboard.rp b/.vuepress/public/kuboard.rp index 0f52189..1e690a9 100644 Binary files a/.vuepress/public/kuboard.rp and b/.vuepress/public/kuboard.rp differ diff --git a/.vuepress/public/landing.html b/.vuepress/public/landing.html index 5981f12..5212c35 100755 --- a/.vuepress/public/landing.html +++ b/.vuepress/public/landing.html @@ -47,6 +47,110 @@ + +