Skip to content

Commit

Permalink
feat: icp
Browse files Browse the repository at this point in the history
  • Loading branch information
BetaSu committed Oct 13, 2021
1 parent af45e18 commit 37f2c95
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs/.vuepress/theme/components/PageNav.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<template>
<div>
<PageNavOrigin :sidebarItems="sidebarItems"/>
<div class="icp-footer">
<p>Copyright© 2020-{{(new Date()).getFullYear()}} 卡颂</p>
<a href="https://beian.miit.gov.cn/" target="_blank">京ICP备20028082号-1</a>
</div>
</div>
</template>

<script>
import PageNavOrigin from '@vuepress/theme-default/components/PageNav.vue'
export default {
name: 'PageNav',
props: ['sidebarItems'],
components: {
PageNavOrigin
},
}
</script>

<style>
.icp-footer {
text-align: center;
}
</style>
4 changes: 4 additions & 0 deletions docs/.vuepress/theme/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// .vuepress/theme/index.js
module.exports = {
extend: '@vuepress/theme-default'
}

0 comments on commit 37f2c95

Please sign in to comment.