import * as React from "react" import { cn } from "@/lib/utils" type InfoStripItem = { /** self-contained visual (asset-kit render / icon) */ media: React.ReactNode eyebrow: React.ReactNode title: React.ReactNode } /** * Wide white strip directly under a hero: hairline-divided columns (2 up on * mobile, 3 from `sm`, 5 from `lg`), each a glass render over a teal eyebrow * and a navy title. Dividers are drawn per column for the current layout so * they stay inset from the card's padding. */ function InfoStrip({ items, className, }: { items: InfoStripItem[] className?: string }) { return (
{items.map((item, i) => (
= 2 ? "border-t border-border" : "border-t-0", /* … the 3-up layout … */ i % 3 !== 0 ? "sm:border-l" : "sm:border-l-0", i >= 3 ? "sm:border-t" : "sm:border-t-0", /* … and the 5-up layout */ i % 5 !== 0 ? "lg:border-l" : "lg:border-l-0", "lg:border-t-0" )} > {item.media}

{item.eyebrow}

{item.title}
))}
) } export { InfoStrip } export type { InfoStripItem }