mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-08-10 17:00:12 +00:00
feat: add Password Security feature with scanning and reporting capabilities
This commit is contained in:
@@ -17,11 +17,13 @@ import {
|
||||
LayoutGrid,
|
||||
Pencil,
|
||||
ShieldUser,
|
||||
ShieldCheck,
|
||||
Star,
|
||||
StickyNote,
|
||||
Trash2,
|
||||
X,
|
||||
} from 'lucide-preact';
|
||||
import { Link } from 'wouter';
|
||||
import type { Folder } from '@/lib/types';
|
||||
import { t } from '@/lib/i18n';
|
||||
import { getFolderSortOptions, type SidebarFilter, type VaultSortMode } from '@/components/vault/vault-page-helpers';
|
||||
@@ -95,6 +97,9 @@ export default function VaultSidebar(props: VaultSidebarProps) {
|
||||
</div>
|
||||
)}
|
||||
<div className="sidebar-block">
|
||||
<Link href="/security/password-health" className="tree-btn">
|
||||
<ShieldCheck size={14} className="tree-icon" /> <span className="tree-label">{t('nav_password_security')}</span>
|
||||
</Link>
|
||||
<button type="button" className={`tree-btn ${props.sidebarFilter.kind === 'all' ? 'active' : ''}`} onClick={() => props.onChangeFilter({ kind: 'all' })}>
|
||||
<LayoutGrid size={14} className="tree-icon" /> <span className="tree-label">{t('txt_all_items')}</span>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user