import { devices, equipmentNote } from '../data/content' import { useReveal } from '../hooks/useReveal' import { cx } from '../lib/cx' import { CheckIcon } from './Icons' import { Container, Section, SectionHead } from './Layout' import { Rail } from './Rail' /** * Product shots differ in framing, so the last stylesheet pass in the original * sized two of them separately. Keyed by the device title. */ const mediaFit: Record = { ЭкзоИмпульс: 'max-w-[88%] max-h-[88%] translate-y-[10px]', 'ЭкзоЛазер В': 'max-w-[82%] max-h-[82%] max-[720px]:max-w-[86%] max-[720px]:max-h-[86%]', } const defaultFit = 'max-w-[86%] max-h-[86%] translate-y-[8px]' /** The laser shot is padded evenly instead of being nudged up off the base. */ const mediaBox: Record = { 'ЭкзоЛазер В': 'p-[20px]', } const defaultBox = 'px-[18px] pt-[18px] pb-[14px]' export function EquipmentSection() { const track = useReveal() const note = useReveal() return (
{devices.map((device) => (
{device.alt}
{device.kicker}

{device.title}

{device.indications}

{device.role}
))}
svg]:size-[20px] [&>svg]:shrink-0 [&>svg]:text-teal-bright', note.revealClass, )} > {equipmentNote}
) }