From 38b7135c0c412cde85a48ec6445085f3df173d2d Mon Sep 17 00:00:00 2001 From: Hiroki Osame Date: Sun, 17 Nov 2024 20:30:35 +0900 Subject: [PATCH] docs: add carbon ads --- docs/.vitepress/config.ts | 5 ++ .../theme/components/AsideSponsors.vue | 48 ++++++++++--------- 2 files changed, 30 insertions(+), 23 deletions(-) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 673c077e0..0a2622967 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -231,5 +231,10 @@ export default defineConfig({ search: { provider: 'local', }, + + carbonAds: { + code: 'CW7DEKJY', + placement: 'tsxis', + }, }, }); diff --git a/docs/.vitepress/theme/components/AsideSponsors.vue b/docs/.vitepress/theme/components/AsideSponsors.vue index cdca39ee6..7f35604db 100644 --- a/docs/.vitepress/theme/components/AsideSponsors.vue +++ b/docs/.vitepress/theme/components/AsideSponsors.vue @@ -1,28 +1,30 @@