gorkem-bwl
487f6b222d
refactor: extract sidebar width logic into useSidebar hook
...
Create shared useSidebar hook to centralize sidebar width and transition
logic, addressing code review feedback about duplicated logic between
Sidebar and HomeLayout components.
Changes:
- Add useSidebar hook with collapsed state, width, and transition values
- Update Sidebar to use the hook instead of inline selectors and values
- Update HomeLayout to use the hook for spacer element styling
This ensures sidebar width logic is defined in one place and stays in sync.
2026-01-18 14:11:05 -05:00
..
2026-01-15 23:39:26 -05:00
2026-01-16 07:31:23 -05:00
2025-09-27 14:54:55 -07:00
2026-01-15 23:37:50 -05:00
2026-01-15 23:37:50 -05:00
2025-09-27 14:54:55 -07:00
2025-09-27 14:54:55 -07:00
2025-09-27 14:54:55 -07:00
2026-01-12 23:57:39 +00:00
2026-01-16 07:31:23 -05:00
2025-09-27 14:54:55 -07:00
2026-01-15 23:39:26 -05:00
2025-09-27 14:54:55 -07:00
2025-09-27 14:54:55 -07:00
2025-09-27 14:54:55 -07:00
2025-09-27 14:54:55 -07:00
2025-09-27 14:54:55 -07:00
2026-01-15 23:37:50 -05:00
2025-12-18 12:47:01 -05:00
2025-09-27 14:54:55 -07:00
2025-09-27 14:54:55 -07:00
2026-01-15 20:44:51 -05:00
2025-09-27 14:54:55 -07:00
2026-01-15 18:06:40 -05:00
2026-01-16 07:34:03 -05:00
2025-09-27 14:54:55 -07:00
2025-09-27 14:54:55 -07:00
2025-09-27 14:54:55 -07:00
2026-01-15 23:39:26 -05:00
2025-11-12 09:58:38 -06:00
2026-01-18 14:11:05 -05:00
2025-09-27 14:54:55 -07:00
2026-01-15 23:39:26 -05:00
2025-09-27 14:54:55 -07:00
2025-09-27 14:54:55 -07:00
2026-01-15 23:39:26 -05:00
2025-09-27 14:54:55 -07:00
2026-01-15 23:37:50 -05:00
2025-09-27 14:54:55 -07:00
2026-01-12 23:57:39 +00:00
2026-01-15 23:39:26 -05:00
2026-01-15 23:39:26 -05:00
2025-09-27 14:54:55 -07:00
2025-09-27 14:54:55 -07:00
2026-01-15 23:39:26 -05:00
2026-01-18 14:11:05 -05:00
2025-09-27 14:54:55 -07:00
2025-09-27 14:54:55 -07:00
2026-01-15 23:39:26 -05:00
2026-01-12 23:57:39 +00:00
2025-09-27 14:54:55 -07:00
2025-09-27 14:54:55 -07:00
2025-09-27 14:54:55 -07:00
2026-01-15 23:39:26 -05:00
2025-09-27 14:54:55 -07:00
2025-09-27 14:54:55 -07:00
2026-01-16 07:31:23 -05:00