EnCiv / civil-pursuit

Other
8 stars 9 forks source link

TopNavBar layout handling + adjustments #183

Open justin-b-yee opened 3 months ago

justin-b-yee commented 3 months ago

Specs

We want to more easily configure adding components to the navbar, along with a few adjustments. Add a new prop sideButtons to take a list of components. These components will be rendered on the right side in the order they were provided from left-to-right.

Dependencies

Note: The component changes can be worked on without these - these are just needed for the final enciv home navbar change.

<TopNavBar
    ... // existing props
    sideButtons = [],
>

Tasks

Civil Pursuit Repo

Enciv Home Repo

Figma

Image

Image

ddfridley commented 3 months ago

@justin-b-yee I added something for the condensed mode. Take a look. I moved it to todo but you can still edit if necessary.