diff --git a/apps/docs/components/ads/carbon-ad/carbon-ad.tsx b/apps/docs/components/ads/carbon-ad/carbon-ad.tsx index 6ebcbd91f6..cb7cd84552 100644 --- a/apps/docs/components/ads/carbon-ad/carbon-ad.tsx +++ b/apps/docs/components/ads/carbon-ad/carbon-ad.tsx @@ -11,13 +11,12 @@ import {useIsMounted} from "@/hooks/use-is-mounted"; import {__PROD__, __ENABLE_ADS__} from "@/utils"; const EA_PROVIDER_RATIO = 0.85; -const INTERNAL_AD_ENABLED = true; +const PRODUCT_HUNT_ENABLED = false; -const INTERNAL_AD_INFO = { - description: "Join our hackathon, $6k in prizes + 3 months of HeroUI Chat Pro! ↗", - title: "Hackathon #HeroHack", - img: "https://heroui-chat-assets.nyc3.cdn.digitaloceanspaces.com/herohack.png", - url: "https://hack.heroui.chat/twitter?utm_source=heroui.com&utm_medium=ad-banner", +const PH_INFO = { + description: "Join the conversation and help us get #1 Product of the Week! ↗", + title: "We're live on Product Hunt! (30% OFF)", + url: "https://ph.heroui.chat?utm_source=heroui.chat&utm_medium=banner", }; export const CarbonAd: React.FC = () => { @@ -50,7 +49,7 @@ export const CarbonAd: React.FC = () => { }, []); useEffect(() => { - if (INTERNAL_AD_ENABLED) return; + if (PRODUCT_HUNT_ENABLED) return; const shouldShowEthicalAds = Math.random() < EA_PROVIDER_RATIO; @@ -107,28 +106,25 @@ export const CarbonAd: React.FC = () => { }; }, [isMounted]); - if (INTERNAL_AD_ENABLED) { + if (PRODUCT_HUNT_ENABLED) { return (
Product Hunt
- {INTERNAL_AD_INFO.title} -
-
- {INTERNAL_AD_INFO.description} + {PH_INFO.title}
+
{PH_INFO.description}