Skip to content

feat(navbar): add customization options for logo variant, divider sty…#128

Open
alejandro-diazro wants to merge 1 commit intoivaoaero:mainfrom
alejandro-diazro:feature/navbar-enhancements
Open

feat(navbar): add customization options for logo variant, divider sty…#128
alejandro-diazro wants to merge 1 commit intoivaoaero:mainfrom
alejandro-diazro:feature/navbar-enhancements

Conversation

@alejandro-diazro
Copy link

Changes

Enhanced the Navbar component with new customization options to provide more flexibility.

New Features

  • logoVariant prop: Control logo display style

    • undefined (default): Responsive behavior - icon on mobile, full logo on desktop
    • 'icon-only': Always show only the icon regardless of screen size
  • diagonalDivider prop: Toggle divider style

    • false (default): Straight vertical divider
    • true: Diagonal divider with 12 degree rotation
  • title prop type changed from string to ReactNode

    • Allows custom styling and formatting of the title text
    • Enables passing components, styled elements, etc.
image

@changeset-bot
Copy link

changeset-bot bot commented Feb 17, 2026

🦋 Changeset detected

Latest commit: 3b4c302

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@ivao/atmosphere-react Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@im-alfa im-alfa requested review from CptnJon, Tchekda and wolfmaster8 and removed request for wolfmaster8 February 17, 2026 16:29
Copy link
Collaborator

@CptnJon CptnJon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Only thing is the width-height but I can imagine why it might be required but I can't test it right now :)

)}
<div
className={cn(
'h-8 w-0.5 bg-ocean-400 dark:bg-fuselage-400',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the change for height and width required?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you were to add the logo function on its own, the dividing line would end up looking quite unbalanced. By tweaking these dimensions, you ensure much better visual consistency between the logo and the line. It creates a more harmonious look because the line thickness and the overall height align more naturally with the logo's proportions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants