diff --git a/packages/gitbook/src/components/Ads/assets/ad-gitbook-sponsored.svg b/packages/gitbook/src/components/Ads/assets/ad-gitbook-sponsored.svg new file mode 100644 index 000000000..ebe5c2d92 --- /dev/null +++ b/packages/gitbook/src/components/Ads/assets/ad-gitbook-sponsored.svg @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/gitbook/src/components/Ads/assets/ad-rainbow.svg b/packages/gitbook/src/components/Ads/assets/ad-rainbow.svg deleted file mode 100644 index a6c54761a..000000000 --- a/packages/gitbook/src/components/Ads/assets/ad-rainbow.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/packages/gitbook/src/components/Ads/renderAd.tsx b/packages/gitbook/src/components/Ads/renderAd.tsx index d215ab7a8..ae23047a8 100644 --- a/packages/gitbook/src/components/Ads/renderAd.tsx +++ b/packages/gitbook/src/components/Ads/renderAd.tsx @@ -7,7 +7,7 @@ import { getServerActionBaseContext } from '@/lib/server-actions'; import { AdClassicRendering } from './AdClassicRendering'; import { AdCoverRendering } from './AdCoverRendering'; import { AdPixels } from './AdPixels'; -import adRainbow from './assets/ad-rainbow.svg'; +import adGitbookSponsored from './assets/ad-gitbook-sponsored.svg'; import type { AdItem, AdsResponse } from './types'; type FetchAdOptions = FetchLiveAdOptions | FetchPlaceholderAdOptions; @@ -112,8 +112,7 @@ async function getPlaceholderAd(): Promise<{ ad: AdItem; ip: string }> { ad_via_link: '', bannerid: '', creativeid: '', - description: - 'Your docs could be this good.\nPublish incredible open source docs for free with GitBook', + description: 'Published for free with GitBook’s Community Plan', evenodd: '0', external_id: '', height: '0', @@ -123,7 +122,7 @@ async function getPlaceholderAd(): Promise<{ ad: AdItem; ip: string }> { longlink: '', num_slots: '1', rendering: 'carbon', - smallImage: adRainbow.src, + smallImage: adGitbookSponsored.src, statimp: '', statlink: 'https://www.gitbook.com/solutions/open-source?utm_campaign=sponsored-content&utm_medium=ad&utm_source=content',