Skip to content

Commit

Permalink
docs: mark product hunt badge ClientOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed May 6, 2021
1 parent f93c844 commit b5ba710
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions docs/.vitepress/theme/components/HomeHero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,14 @@
</div>
</div>

<p align="center" m="t-6">
<a href="https://www.producthunt.com/posts/slidev?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-slidev" target="_blank">
<img v-if="isDark" src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=294908&theme=dark" alt="Slidev - Presentation Slides for Developers | Product Hunt" width="200" />
<img v-else src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=294908" alt="Slidev - Presentation Slides for Developers | Product Hunt" width="200" />
</a>
</p>
<ClientOnly>
<p align="center" m="t-6">
<a href="https://www.producthunt.com/posts/slidev?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-slidev" target="_blank">
<img v-if="isDark" src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=294908&theme=dark" alt="Slidev - Presentation Slides for Developers | Product Hunt" width="200" />
<img v-else src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=294908" alt="Slidev - Presentation Slides for Developers | Product Hunt" width="200" />
</a>
</p>
</ClientOnly>
</div>
<ClientOnly>
<Demo class="-mt-10 -mb-25" />
Expand Down

0 comments on commit b5ba710

Please sign in to comment.