I'll make these changes by removing "MedDashboard" from the top nav and integrating a compact version of the OMS connect banner in the center.
I've made the requested changes to move the OMS connect banner into the top navigation bar:
Removed "MedDashboard" Title:
Integrated Banner into TopNavigation:
Simplified State Management:
showBanner stateResponsive Design:
Visual Styling:
Simplified Messaging:
The banner now appears as a compact, pill-shaped element in the center of the top navigation bar, making efficient use of the previously empty space while maintaining all functionality.
I'll update the banner to use a more boxy design consistent with shadcn components and ensure it stays centered.
I've updated the banner in the top navigation to use a more boxy design consistent with shadcn components and ensured it stays centered.
Boxy Design:
rounded-full to just rounded to match the standard shadcn component styleImproved Centering:
flex justify-center on the center section to keep the banner centered within itConsistent Styling:
This approach ensures the banner stays centered in the top navigation regardless of the content on either side, while using a design language that's consistent with the rest of the shadcn components in the application.