Skip to content

Commit 325398a

Browse files
committed
refactor(index.vue): remove unused ad components and clean up imports
1 parent 0af89f7 commit 325398a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

site/src/layouts/index.vue

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@
3838
</template>
3939
<a-col :xxxl="20" :xxl="20" :xl="19" :lg="18" :md="18" :sm="24" :xs="24">
4040
<section :class="mainContainerClass">
41-
<WWAdsVue v-if="isZhCN" />
42-
<TopAd v-else />
4341
<Demo v-if="isDemo" :page-data="pageData" :is-zh-c-n="isZhCN">
4442
<component :is="matchCom" />
4543
</Demo>
@@ -97,21 +95,18 @@ import Menu from './Menu.vue';
9795
import PrevAndNext from './PrevAndNext.vue';
9896
import Demo from './Demo.vue';
9997
import useMenus from '../hooks/useMenus';
100-
import TopAd from '../components/rice/top_rice.vue';
10198
import Sponsors from '../components/rice/sponsors.vue';
10299
import RightBottomAd from '../components/rice/right_bottom_ad.vue';
103100
import { CloseOutlined, MenuOutlined, LinkOutlined } from '@ant-design/icons-vue';
104101
import ThemeIcon from './ThemeIcon.vue';
105102
import surelyVueVue from '../components/surelyVue.vue';
106-
import WWAdsVue from '../components/rice/WWAds.vue';
107103
import Mentorbook from '../components/rice/mentorbook.vue';
108104
const rControl = /[\u0000-\u001f]/g;
109105
const rSpecial = /[\s~`!@#$%^&*()\-_+=[\]{}|\\;:"'<>,.?/]+/g;
110106
111107
export default defineComponent({
112108
name: 'Layout',
113109
components: {
114-
TopAd,
115110
Sponsors,
116111
RightBottomAd,
117112
Demo,
@@ -123,7 +118,6 @@ export default defineComponent({
123118
MenuOutlined,
124119
ThemeIcon,
125120
surelyVueVue,
126-
WWAdsVue,
127121
LinkOutlined,
128122
Mentorbook,
129123
},

0 commit comments

Comments
 (0)