diff --git a/apps/desktop-ui/src/components/bcrypt-generator/bcrypt-generator-layout.tsx b/apps/desktop-ui/src/components/bcrypt-generator/bcrypt-generator-layout.tsx index 819bdfe6..7a9bb2cb 100644 --- a/apps/desktop-ui/src/components/bcrypt-generator/bcrypt-generator-layout.tsx +++ b/apps/desktop-ui/src/components/bcrypt-generator/bcrypt-generator-layout.tsx @@ -4,7 +4,6 @@ import React, { useCallback, useEffect, useRef, useState } from 'react' import { useTranslations } from 'next-intl' import { useCopyToClipboard } from '@/hooks/use-copy-to-clipboard' import { Button } from '@/components/ui/button' -import { Card } from '@/components/ui/card' import { Input } from '@/components/ui/input' import { Label } from '@/components/ui/label' import { Badge } from '@/components/ui/badge' @@ -23,9 +22,7 @@ import { TriangleAlert, } from 'lucide-react' import { IconShieldLock } from '@tabler/icons-react' -import { ToolPageHeader } from '@/components/tools/tool-page-header' -import { RevealItem } from '@/components/dashboard/dashboard-reveal' -import { CATEGORY_ACCENT } from '@/components/dashboard/types' +import { ToolShell } from '@/components/tools/tool-shell' import { hashPassword, parseBcryptHash, @@ -323,20 +320,13 @@ export function BcryptGeneratorLayout() { const t = useTranslations('BcryptGenerator') return ( -
{t('pbkdf2Hint')}
-{t('pbkdf2Hint')}
+{errEncrypt}
} - > - ) : ( - <> -{t('decryptKeyHint')}
-{t('securityNote')}
+{t('decryptKeyHint')}
+{errDecrypt}
} - > - )} - +
- {bundleJson || {t('emptyBundleHint')}}
-
- >
- ) : (
- <>
- {t('securityNote')}
-{t('securityNote')}
+{chunks},
- })}
- accent={CATEGORY_ACCENT.Security}
- />
- {chunks},
+ })}
+ >
+ @@ -142,7 +138,7 @@ function BlockCard({
{chunks},
- })}
- accent={CATEGORY_ACCENT.Security}
- />
- {t('parsing')}
+{t('parsing')}
)} {errorKey && input.trim() && !busy && ({t(`errors.${errorKey}` as 'errors.empty')}