-
Notifications
You must be signed in to change notification settings - Fork 0
/
navbar.py
36 lines (33 loc) · 1.18 KB
/
navbar.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from dash.dependencies import Input, Output, State
import dash_bootstrap_components as dbc
import dash_html_components as html
from app import app
EQ_LOGO = "https://equadratures.org/_static/logo_new.png"
navbar = dbc.Navbar(
dbc.Container(
[
html.A(
# Use row and col to control vertical alignment of logo / brand
dbc.Row(
[
dbc.Col(html.Img(src=EQ_LOGO, height="40px")),
],
align="center",
no_gutters=True,
),
href="https://equadratures.org/",
),
dbc.Nav(
[
dbc.NavItem(dbc.NavLink("Introduction", href="/",active='exact',className='px-3')),
dbc.NavItem(dbc.NavLink("Flowfield Estimation", href="/flowfield", active='exact',className='px-3')),
dbc.NavItem(dbc.NavLink("My Data", href="/datadriven",active='exact',className='px-3'))
], className="ml-auto", navbar=True, fill=True
),
], fluid=True
),
color="white",
dark=False,
className="mb-0",
fixed='top'
)