import { DecimalsArrowRight, Languages, Percent, Pilcrow, Superscript, WholeWord, } from "lucide-react"; import { Card, CardContent } from "../../../components/ui/card"; import { useState } from "react"; import { useAuthStore } from "../../../stores/authStore"; import { useNavigate } from "react-router-dom"; import { useExamConfigStore } from "../../../stores/useExamConfigStore"; type Module = "EBRW" | "MATH" | null; export const HardTestModules = () => { const user = useAuthStore((state) => state.user); const navigate = useNavigate(); const [selected, setSelected] = useState(null); const { setMode, storeDuration, setSection } = useExamConfigStore(); function handleStartModule() { if (!user) return; (setMode("MODULE"), storeDuration(7), setSection(selected)); navigate(`/student/practice/${selected}/test`, { replace: true }); } return (

Hard Test Modules

Tackle hard practice test modules by selecting a section.

setSelected((prev) => (prev === "EBRW" ? null : "EBRW")) } className={`relative cursor-pointer overflow-hidden transition ${ selected === "EBRW" ? "ring-2 ring-blue-500 scale-[1.02]" : "hover:scale-[1.01]" } bg-linear-to-br from-blue-400 to-blue-600 `} >

Reading & Writing

setSelected((prev) => (prev === "MATH" ? null : "MATH")) } className={`relative cursor-pointer overflow-hidden transition ${ selected === "MATH" ? "ring-2 ring-rose-500 scale-[1.02]" : "hover:scale-[1.01]" } bg-linear-to-br from-rose-400 to-rose-600 `} >

Mathematics

{selected && (
)}
); };