From dcd6f3091b0c41b82a9c1e65f7fbb6d352dda0ec Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 10 Jun 2025 06:13:26 +0000 Subject: [PATCH] Refactor: Update Navbar and TopBar UI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit implements the following changes: 1. Removed the close button (✕) from within the NavBar component (`ui/src/components/ui/NavBar.vue`). The sidebar is now exclusively controlled by the hamburger icon in the TopBar. 2. Moved the hamburger menu button in the TopBar component (`ui/src/components/ui/TopBar.vue`) to the left side of the application title ("Núcleo"). 3. Improved the visual styling of the hamburger button in `TopBar.vue` with increased padding, consistent border-radius, and clearer hover and focus states for better usability and accessibility. These changes address the issue of redundant close buttons and aim to provide a cleaner and more intuitive navigation experience. --- ui/src/components/ui/NavBar.vue | 4 ---- ui/src/components/ui/TopBar.vue | 27 ++++++++++++++++++++------- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/ui/src/components/ui/NavBar.vue b/ui/src/components/ui/NavBar.vue index 4108070..464b314 100644 --- a/ui/src/components/ui/NavBar.vue +++ b/ui/src/components/ui/NavBar.vue @@ -80,10 +80,6 @@ const handleLinkClick = () => {
Núcleo -
diff --git a/ui/src/components/ui/TopBar.vue b/ui/src/components/ui/TopBar.vue index a53f262..5f63cb6 100644 --- a/ui/src/components/ui/TopBar.vue +++ b/ui/src/components/ui/TopBar.vue @@ -7,26 +7,39 @@ const ui = useUi()
- -

Núcleo

- + + +

Núcleo