import { Box } from "@12-apps/ui/mui/Box"; import { Text } from "@12-apps/ui/typography/Text"; import type { AiCapability } from "../guide"; import type { AiCapabilitiesCopy } from "./copy"; import { CapabilityIcon } from "./ai-icons"; /** One marketing card: an icon, a headline and an example prompt (as a bubble). */ function CapabilityCard({ capability }: { capability: AiCapability }): React.JSX.Element { return ( {capability.title} {capability.detail} ); } /** * Marketing block for the AI integration: a headline + a responsive grid of * capability cards. Shown on the onboarding landing (before the owner starts) to * sell the feature — "here's what the assistant does for you". `capabilities` * and `copy` are REQUIRED host copy — the package ships no default sentence * (FUT-760). */ export function AiCapabilities({ capabilities, copy, }: { capabilities: readonly AiCapability[]; copy: AiCapabilitiesCopy; }): React.JSX.Element { return ( {copy.heading} {copy.subheading} {capabilities.map((capability) => ( ))} ); }