This commit is contained in:
Zuev
2026-10-02 04:07:56 +03:00
parent 97bf3cc50a
commit fc5801d683
42 changed files with 1201 additions and 305 deletions

View File

@@ -0,0 +1,16 @@
export function SidebarToggle({ open, onClick }) {
return (
<button
type="button"
className="btn btn-icon-md btn-secondary menu-toggle"
aria-label={open ? 'Закрыть меню' : 'Открыть меню'}
aria-expanded={open}
aria-controls="app-sidebar"
onClick={onClick}
>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" aria-hidden="true">
<path d="M3 6h18M3 12h18M3 18h18" />
</svg>
</button>
);
}