2023-05-15 15:57:46 +02:00
|
|
|
import { Popout } from 'shared/components/popout.mjs'
|
|
|
|
import { PageLink } from 'shared/components/page-link.mjs'
|
|
|
|
import { useTranslation } from 'next-i18next'
|
|
|
|
import { RightIcon } from 'shared/components/icons.mjs'
|
|
|
|
|
2023-05-15 20:00:45 +02:00
|
|
|
export const ns = ['docs']
|
2023-05-15 15:57:46 +02:00
|
|
|
|
|
|
|
export const ControlTip = () => {
|
|
|
|
const { t } = useTranslation(ns)
|
|
|
|
|
|
|
|
return (
|
|
|
|
<Popout note>
|
2023-05-15 20:00:45 +02:00
|
|
|
<h5>{t('controltip.t')}</h5>
|
2023-05-15 15:57:46 +02:00
|
|
|
<p dangerouslySetInnerHTML={{ __html: t('controltip.d1') }} />
|
|
|
|
<p>
|
|
|
|
{t('controltip.d2')}
|
|
|
|
<br />
|
|
|
|
{t('controltip.d3')}
|
|
|
|
</p>
|
|
|
|
<div className="flex flex-row gap-1 items-center">
|
2023-05-15 20:00:45 +02:00
|
|
|
<PageLink href="/account/" txt={t('account')} />
|
2023-05-15 15:57:46 +02:00
|
|
|
<RightIcon className="w-4 h-4" />
|
2023-05-15 20:00:45 +02:00
|
|
|
<PageLink href="/account/control/" txt={t('controltip.t')} />
|
2023-05-15 15:57:46 +02:00
|
|
|
</div>
|
|
|
|
</Popout>
|
|
|
|
)
|
|
|
|
}
|