renderAppStoreHeroCtaHtml function

String renderAppStoreHeroCtaHtml(
  1. LinksConfig links
)

Renders the App Store hero CTA (WITHOUT the markers) for links — issue #881: first in the hero CTA row, primary on mobile; the desktop demotion (CLI audience lands there) is CSS, not markup. Paid link only, referral value appstore-hero (AC3).

Implementation

String renderAppStoreHeroCtaHtml(LinksConfig links) => '''
        <a class="btn btn-primary btn-store btn-store-hero" href="${_escapeAttr(links.appstore)}" target="_blank" rel="noopener" data-store-referral="appstore-hero">
          ${_appleLogoSvg('beta-mark', 15)}
          Download on the App Store
        </a>''';