import { For } from "solid-js"; import type { JSX } from "solid-js"; import { cn } from "~/lib/utils"; import PageContainer from "~/components/layout/PageContainer"; interface Step { number: number; title: string; description: string; icon: () => JSX.Element; } function EnrollIcon() { return ( ); } function MonitorIcon() { return ( ); } function AlertIcon() { return ( ); } const steps: Step[] = [ { number: 1, title: "Enroll Your Identity", description: "Sign up and add your emails, phone numbers, and family members to create your protection profile.", icon: EnrollIcon, }, { number: 2, title: "We Monitor 24/7", description: "Our system runs continuous dark web scans, voiceprint detection, and spam filtering to catch threats early.", icon: MonitorIcon, }, { number: 3, title: "Get Instant Alerts", description: "Receive real-time notifications the moment a threat is detected, with clear guidance on what to do next.", icon: AlertIcon, }, ]; interface StepBlockProps { step: Step; index: number; } function StepBlock(props: StepBlockProps) { const isEven = props.index % 2 === 0; const Icon = props.step.icon; return (
Step {props.step.number}

{props.step.title}

{props.step.description}

); } interface HowItWorksSectionProps { class?: string; } export default function HowItWorksSection(props: HowItWorksSectionProps) { return (

How It Works

Three simple steps to full identity protection

{(step, index) => }
); }