"use client"; import { ReactNode } from "react"; import { useTranslation } from "react-i18next"; import { GiArtificialIntelligence, GiBrain, GiDatabase, GiFastArrow, GiLockedDoor, GiOpenBook, } from "react-icons/gi"; import Card from "@/lib/components/ui/Card"; const Features = (): JSX.Element => { const { t } = useTranslation(); return ( {t("features")} {/* Change the way you take notes */} } title={t("two_brains_title")} desc={t("two_brains_desc")} /> } title={t("any_kind_of_data_title")} desc={t("any_kind_of_data_desc")} /> } title={t("fast_and_accurate_title")} desc={t("fast_and_accurate_desc")} /> } title={t("fast_and_efficient_title")} desc={t("fast_and_efficient_desc")} /> } title={t("secure_title")} desc={t("secure_desc")} /> } title={t("open_source_title")} desc={t("open_source_desc")} /> ); }; interface FeatureProps { icon?: ReactNode; title: string; desc: string; } const Feature = ({ title, desc, icon }: FeatureProps): JSX.Element => { return ( {icon} {title} {desc} ); }; export default Features;
{desc}