--- import StatsBig from "../components/ui/blocks/StatsBig.astro"; import StatsSmall from "../components/ui/blocks/StatsSmall.astro"; const { title, subTitle } = Astro.props; interface Props { title: string; subTitle: string; } /* TypeScript type for testimonials. */ type Stat = { stat: string; description: string; }; /* An array of testimonials, each being an object that conforms to the above `Testimonial` type. */ const stats: Stat[] = [ { stat: "99.8%", description: "project completion rate", }, { stat: "5,000+", description: "successful installations", }, { stat: "85%", description: "client growth year-over-year", }, ]; ---
{subTitle}