Skip to content

Commit

Permalink
fix ads
Browse files Browse the repository at this point in the history
  • Loading branch information
khang-nd committed Jun 25, 2023
1 parent 9da31b1 commit 2216ca8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion src/.vuepress/components/HomeHero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
</button>
<h1>Recreating <b>Nostalgia</b> for <b>Entertainment</b></h1>
<button class="indicator" aria-label="scroll down" @click="scroll" />
<setupad-ads tag-id="5205" format="siderail" />
</section>
</template>

Expand Down
8 changes: 0 additions & 8 deletions src/.vuepress/components/SetupadAds.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,4 @@ export default {
margin: 2rem 0;
text-align: center;
}
@media screen and (min-width: 1480px) {
#siderail {
position: fixed;
top: 140px;
left: 20px;
}
}
</style>
2 changes: 1 addition & 1 deletion src/.vuepress/theme/layouts/Visnalize.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<parent-layout>
<template v-if="!noSideAds" #sidebar-bottom>
<div class="ads"><setupad-ads /></div>
<div class="ads"><setupad-ads format="siderail" tag-id="5205" /></div>
<setupad-ads format="anchor" tag-id="5211" />
</template>
<template v-if="!noComments" #page-bottom>
Expand Down

0 comments on commit 2216ca8

Please sign in to comment.