ProductMarketingTemplate
Reusable server-friendly layout for standalone product marketing pages. Deliberately avoids interactive demos; consumers pass structured copy and optional slots.
Exported types
| Type | Role |
|---|---|
ProductFeature | Icon, title, description, optional highlights[] bullet list |
ProductLink | CTA label, URL, variant (primary | secondary | github | external), optional icon |
ProductMarketingProps | Full page payload (hero, features, links, optional tech stack, stats, testimonial, children) |
Sections (render order)
- Hero — optional emoji/icon, title, tagline, description, CTA row (all links open in a new tab with
noopener noreferrer). - Stats — optional metric cards when
statsis non-empty. - Features — grid of feature cards with optional highlight bullets.
- Tech stack — when
techStackis set, rendersProductTechStackviaproductTechStackItems. - Testimonial — blockquote plus author/role.
- Custom — arbitrary
childreninproduct-marketing__custom.
Styles: ProductMarketingTemplate.css plus shared product-detail.css from the stream suite folder.
Sources: src/app/components/marketing/ProductMarketingTemplate.tsx, src/app/strixun-stream-suite/ProductTechStack.tsx