import { useTranslation } from '@shared/i18n/react'
import { Link } from 'react-router'
import { GITHUB_RELEASES_URL } from '@features/download/api'
import '@features/landing/styles/landing.css'
import '@features/landing/styles/sections.css'
const KEYS = ['1', '2', '3', '4', '5'] as const
function DownloadIcon() {
return (
)
}
/** Plain FAQ list, then the page closes on a full-width download band in the page accent. */
export function FaqDownload() {
const { t } = useTranslation('landing')
const items = KEYS.map((k) => ({ q: t(`faq.q${k}`), a: t(`faq.a${k}`) }))
return (
<>
{t('faq.title')}
{items.map((it) => (
{it.q}
{it.a}
))}
{t('faq.downloadTitle')}
{t('faq.downloadLead')}
{t('faq.downloadNote')}
>
)
}