Components: Top Banner (Announcement Bar)
Guides top announcement bar and sticky banner design for conversion. Top banners answer visitor questions in ~3 seconds (trust, discount, free shipping, urgency) and can increase coupon redemption by 30-50% when used well.
When invoking: On first use, if helpful, open with 1-2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.
Initial Assessment
Check for project context first: If .claude/project-context.md or .cursor/project-context.md exists, read it for offers, messaging, and Section 12 (Visual Identity).
Identify:
- 1. Goal: Lead capture, promo, urgency, trust, free shipping
- Placement: Above header (sticky) or below; dismissible or persistent
- Audience: All visitors vs segmented (geo, returning, cart abandoners)
Best Practices
Use Cases
| Use | Example |
|---|
| Lead capture | Newsletter, lead magnet, demo request |
| Promo |
Discount code, flash sale, free shipping threshold |
|
Urgency | Limited-time offer, countdown |
|
Trust | Guarantee, security, shipping info |
|
Launch | Product launch, event, cross-sell |
Discount Banner Types
| Discount Type | Banner Example | Related |
|---|
| Annual discount | "Save 20% with annual billing" | discount-marketing-strategy |
| Student/education |
"Students: 30% off today, 15% off ongoing" | education-program |
|
Startups/education | "Startups: Special pricing — Apply now" | startups-page-generator |
|
BFCM / seasonal | "Black Friday: 25% off — Use code BF25" | discount-marketing-strategy |
|
First-time | "New users: 20% off first year" | discount-marketing-strategy |
|
Referral code | "Get $10 off — Refer a friend" | referral-program |
Placement: Discount banner is P1 for student/education (homepage); pricing page also shows. See education-program for placement priority (registration P0, pricing P1, banner P1).
Design
- - Clear hierarchy: Message + CTA in ~400ms "blink test"
- Minimal copy: One line typical; link for "Learn more"
- High contrast: Stand out from page; CTA color distinct
- Mobile-first: 70%+ traffic on mobile; thumb-friendly close/CTA
Technical
- - Desktop: 1920x600px keeps content above fold; 16:9 common
- Mobile: 800x1200px (2:3 portrait); use separate assets, not scaled
- Performance: Optimize images; oversized banners hurt LCP and SEO
Avoid
- - Crowding the header; leave space for nav and logo
- Too many CTAs; one primary action
- Stale messaging; refresh every 2-4 weeks
Output Format
- - Message and CTA copy
- Placement (sticky top, below header)
- Targeting (all vs segment)
- Design notes (contrast, mobile)
Related Skills
- - discount-marketing-strategy: Promo/discount strategy; banner displays discount code; 30–50% redemption lift
- education-program: Student discount banner (P1 placement); "Students: X% off" copy
- pricing-page-generator: Discount banner supports pricing page; Special programs, promo placement
- cta-generator: Banner CTA design
- newsletter-signup-generator: Lead capture in banner
- brand-visual-generator: Colors, typography for banner
- navigation-menu-generator: Banner sits above or integrates with nav
组件:顶部横幅(公告栏)
指导顶部公告栏和粘性横幅的转化设计。顶部横幅能在约3秒内回答访客问题(信任、折扣、免费配送、紧迫感),使用得当可使优惠券兑换率提升30-50%。
调用方式:首次使用时,如有帮助,先用1-2句话介绍该技能涵盖的内容及其重要性,然后提供主要输出。后续使用或用户要求跳过时,直接进入主要输出。
初始评估
首先检查项目上下文: 如果存在.claude/project-context.md或.cursor/project-context.md,读取其中的优惠信息、消息传达和第12节(视觉标识)。
识别:
- 1. 目标:线索获取、促销、紧迫感、信任、免费配送
- 位置:页眉上方(粘性)或下方;可关闭或持续显示
- 受众:所有访客 vs 细分用户(地理位置、回访用户、购物车放弃者)
最佳实践
使用场景
折扣码、闪购、免运费门槛 |
|
紧迫感 | 限时优惠、倒计时 |
|
信任 | 保证、安全、配送信息 |
|
发布 | 产品发布、活动、交叉销售 |
折扣横幅类型
| 折扣类型 | 横幅示例 | 相关技能 |
|---|
| 年度折扣 | 选择年付,节省20% | 折扣营销策略 |
| 学生/教育 |
学生:今日30%折扣,持续15%折扣 | 教育计划 |
|
初创/教育 | 初创企业:专属定价——立即申请 | 初创页面生成器 |
|
黑五/季节性 | 黑色星期五:25%折扣——使用代码BF25 | 折扣营销策略 |
|
首次用户 | 新用户:首年20%折扣 | 折扣营销策略 |
|
推荐码 | 立减10美元——推荐好友 | 推荐计划 |
位置:学生/教育折扣横幅为P1优先级(首页);定价页面也显示。参见教育计划了解位置优先级(注册P0,定价P1,横幅P1)。
设计
- - 清晰的层级:约400毫秒眨眼测试内传达信息+行动号召
- 精简文案:通常一行;了解更多使用链接
- 高对比度:与页面形成对比;行动号召按钮颜色鲜明
- 移动优先:70%以上流量来自移动端;关闭/行动号召按钮适合拇指操作
技术
- - 桌面端:1920x600px保持内容在首屏;16:9常见比例
- 移动端:800x1200px(2:3竖屏);使用独立素材,不缩放
- 性能:优化图片;过大的横幅影响LCP和SEO
避免事项
- - 拥挤的页眉;为导航和Logo留出空间
- 过多的行动号召;只保留一个主要操作
- 过时的信息;每2-4周更新一次
输出格式
- - 信息和行动号召文案
- 位置(顶部粘性、页眉下方)
- 定向(全部用户 vs 细分用户)
- 设计说明(对比度、移动端适配)
相关技能
- - 折扣营销策略:促销/折扣策略;横幅展示折扣码;兑换率提升30-50%
- 教育计划:学生折扣横幅(P1位置);学生:X%折扣文案
- 定价页面生成器:折扣横幅支持定价页面;特殊计划、促销位置
- 行动号召生成器:横幅行动号召设计
- 新闻通讯注册生成器:横幅中的线索获取
- 品牌视觉生成器:横幅的颜色、字体
- 导航菜单生成器:横幅位于导航上方或与之集成