import Link from "next/link"; import { useEffect, useState } from "react"; import { useTranslation } from "react-i18next"; import { LuChevronRight, LuShieldCheck } from "react-icons/lu"; import { Accordion, AccordionContent, AccordionItem, AccordionTrigger, } from "@/lib/components/ui/Accordion"; import Button from "@/lib/components/ui/Button"; import { securityQuestionsExamples } from "./data/securityQuestions"; import { SecurityQuestion } from "./types"; export const SecuritySection = (): JSX.Element => { const { t } = useTranslation("home", { keyPrefix: "security", }); const [securityQuestions, setSecurityQuestions] = useState< SecurityQuestion[] >([]); useEffect(() => { setSecurityQuestions(securityQuestionsExamples); }, []); return ( <>