Skip to content

Commit 87735df

Browse files
committed
chore: bit sponsorship placement
1 parent f4c1059 commit 87735df

File tree

4 files changed

+32
-1
lines changed

4 files changed

+32
-1
lines changed

docs/.vuepress/components/Bit.vue

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<template>
2+
<p class="bit-sponsor">
3+
<a href="https://www.bitsrc.io/?utm_source=vue&utm_medium=vue&utm_campaign=vue&utm_term=vue&utm_content=vue" target="_blank">
4+
<span>This project is sponsored by</span>
5+
<img alt="bit" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/bit.png">
6+
</a>
7+
</p>
8+
</template>
9+
10+
<style lang="stylus">
11+
.bit-sponsor
12+
font-weight 600
13+
background-color #f3f6f8
14+
padding 0.6em 1.2em
15+
border-radius 8px
16+
display inline-block
17+
margin 1em 0 !important
18+
a
19+
color #999
20+
img
21+
height 40px
22+
margin-left 15px
23+
img, span
24+
vertical-align middle
25+
</style>

docs/config/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ sidebar: auto
44

55
# Config Reference
66

7+
<Bit/>
8+
79
## Basic Config
810

911
### base

docs/default-theme-config/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ sidebar: auto
44

55
# Default Theme Config
66

7+
<Bit/>
8+
79
::: tip
810
All options listed on this page apply to the default theme only. If you are using a custom theme, the options may be different.
911
:::
@@ -166,7 +168,7 @@ module.exports = {
166168
}
167169
```
168170

169-
::: tip
171+
::: tip
170172
It is worth mentioning that when you disable this option, the corresponding script of this functionality will not be loaded. This is a small point in our performance optimization.
171173
:::
172174

docs/guide/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Introduction
22

3+
<Bit/>
4+
35
VuePress is composed of two parts: a minimalistic static site generator with a Vue-powered theming system, and a default theme optimized for writing technical documentation. It was created to support the documentation needs of Vue's own sub projects.
46

57
Each page generated by VuePress has its own pre-rendered static HTML, providing great loading performance and is SEO-friendly. Once the page is loaded, however, Vue takes over the static content and turns it into a full Single-Page Application (SPA). Additional pages are fetched on demand as the user navigates around the site.

0 commit comments

Comments
 (0)