"use client"; import type { ReactNode } from "react"; import { IoTimeOutline } from "react-icons/io5"; import Button from "./button"; type TestIntroPageProps = { title: string; estimateTime: string; description: string; bulletPoints?: readonly string[]; disclaimerText: string; startLabel: string; onStart: () => void; children?: ReactNode; }; export default function TestIntroPage({ title, estimateTime, description, bulletPoints = [], disclaimerText, startLabel, onStart, children, }: TestIntroPageProps) { return (
{/* Hero Image */}
{/* Disclaimer Card */}

{disclaimerText}

{/* Test Info Section */}

{title}

{/* Estimate Time */}
{description}: {estimateTime}
{/* Bullet Points */} {children ? (
{children}
) : bulletPoints.length > 0 ? ( ) : null}
{/* Spacer */}
{/* Start Button */}
); }