Skip to content

Commit

Permalink
docs: add carbon ads
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Nov 17, 2024
1 parent 7c47074 commit 38b7135
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 23 deletions.
5 changes: 5 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,5 +231,10 @@ export default defineConfig({
search: {
provider: 'local',
},

carbonAds: {
code: 'CW7DEKJY',
placement: 'tsxis',
},
},
});
48 changes: 25 additions & 23 deletions docs/.vitepress/theme/components/AsideSponsors.vue
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
<template>
<div>
<h4 class="text-base font-semibold">Premium sponsors</h4>
</div>
<a
href="https://www.prisma.io"
target="_blank"
rel="noopener"
>
<div class="my-4 py-6 px-6 bg-white/5">
<img
src="/logos/prisma-full.svg"
alt="Prisma"
class="object-cover"
>
<div class="mb-8">
<div>
<h4 class="text-base font-semibold">Premium sponsors</h4>
</div>
</a>
<a
href="https://github.com/sponsors/privatenumber/sponsorships?pay_prorated=false&tier_id=388346"
target="_blank"
rel="noopener"
class="sponsor-button"
>
Become a premium sponsor
</a>
<a
href="https://www.prisma.io"
target="_blank"
rel="noopener"
>
<div class="my-4 py-6 px-6 bg-white/5">
<img
src="/logos/prisma-full.svg"
alt="Prisma"
class="object-cover"
>
</div>
</a>
<a
href="https://github.com/sponsors/privatenumber/sponsorships?pay_prorated=false&tier_id=388346"
target="_blank"
rel="noopener"
class="sponsor-button"
>
Become a premium sponsor
</a>
</div>
</template>

<style scoped>
Expand Down

0 comments on commit 38b7135

Please sign in to comment.