Skip to content

Commit 0680d48

Browse files
committed
docs: update layout
1 parent 1c36062 commit 0680d48

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

packages/docs/.vuepress/theme-coreui/src/client/components/Header.vue

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<template>
2-
<CAlert color="light" class="d-flex justify-content-center rounded-0 border-bottom mb-0">
2+
<CAlert color="light" class="d-flex align-items-baseline justify-content-center rounded-0 border-bottom mb-0">
33
<span class="me-3">
44
If you like this project and want to help us, please give us a star ⭐️ on Github. ➡️
55
</span>
6-
<github-button href="https://github.com/coreui/coreui-vue" data-size="large" aria-label="Star coreui/coreui-vue on GitHub">Star</github-button>
6+
<CButton color="dark" component="a" href="https://github.com/coreui/coreui-vue" size="sm" target="_blank" variant="outline"><CIcon icon="cib-github" /> Star</CButton>
77
<span class="ms-3">🙏</span>
88
</CAlert>
99
<CHeader class="mb-5 elevation-0 border-bottom" position="sticky">
@@ -37,13 +37,9 @@
3737
</template>
3838
<script lang="ts">
3939
import { defineComponent } from 'vue'
40-
import GithubButton from 'vue-github-button'
4140
4241
export default defineComponent({
4342
name: 'Header',
44-
components: {
45-
GithubButton
46-
},
4743
emits: ['toggle-sidebar'],
4844
})
4945
</script>

packages/docs/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@coreui/vue-docs",
33
"version": "4.2.0",
44
"config": {
5-
"version_short": "4.1"
5+
"version_short": "4.2"
66
},
77
"scripts": {
88
"api": "vue-docgen -c build/docgen.config.js",
@@ -19,7 +19,6 @@
1919
"@vuepress/plugin-toc": "^2.0.0-beta.38",
2020
"markdown-it-include": "^2.0.0",
2121
"vue-docgen-cli": "^4.44.23",
22-
"vue-github-button": "^3.0.1",
2322
"vuepress": "^2.0.0-beta.38"
2423
}
2524
}

0 commit comments

Comments
 (0)