import React from 'react'; import { Box, Flex, Grid } from '@chakra-ui/react'; import { useTranslation } from 'next-i18next'; const FAQ = () => { const { t } = useTranslation(); const faqs = [ { title: t('common:FAQ.switch_package_q'), desc: t('common:FAQ.switch_package_a') }, { title: t('common:FAQ.check_subscription_q'), desc: t('common:FAQ.check_subscription_a') }, { title: t('common:FAQ.ai_point_q'), desc: t('common:FAQ.ai_point_a') }, { title: t('common:FAQ.ai_point_expire_q'), desc: t('common:FAQ.ai_point_expire_a') }, { title: t('common:FAQ.dataset_compute_q'), desc: t('common:FAQ.dataset_compute_a') }, { title: t('common:FAQ.dataset_index_q'), desc: t('common:FAQ.dataset_index_a') }, { title: t('common:FAQ.package_overlay_q'), desc: t('common:FAQ.package_overlay_a') }, { title: t('common:FAQ.free_user_clean_q'), desc: t('common:FAQ.free_user_clean_a') } ]; return ( {t('common:support.wallet.subscription.FAQ')} {faqs.map((item, i) => ( {item.title} {item.desc} ))} ); }; export default FAQ;