mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-28 02:18:01 -04:00
* you know, you could just work on first try * fix extension * configure plugin and fix few translation issues * more * more keys * and more * more keys and sort * commit msg * we like keys here * end my suffering * jk i just love keys * key fix * add turkish * add german * Entendido * Demnächst * Mettre une étoile sur GitHub * 成功 * pnpm-lock * vite plugin * remove i18next backends --------- Co-authored-by: Brendan Allan <brendonovich@outlook.com>
27 lines
812 B
TypeScript
27 lines
812 B
TypeScript
import { Button, Tooltip } from '@sd/ui';
|
|
import { Icon } from '~/components';
|
|
import { useLocale } from '~/hooks';
|
|
|
|
export function KeyManager() {
|
|
const { t } = useLocale();
|
|
// const isUnlocked = useLibraryQuery(['keys.isUnlocked']);
|
|
// const isSetup = useLibraryQuery(['keys.isSetup']);
|
|
|
|
return (
|
|
<div className="flex h-full max-w-[300px] flex-col">
|
|
<div className="flex w-full flex-col items-center p-4">
|
|
<Icon name="Keys" size={56} />
|
|
<span className="text-lg font-bold">{t('key_manager')}</span>
|
|
<span className="mt-2 text-center text-ink-dull">
|
|
{t('key_manager_description')}
|
|
</span>
|
|
<Tooltip className="w-full" label="Coming soon!">
|
|
<Button disabled className="mt-4 w-full" variant="accent">
|
|
{t('setup')}
|
|
</Button>
|
|
</Tooltip>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|