🌐 AI搜索 & 代理 主页
Skip to content

Commit a661458

Browse files
chore(docs): add carbon ad to playground (#4897)
* chore(docs): add carbon ad to playground * Update play.vue * Update play.vue * Unify docs component name prefix * Update play.vue * Further unify docs component names * Update play.vue * Update docs.js Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>
1 parent 7714ec4 commit a661458

22 files changed

+77
-64
lines changed

docs/components/anchored-heading.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { mergeData } from 'vue-functional-data-merge'
22

33
export default {
4-
name: 'BVDAnchoredHeading',
4+
name: 'BVAnchoredHeading',
55
functional: true,
66
props: {
77
id: {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const navLookup = nav.reduce((obj, section) => {
2222
}, {})
2323
2424
export default {
25-
name: 'BVDBreadcrumbs',
25+
name: 'BVBreadcrumbs',
2626
computed: {
2727
items() {
2828
const items = [{ text: 'Home', to: '/' }, { text: 'Docs', to: '/docs' }]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default {
2-
name: 'CodeMirror',
2+
name: 'BVCodeMirror',
33
props: {
44
value: {
55
type: String,

docs/components/componentdoc.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ import { kebabCase } from '../utils'
323323
import AnchoredHeading from './anchored-heading'
324324
325325
export default {
326-
name: 'BVDComponentdoc',
326+
name: 'BVComponentdoc',
327327
components: { AnchoredHeading },
328328
props: {
329329
component: {},

docs/components/contributors-container.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const CLASS_NAME = 'contributors-container'
44
const CONTRIBUTOR_CLASS_NAME = 'contributor'
55

66
export default {
7-
name: 'BVDContributorsContainer',
7+
name: 'BVContributorsContainer',
88
functional: true,
99
props: {
1010
type: {

docs/components/contributors.vue

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,61 +7,61 @@
77
<!-- PLATINUM SPONSORS -->
88
<template v-if="platinumSponsors.length > 0">
99
<h4 class="h5 mx-auto mt-3 text-muted">Platinum Sponsors</h4>
10-
<BVDContributorsContainer
10+
<BVContributorsContainer
1111
type="platinum-sponsors"
1212
:contributors="platinumSponsors"
1313
:nofollow="false"
14-
></BVDContributorsContainer>
14+
></BVContributorsContainer>
1515
</template>
1616

1717
<!-- GOLD SPONSORS -->
1818
<template v-if="goldSponsors.length > 0">
1919
<h4 class="h5 mx-auto mt-3 text-muted">Gold Sponsors</h4>
20-
<BVDContributorsContainer
20+
<BVContributorsContainer
2121
type="gold-sponsors"
2222
:contributors="goldSponsors"
2323
:nofollow="false"
24-
></BVDContributorsContainer>
24+
></BVContributorsContainer>
2525
</template>
2626

2727
<!-- SILVER SPONSORS -->
2828
<template v-if="silverSponsors.length > 0">
2929
<h4 class="h5 mx-auto mt-3 text-muted">Silver Sponsors</h4>
30-
<BVDContributorsContainer
30+
<BVContributorsContainer
3131
type="silver-sponsors"
3232
:contributors="silverSponsors"
3333
:nofollow="false"
34-
></BVDContributorsContainer>
34+
></BVContributorsContainer>
3535
</template>
3636

3737
<!-- BRONZE SPONSORS -->
3838
<template v-if="bronzeSponsors.length > 0">
3939
<h4 class="h5 mx-auto mt-3 text-muted">Bronze Sponsors</h4>
40-
<BVDContributorsContainer
40+
<BVContributorsContainer
4141
type="bronze-sponsors"
4242
:contributors="bronzeSponsors"
4343
:nofollow="false"
44-
></BVDContributorsContainer>
44+
></BVContributorsContainer>
4545
</template>
4646
</template>
4747

4848
<!-- BACKERS -->
4949
<template v-if="backers.length > 0">
5050
<h3 class="h4 mx-auto mt-4 text-muted">Backers</h3>
51-
<BVDContributorsContainer
51+
<BVContributorsContainer
5252
type="backers"
5353
:contributors="backers"
54-
></BVDContributorsContainer>
54+
></BVContributorsContainer>
5555
</template>
5656

5757
<!-- DONORS -->
5858
<template v-if="donors.length > 0">
5959
<h3 class="h4 mx-auto mt-4 text-muted">Donors</h3>
60-
<BVDContributorsContainer
60+
<BVContributorsContainer
6161
type="donors"
6262
:contributors="donors"
6363
:show-name="false"
64-
></BVDContributorsContainer>
64+
></BVContributorsContainer>
6565
</template>
6666
</div>
6767
</template>
@@ -146,7 +146,7 @@
146146
</style>
147147

148148
<script>
149-
import BVDContributorsContainer from '~/components/contributors-container'
149+
import BVContributorsContainer from '~/components/contributors-container'
150150
151151
const OC_BASE_URL = 'https://rest.opencollective.com/v2/bootstrap-vue/orders/'
152152
const OC_DEFAULT_PARAMS = { status: 'active', tierSlug: null, limit: 200 }
@@ -164,8 +164,8 @@ const MAX_DONORS = 64
164164
const LINK_AMT_THRESHOLD = 24
165165
166166
export default {
167-
name: 'BVDContributors',
168-
components: { BVDContributorsContainer },
167+
name: 'BVContributors',
168+
components: { BVContributorsContainer },
169169
data() {
170170
return {
171171
platinumSponsors: [],

docs/components/feedback.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default {
2-
name: 'BVDFeedback',
2+
name: 'BVFeedback',
33
data() {
44
return {
55
baseUrl: 'https://github.com/bootstrap-vue/bootstrap-vue'

docs/components/footer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
import { version } from '~/content'
7373
7474
export default {
75-
name: 'BVDFooter',
75+
name: 'BVFooter',
7676
props: {
7777
isDocs: {
7878
type: Boolean,

docs/components/header.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
import { version } from '~/content'
177177
178178
export default {
179-
name: 'BVDHeader',
179+
name: 'BVHeader',
180180
data() {
181181
return {
182182
version,

docs/components/icons-table.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const icons = iconNames
140140
})
141141
142142
export default {
143-
name: 'BVDIconsTable',
143+
name: 'BVIconsTable',
144144
data() {
145145
return {
146146
iconFilter: '',

0 commit comments

Comments
 (0)