Skip to content

Commit

Permalink
add logo + favicon and update title and color scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssadai committed Nov 21, 2023
1 parent 272eb3b commit b5bd634
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
Binary file added digest/assets/favicon.ico
Binary file not shown.
Binary file added digest/assets/neurobagel_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 19 additions & 10 deletions digest/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,21 @@ def navbar():
dbc.Container(
[
dbc.Row(
dbc.Col(
dbc.NavbarBrand(
"Neuroimaging Dataset Derivatives Status Dashboard"
)
),
[
dbc.Col(
html.Img(
src="/assets/neurobagel_logo.png",
height="30px",
)
),
dbc.Col(
dbc.NavbarBrand(
"Neuroimaging and phenotypic dataset exploration"
)
),
],
align="center",
className="g-3",
),
dbc.Row(
dbc.Col(
Expand All @@ -55,8 +64,7 @@ def navbar():
],
fluid=True,
),
color="dark",
dark=True,
color="light",
)

return navbar
Expand All @@ -68,7 +76,7 @@ def upload_buttons() -> list:
id={"type": "upload-data", "index": "imaging", "btn_idx": 0},
children=dbc.Button(
"Drag & Drop or Select an Imaging CSV File",
color="secondary",
color="light",
),
multiple=False,
)
Expand All @@ -77,7 +85,7 @@ def upload_buttons() -> list:
id={"type": "upload-data", "index": "phenotypic", "btn_idx": 1},
children=dbc.Button(
"Drag & Drop or Select a Phenotypic CSV File",
color="secondary",
color="light",
),
multiple=False,
)
Expand All @@ -97,7 +105,8 @@ def sample_data_button():
"""Generates the button to view sample input files."""
return dbc.Button(
"Example input files",
color="light",
color="dark",
outline=True,
href="https://github.com/neurobagel/digest/blob/main/example_bagels",
target="_blank", # open external site in new tab
)
Expand Down

0 comments on commit b5bd634

Please sign in to comment.