diff --git a/site/src/components/Footer.astro b/site/src/components/Footer.astro index 1b800e74..39601072 100644 --- a/site/src/components/Footer.astro +++ b/site/src/components/Footer.astro @@ -9,6 +9,7 @@ const groups: { title: string; links: { label: string; href: string }[] }[] = [ { label: 'Sending engine', href: '/sending/' }, { label: 'Unified inbox', href: '/inbox/' }, { label: 'Campaigns', href: '/campaigns/' }, + { label: 'Automations', href: '/automations/' }, { label: 'Analytics', href: '/analytics/' }, { label: 'CRM', href: '/crm/' }, { label: 'API & Webhooks', href: '/developers/' }, diff --git a/site/src/components/Header.astro b/site/src/components/Header.astro index 4f67c1f6..28e532ea 100644 --- a/site/src/components/Header.astro +++ b/site/src/components/Header.astro @@ -10,6 +10,16 @@ const { onSky = false } = Astro.props; const path = Astro.url.pathname; +// Featured product: rendered as a full-width row above the grid, with a +// miniature trigger -> if -> action flow as its visual. +const productFeatured = { + icon: 'zap', + href: '/automations/', + title: 'Automations', + desc: 'When a reply lands: open the deal, ping Slack, update the CRM. A visual builder for every Warmbly event.', + tag: 'Orchestration', +}; + // Product mega-menu items (6 meaningful products) const products = [ { icon: 'flame', href: '/warmup/', title: 'Warmup', desc: 'Reputation-safe pools and gradual ramps that earn placement, not just inflate it.', tag: 'Deliverability' }, @@ -38,17 +48,19 @@ type NavItem = { megaTitle?: string; megaTagline?: string; megaItems?: MegaItem[]; + megaFeatured?: MegaItem; }; const nav: NavItem[] = [ { label: 'Product', href: '/warmup/', - match: '/warmup|/developers|/inbox|/campaigns|/analytics|/crm', + match: '/warmup|/developers|/inbox|/campaigns|/analytics|/crm|/automations', mega: true, megaTitle: 'The cold-email platform.', - megaTagline: 'Six systems designed to work together. Warmup that earns reputation, sending that respects it.', + megaTagline: 'Seven systems designed to work together. Warmup that earns reputation, sending that respects it.', megaItems: products, + megaFeatured: productFeatured, }, { label: 'Use cases', @@ -124,8 +136,59 @@ function active(match?: string) { - -
+ +
+ {n.megaFeatured && (() => { + const f = n.megaFeatured; + const isCurrent = path === f.href || path.startsWith(f.href); + return ( + + + {f.tag} + + {f.title} + {isCurrent && } + + {f.desc} + + + {/* miniature flow: trigger -> if -> actions, same node language as the app */} + + + + Open + + + + ); + })()} +
{(n.megaItems ?? []).map((it, i) => { const isCurrent = path === it.href || path.startsWith(it.href); const colBreak = (i + 1) % 3 !== 0; @@ -150,6 +213,7 @@ function active(match?: string) { ); })} +
@@ -255,7 +319,7 @@ function active(match?: string) {