--- import { Image } from "astro:assets"; import product5 from "@images/features-image.avif"; // Define props from Astro const { title, subTitle, benefits } = Astro.props; // Define TypeScript interface for props interface Props { title: string; subTitle?: string; benefits?: Array; } // Define SVG marker to be used in the component const ListItemMarker: string = ``; ---
Mockup of floating boxes

{title}

{ subTitle && (

{subTitle}

) }
{ benefits && (
    {benefits.map((item) => (
  • {item}
  • ))}
) }