Skip to content

Commit 30d10ff

Browse files
fix: update favicon links and remove Google Ads components from various files
1 parent 8476273 commit 30d10ff

File tree

11 files changed

+5
-44
lines changed

11 files changed

+5
-44
lines changed

404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
content="An enterprise-class UI components based on Ant Design and Vue"
1313
/>
1414
<title>Ant Design Vue</title>
15-
<link rel="icon" type="image/x-icon" href="https://qn.antdv.com/favicon.ico" />
15+
<link rel="icon" type="image/x-icon" href="https://www.antdv.com/favicon.ico" />
1616
<style id="nprogress-style">
1717
#page-404 {
1818
background-image: url('https://os.alipayobjects.com/rmsportal/NOAjOBbnYCrNzrW.jpg');

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
name="keywords"
1717
content="ant design vue,ant-design-vue,ant-design-vue admin,ant design pro,vue ant design,vue ant design pro,vue ant design admin,ant design vue官网,ant design vue中文文档,ant design vue文档"
1818
/>
19-
<link rel="shortcut icon" type="image/x-icon" href="https://qn.antdv.com/favicon.ico" />
19+
<link rel="shortcut icon" type="image/x-icon" href="https://www.antdv.com/favicon.ico" />
2020
<style id="nprogress-style">
2121
#nprogress {
2222
display: none;

src/components/api.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
11
<template>
22
<div class="markdown api-container">
3-
<google-ads v-if="showAd" />
43
<slot v-if="isZhCN" name="cn" />
54
<slot v-else />
65
</div>
76
</template>
87
<script lang="ts">
98
import { isZhCN } from '../utils/util';
10-
import GoogleAds from './GoogleAds.vue';
119
import { inject } from 'vue';
1210
1311
const showAd = location.host.indexOf('antdv.com') > -1;
1412
export default {
1513
name: 'Api',
16-
components: {
17-
GoogleAds,
18-
},
1914
setup() {
2015
return {
2116
demoContext: inject('demoContext', {}),

src/components/header.jsx

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -217,21 +217,6 @@ export default {
217217
Awesome
218218
</a>
219219
</a-menu-item>
220-
<a-menu-item key="wechat">
221-
<a-popover
222-
placement="right"
223-
content={
224-
<img
225-
width="160"
226-
height="160"
227-
alt="wechat"
228-
src="https://qn.antdv.com/wechat.jpeg"
229-
/>
230-
}
231-
>
232-
<a>{isCN ? '微信' : 'WeChat'}</a>
233-
</a-popover>
234-
</a-menu-item>
235220
<a-menu-item key="qq1">
236221
<a>QQ 1群(217490093) 已满</a>
237222
</a-menu-item>

src/components/rice/top_rice.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,18 @@
1313
<template v-if="isCN">
1414
<WWAds :key="`WWAds_${$route.path}`" />
1515
</template>
16-
<google-ads-top v-else :key="`GoogleAdsTop_${$route.path}`" />
1716
</template>
1817
</div>
1918
</template>
2019

2120
<script>
2221
import moment from 'moment';
23-
import GoogleAdsTop from './GoogleAdsTop.vue';
2422
import WWAds from './WWAds.vue';
2523
const isEffective = (start, end) => {
2624
return moment().isBetween(start, end);
2725
};
2826
export default {
2927
components: {
30-
GoogleAdsTop,
3128
WWAds,
3229
},
3330
props: ['isCN', 'isMobile'],

src/layouts/Demo.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,18 @@
1111
<h2>{{ $t('app.component.examples') }}</h2>
1212
</section>
1313
<slot />
14-
<GoogleAds v-if="showAd" :key="`goo-${route.path}`" />
1514
<section class="markdown api-container" v-html="api"></section>
1615
</article>
1716
</template>
1817
<script lang="ts">
1918
import { defineComponent, computed } from 'vue';
2019
import { useRoute } from 'vue-router';
21-
import GoogleAds from '../components/rice/GoogleAds.vue';
2220
2321
const showAd = location.host.indexOf('antdv.com') > -1;
2422
export default defineComponent({
2523
name: 'Demo',
2624
props: ['pageData', 'isZhCN'],
27-
components: {
28-
GoogleAds,
29-
},
25+
components: {},
3026
setup(props) {
3127
const route = useRoute();
3228
const frontmatter = computed(() => props?.pageData?.frontmatter || {});

src/layouts/header/Ecosystem.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@
2323
<a-menu-item key="awesome">
2424
<a target="_blank" href="https://github.com/vueComponent/ant-design-vue-awesome">Awesome</a>
2525
</a-menu-item>
26-
<a-menu-item key="wechat">
27-
<a-popover placement="right">
28-
<a>{{ isZhCN ? '微信' : 'WeChat' }}</a>
29-
<template v-slot:content>
30-
<img width="160" height="160" alt="wechat" src="https://qn.antdv.com/wechat.jpeg" />
31-
</template>
32-
</a-popover>
33-
</a-menu-item>
3426
<a-menu-item key="qq1">
3527
<a>QQ 1群(217490093) 已满</a>
3628
</a-menu-item>

src/vueDocs/introduce.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Following the Ant Design specification, we developed a Vue UI library `antd` tha
55
<div class="pic-plus">
66
<img width="150" src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg" />
77
<span>+</span>
8-
<img width="160" src="https://qn.antdv.com/vue.png" />
8+
<img width="160" src="https://www.antdv.com/vue.png" />
99
</div>
1010

1111
<style>

src/vueDocs/introduce.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="pic-plus">
77
<img width="150" src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg" />
88
<span>+</span>
9-
<img width="160" src="https://qn.antdv.com/vue.png" />
9+
<img width="160" src="https://www.antdv.com/vue.png" />
1010
</div>
1111

1212
<style>

src/vueDocs/sponsor.en-US.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ We accept donations through these channels:
88

99
<div>
1010
<a href="https://www.paypal.me/tangjinzhou" target="_blank">PayPal</a>
11-
<br/>
12-
<a href="https://qn.antdv.com/alipay-and-wechat.png" target="_blank">Alipay or WeChat</a>
1311
</div>
1412

1513
## Recurring Pledges

0 commit comments

Comments
 (0)