refactor(layout): unify mobile and desktop navigation and fix layout spacing

- Sync `MobileNav` items and icons with desktop `Sidebar` for consistency.
- Standardize menu icons using `lucide-react` across all navigation components.
- Add a spacer div in `main-layout.tsx` to ensure proper bottom spacing between content and the fixed footer.
- Remove redundant 'aria-hidden' attribute in `MobileNav` to fix accessibility warnings.
- Fix 'Logout' button layout in mobile menu for better responsiveness.
This commit is contained in:
seriouselly
2026-06-08 21:32:52 +07:00
parent 4a44d21e66
commit d7a145f18f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
export function Footer() {
return (
<footer className="h-22 shrink-0 border-t bg-[#ECF4E8] flex items-center justify-center">
<footer className="h-18 shrink-0 border-t bg-[#ECF4E8] flex items-center justify-center">
<div className="mx-auto max-w-5xl px-6 py-6 text-sm text-muted-foreground text-center">
© 2026 ZeaVis Edu - AI for Smart Education
</div>
+1 -1
View File
@@ -114,7 +114,7 @@ export function Sidebar() {
{/* Logout Button */}
<div
className={`h-22 px-5 border-t border-white/10 shrink-0 flex items-center ${isSidebarOpen ? "" : "justify-center"}`}
className={`h-18 px-5 border-t border-white/10 shrink-0 flex items-center ${isSidebarOpen ? "" : "justify-center"}`}
>
<Link
to="/logout"