Sure, no code changes between the two pictures. Including just the left side of the nav bar:
navbar = dbc.Navbar(
dbc.Container(
[
dbc.Row(
[
dbc.Col(
[
html.Img(
src=dash.get_asset_url("8knot-logo-vertical.png"),
height="40px",
),
dbc.NavbarBrand(
"8Knot",
id="navbar-title",
className="ms-2",
),
],
width={"size": "auto"},
),
dbc.Col(
[
dbc.Nav(
[
dbc.NavLink("Welcome", href="/", active="exact"),
dbc.NavLink(
"Contributions",
href="/contributions",
active="exact",
),
dbc.DropdownMenu(
[
dbc.DropdownMenuItem(
"Behavior",
href="/contributors/behavior",
),
dbc.DropdownMenuItem(
"Contribution Types",
href="/contributors/contribution_types",
),
],
label="Contributors",
nav=True,
),
dbc.NavLink(
"Affiliation",
href="/affiliation",
active="exact",
),
dbc.NavLink("CHAOSS", href="/chaoss", active="exact"),
dbc.NavLink("Info", href="/info", active="exact"),
],
navbar=True,
)
],
width={"size": "auto"},
),
],
align="center",
className="g-0",
justify="start",
),
],
fluid=True,
),
color="primary",
dark=True,
sticky="top",
)