"use client"; import { memo } from "react"; import NumberedCard from "./NumberedCard"; import SectionHeader from "./SectionHeader"; import Button from "./Button"; import { useSchemaData } from "../hooks"; interface Card { text: string; iconShape?: string; iconColor?: string; } interface NumberedCardsProps { title: string; subtitle: string; cards: Card[]; } const NumberedCards = memo(({ title, subtitle, cards }) => { // Generate schema data using hook const schemaData = useSchemaData({ type: "HowTo", name: title, description: subtitle, steps: cards.map((card) => ({ name: card.text, text: card.text, })), }); return ( <>