Skip to main content

Marketing Config

Configure the top ad banner and the fallback promotion card shown when no paid placements exist — content, CTA, and imagery — in config/marketing.config.ts.

File: config/marketing.config.ts

This file owns two pieces of always-visible marketing real estate: the top ad banner below the header, and a fallback promotion card that fills paid-placement slots before you've sold any.

config/marketing.config.ts
export const marketingConfig: MarketingConfig = {
  adBanner: {
    enabled: true,
    text: 'SEObot — Improve your SEO with AI agents.',
    buttonText: 'Get Started Now',
    buttonLink: 'https://seobot.ai',
    iconSrc: '/assets/seobot_square.png',
    iconAlt: 'SEObot',
  },
  mockPromotion: {
    enabled: true,
    name: 'SEObot',
    shortDescription: 'Improve your SEO with AI agents.',
    logoUrl: '/assets/seobot_square.png',
    websiteUrl: 'https://seobot.ai',
    ctaText: 'Get Started Now',
  },
};

adBanner — the top banner

A horizontal promo strip below the header.

FieldWhat it controls
enabledShow/hide the banner entirely.
textMain descriptive copy.
buttonTextCTA button label.
buttonLinkCTA URL (external links get rel="noopener noreferrer").
iconSrcPath to a brand icon (e.g. /assets/sponsor/your-brand.svg).
iconAltAlt text for the icon.
Two switches, one banner

The banner needs both adBanner.enabled: true here and the adBanner flag on in features.config.ts. The feature flag is the master switch; this config is the content.

mockPromotion — the fallback card

Shown in the catalog grid and project sidebar only when no real paid promotions exist — so empty placement slots look intentional instead of blank. As soon as a customer buys a promotion, real placements replace it.

FieldWhat it controls
enabledWhether to show a fallback card at all.
namePromoted brand/product name.
shortDescriptionOne-line pitch.
logoUrlLogo image path.
websiteUrlClick-through URL.
ctaTextButton label.
Use it for self-promotion

Point mockPromotion at your own newsletter, a sister product, or an affiliate offer. It earns from inventory you haven't sold yet, then steps aside automatically when a paying promotion lands.

See also